Commit 7154ea93f4569a3da1d56e5e8e82699d9f70fa6e

Authored by litao@lymsh.com
1 parent 08fafd8a55

改字段

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 @ 7154ea9
... ... @@ -109,7 +109,7 @@
109 109 if(StringUtils.isNotEmpty(parentId)) {
110 110 query.addCriteria(Criteria.where("parentId").is(parentId));
111 111 }
112   - query.addCriteria(Criteria.where("key").is(hospitalId)).with(new Sort(Sort.Direction.DESC,"createDate"));
  112 + query.addCriteria(Criteria.where("key").is(hospitalId).and("type").is(SequenceConstant.CUSTOM_CONTENT)).with(new Sort(Sort.Direction.DESC,"createDate"));
113 113 PageResult pageResult = findMongoPage(PlantformConfigModel.class, query, page, limit);
114 114  
115 115 List<PlantformConfigModel> configModels = (List<PlantformConfigModel>) pageResult.getGrid();