Commit 7f1ccd5b017d7e1f41f24bf145667bda1f739806

Authored by litao@lymsh.com
1 parent 3decc7d10c

改字段

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 @ 7f1ccd5
... ... @@ -75,7 +75,7 @@
75 75 public BaseResponse customTypeInit(Integer userId) {
76 76 List<Map<String, Object>> restList = new ArrayList<>();
77 77 String hospitalId = autoMatchFacade.getHospitalId(userId);
78   - List<PlantformConfigModel> plantformConfigModels = mongoTemplate.find(Query.query(Criteria.where("key").is(hospitalId).and("type").is(SequenceConstant.CUSTOM_TYPE)), PlantformConfigModel.class);
  78 + List<PlantformConfigModel> plantformConfigModels = mongoTemplate.find(Query.query(Criteria.where("key").is(hospitalId).and("type").is(SequenceConstant.CUSTOM_TYPE).and("yn").ne("0")), PlantformConfigModel.class);
79 79 for (PlantformConfigModel plantformConfigModel : plantformConfigModels) {
80 80 Map<String, Object> temp = new HashMap<>();
81 81 temp.put("id", plantformConfigModel.getId().toString());