Commit 1eff5297d2e8afef746be61659cbcb919c376b86
1 parent
846f7f8a45
Exists in
master
and in
6 other branches
全部孕妇管理增加按照排序
Showing 1 changed file with 13 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/ResolveUtils.java
View file @
1eff529
... | ... | @@ -34,7 +34,7 @@ |
34 | 34 | content.put("zxqqz", "子痫前期(重)"); |
35 | 35 | content.put("zxmxgxybfzxqq", "子痫慢性高血压并发子痫前期"); |
36 | 36 | content.put("rshbmxgxy", "妊娠合并慢性高血压"); |
37 | - content.put("qt", "其他"); | |
37 | +// content.put("qt", "其他"); | |
38 | 38 | content.put("jsjmj", "假丝酵母菌"); |
39 | 39 | content.put("dc", "滴虫"); |
40 | 40 | |
... | ... | @@ -70,6 +70,9 @@ |
70 | 70 | } |
71 | 71 | } |
72 | 72 | } |
73 | + | |
74 | + sb=handOther(map,sb); | |
75 | + | |
73 | 76 | String bigSB = (sb.append(xsb)).toString(); |
74 | 77 | |
75 | 78 | if (bigSB.contains("其他,")){ |
76 | 79 | |
... | ... | @@ -89,8 +92,14 @@ |
89 | 92 | } |
90 | 93 | |
91 | 94 | |
95 | + private static StringBuilder handOther(Map map,StringBuilder sb){ | |
96 | + String qt= String.valueOf(map.get("qt")); | |
97 | + if("true".equals(qt)){ | |
98 | + sb.append("其他").append(","); | |
99 | + } | |
100 | + return sb; | |
101 | + } | |
92 | 102 | |
93 | - | |
94 | 103 | /** |
95 | 104 | * 解析产科并发症 |
96 | 105 | * @param map |
... | ... | @@ -118,7 +127,7 @@ |
118 | 127 | } |
119 | 128 | } |
120 | 129 | } |
121 | - | |
130 | + sb=handOther(map,sb); | |
122 | 131 | String bigSB = sb.toString(); |
123 | 132 | |
124 | 133 | if (bigSB.contains("其他,")){ |
... | ... | @@ -177,7 +186,7 @@ |
177 | 186 | } |
178 | 187 | } |
179 | 188 | } |
180 | - | |
189 | + sb=handOther(map,sb); | |
181 | 190 | String bigSB = sb.toString(); |
182 | 191 | |
183 | 192 | if (bigSB.contains("其他,")) { |