Commit 8a670df89736993d04c9f4db65adc2bc35091fdf

Authored by yangfei
1 parent 7841065ea2

产检医生统计

Showing 1 changed file with 13 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java View file @ 8a670df
... ... @@ -108,7 +108,19 @@
108 108 fuResult.setBabyId(followUp.getBabyId());
109 109 fuResult.setId(followUp.getId());
110 110 fuResult.setFollowAddr(followUp.getFollowAddr());
111   - fuResult.setMarkResult(followUp.getMarkResult());
  111 + if (followUp.getMarkResult() != null) {
  112 + String cr[] = followUp.getMarkResult().split(",");
  113 + StringBuffer mrSb = new StringBuffer();
  114 + for (int b = 0; b < cr.length; b++) {
  115 + if (StringUtils.isNotEmpty(cr[b])) {
  116 + Map<Integer, String> map = new HashMap<>();
  117 + String title = ConfirmedEnums.getTitle(Integer.parseInt(cr[b]));
  118 + mrSb.append(title+",");
  119 + }
  120 + }
  121 + //设置确诊结果
  122 + fuResult.setMarkResult(mrSb.toString());
  123 + }
112 124 fuResult.setMarkDetail(followUp.getMarkDetail());
113 125 fuResult.setFollowInfo(followUp.getFollowInfo());
114 126 fuResult.setAudiphone(followUp.getAudiphone());