diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java index 5cfe27f..ece5e9e 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java @@ -108,7 +108,19 @@ public class FollowUpController extends BaseController { fuResult.setBabyId(followUp.getBabyId()); fuResult.setId(followUp.getId()); fuResult.setFollowAddr(followUp.getFollowAddr()); - fuResult.setMarkResult(followUp.getMarkResult()); + if (followUp.getMarkResult() != null) { + String cr[] = followUp.getMarkResult().split(","); + StringBuffer mrSb = new StringBuffer(); + for (int b = 0; b < cr.length; b++) { + if (StringUtils.isNotEmpty(cr[b])) { + Map map = new HashMap<>(); + String title = ConfirmedEnums.getTitle(Integer.parseInt(cr[b])); + mrSb.append(title+","); + } + } + //设置确诊结果 + fuResult.setMarkResult(mrSb.toString()); + } fuResult.setMarkDetail(followUp.getMarkDetail()); fuResult.setFollowInfo(followUp.getFollowInfo()); fuResult.setAudiphone(followUp.getAudiphone());