Commit c82a1e61258b1210273d1fcbcde838d5e688f08b

Authored by litao@lymsh.com
1 parent 7154ea93f4

改字段

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java View file @ c82a1e6
... ... @@ -46,7 +46,7 @@
46 46 if(StringUtils.isNotEmpty(key)) {
47 47 query.addCriteria(Criteria.where("value").regex(key));
48 48 }
49   - query.addCriteria(Criteria.where("key").is(hospitalId)).with(new Sort(Sort.Direction.DESC,"createDate"));
  49 + query.addCriteria(Criteria.where("key").is(hospitalId).and("type").is(SequenceConstant.CUSTOM_TYPE)).with(new Sort(Sort.Direction.DESC,"createDate"));
50 50 PageResult pageResult = findMongoPage(PlantformConfigModel.class, query, page, limit);
51 51  
52 52 List<PlantformConfigModel> configModels = (List<PlantformConfigModel>) pageResult.getGrid();