Commit eb7341cf940b4e642c2b8e67d2168d92cbdb6e3c
1 parent
3af52fbd08
Exists in
master
and in
6 other branches
bug修改
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyHighriskServiceImpl.java
View file @
eb7341c
... | ... | @@ -44,14 +44,14 @@ |
44 | 44 | if (StringUtils.isNotEmpty(hospitalId)) { |
45 | 45 | BabyHighriskConfigModel highriskConfigModel = mongoTemplate.findOne(Query.query(Criteria.where("hospitalId").is(hospitalId)), BabyHighriskConfigModel.class); |
46 | 46 | if (null != highriskConfigModel) { |
47 | - respMap.put("ConfigId", highriskConfigModel.getHighRiskId()); | |
47 | + respMap.put("configId", highriskConfigModel.getHighRiskId()); | |
48 | 48 | return RespBuilder.buildSuccess(respMap); |
49 | 49 | } else { |
50 | 50 | //返回默认选择id给前端 |
51 | 51 | List<String> respList = new ArrayList<>(); |
52 | 52 | respList.add("5b18f91f422b03d4ad2bf914"); |
53 | 53 | respList.add("5b18f932422b03d4ad2bf915"); |
54 | - respMap.put("ConfigID", respList); | |
54 | + respMap.put("configId", respList); | |
55 | 55 | return RespBuilder.buildSuccess(respMap); |
56 | 56 | } |
57 | 57 | } |