Commit a8dbb128603fc4584db712c86b45c89249191949
1 parent
77de259f22
Exists in
luanping
and in
1 other branch
#新增南河紫色高危因素:丙肝阳性、乙肝大三阳、乙肝小三阳
Showing 1 changed file with 16 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
View file @
a8dbb12
| ... | ... | @@ -55,7 +55,7 @@ |
| 55 | 55 | // return findNewTestSyncHighRisk(); |
| 56 | 56 | // } |
| 57 | 57 | |
| 58 | - if (CollectionUtils.isEmpty(mainBasicConfigList)) { | |
| 58 | + if (CollectionUtils.isEmpty(mainBasicConfigList)) { | |
| 59 | 59 | BasicConfigQuery basicConfigQuery = new BasicConfigQuery(); |
| 60 | 60 | basicConfigQuery.setEnable(1); |
| 61 | 61 | basicConfigQuery.setTypeId("fb43fd5a-b153-4cb9-9180-c46f5612ba43"); |
| ... | ... | @@ -73,6 +73,21 @@ |
| 73 | 73 | while (basicConfigIterator.hasNext()) { |
| 74 | 74 | BasicConfig basicConfig = basicConfigIterator.next(); |
| 75 | 75 | if (basicConfig.getName().equalsIgnoreCase("高血压(需要药物治疗)")) { |
| 76 | + basicConfigIterator.remove(); | |
| 77 | + } | |
| 78 | + } | |
| 79 | + } | |
| 80 | + /** | |
| 81 | + * 1000000115 南河医院 紫色高危因素里增加 丙肝阳性、乙肝大三阳、乙肝小三阳 特殊处理 | |
| 82 | + */ | |
| 83 | + if (StringUtils.isEmpty(orgId) || !orgId.equalsIgnoreCase("1000000115")){ | |
| 84 | + Iterator<BasicConfig> basicConfigIterator = basicConfigList.iterator(); | |
| 85 | + while (basicConfigIterator.hasNext()) { | |
| 86 | + BasicConfig basicConfig = basicConfigIterator.next(); | |
| 87 | + //丙肝阳性、乙肝大三阳、乙肝小三阳 | |
| 88 | + if (basicConfig.getName().equalsIgnoreCase("丙肝阳性") || | |
| 89 | + basicConfig.getName().equalsIgnoreCase("乙肝大三阳") || | |
| 90 | + basicConfig.getName().equalsIgnoreCase("乙肝小三阳")) { | |
| 76 | 91 | basicConfigIterator.remove(); |
| 77 | 92 | } |
| 78 | 93 | } |