Commit d6fbfdb0a5b959f6c286c6bf70ca254c3a4c0c04
1 parent
2cb46e2807
Exists in
master
and in
6 other branches
同步数据问题解决
Showing 1 changed file with 11 additions and 2 deletions
platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/ConvertHelper.java
View file @
d6fbfdb
| ... | ... | @@ -942,9 +942,18 @@ |
| 942 | 942 | } |
| 943 | 943 | //流产 |
| 944 | 944 | antChuJson.put("abortion", abortion.toString()); |
| 945 | - //孕产史 | |
| 946 | - antChuJson.put("hisGestation", "孕次:" + StringUtils.unitHandle(antExChuModel.getPregnancyTimes(), UnitConstants.CI) + " 产次:" + StringUtils.unitHandle(antExChuModel.getProdTime(), UnitConstants.CI) + " 流产次:" + StringUtils.unitHandle(antExChuModel.getAbortion(), UnitConstants.CI) + " 存活胎儿数:" + StringUtils.unitHandle(antExChuModel.getSurvFetus(), UnitConstants.REN)); | |
| 947 | 945 | |
| 946 | + String ycNum = StringUtils.unitHandle(antExChuModel.getPregnancyTimes(), UnitConstants.CI); | |
| 947 | + String ccNum = StringUtils.unitHandle(antExChuModel.getProdTime(), UnitConstants.CI); | |
| 948 | + String lccNum = StringUtils.unitHandle(antExChuModel.getAbortion(), UnitConstants.CI); | |
| 949 | + String chNum = StringUtils.unitHandle(antExChuModel.getSurvFetus(), UnitConstants.REN); | |
| 950 | + | |
| 951 | + //孕产史 | |
| 952 | + antChuJson.put("hisGestation", "孕次:" + | |
| 953 | + ycNum==null?"":ycNum + " 产次:" + | |
| 954 | + ccNum==null?"":ccNum + " 流产次:" + | |
| 955 | + lccNum==null?"":lccNum + " 存活胎儿数:" + | |
| 956 | + chNum==null?"":chNum); | |
| 948 | 957 | try { |
| 949 | 958 | //国家高危+自定义高危 |
| 950 | 959 | List highrisks = JsonUtil.toList(antExChuModel.getHighrisk(), List.class); |