Commit d857c37a958c4ff44c397701164d78347cdb38bd
1 parent
6d3a59fe47
Exists in
master
and in
6 other branches
诊断字段格式化
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/NewbornServiceImpl.java
View file @
d857c37
... | ... | @@ -254,7 +254,8 @@ |
254 | 254 | if(CollectionUtils.isNotEmpty(diagnosis)) { |
255 | 255 | for (String s : diagnosis) { |
256 | 256 | Map<String, Object> tempMap = new HashedMap(); |
257 | - tempMap.put(s, mongoUtil.findName(s)); | |
257 | + tempMap.put("id", s); | |
258 | + tempMap.put("name", mongoUtil.findName(s)); | |
258 | 259 | diagnosisList.add(tempMap); |
259 | 260 | } |
260 | 261 | map.put("diagnosis", diagnosisList); |