Commit 45a8ebdfa2619d6b996a7839e76ba7a0ddc0b360
1 parent
95afaaae75
Exists in
master
and in
6 other branches
注释掉原来老产检劵验证
Showing 1 changed file with 5 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java
View file @
45a8ebd
| 1 | 1 | package com.lyms.platform.operate.web.facade; |
| 2 | 2 | |
| 3 | 3 | import com.lyms.platform.biz.service.BasicConfigService; |
| 4 | +import com.lyms.platform.biz.service.CommonService; | |
| 4 | 5 | import com.lyms.platform.biz.service.PatientsService; |
| 5 | 6 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| 6 | 7 | import com.lyms.platform.common.enums.RiskDefaultTypeEnum; |
| ... | ... | @@ -18,6 +19,7 @@ |
| 18 | 19 | import com.lyms.platform.pojo.PredictedStatisticsCountModel; |
| 19 | 20 | import com.lyms.platform.query.PatientsQuery; |
| 20 | 21 | import net.sf.json.JSONArray; |
| 22 | +import org.apache.commons.lang.StringUtils; | |
| 21 | 23 | import org.springframework.beans.factory.annotation.Autowired; |
| 22 | 24 | import org.springframework.stereotype.Component; |
| 23 | 25 | |
| ... | ... | @@ -93,6 +95,9 @@ |
| 93 | 95 | List<RiskLevelResultModel> riskLevelResultModelList = getRiskLevel(patients.getRiskLevelId()); |
| 94 | 96 | predictedStatisticsQueryModel.setRiskLevelResultModelList(riskLevelResultModelList); |
| 95 | 97 | predictedStatisticsQueryModel.setRiskLevelNameString(getRiskLevelString(riskLevelResultModelList)); |
| 98 | + if(StringUtils.isNotEmpty(patients.getoRiskFactor())){ | |
| 99 | + patients.getRiskFactorId().add(patients.getoRiskFactor()); | |
| 100 | + } | |
| 96 | 101 | predictedStatisticsQueryModel.setRiskFactor(getRiskFactor(patients.getRiskFactorId())); |
| 97 | 102 | predictedStatisticsQueryModel.setLastCheckEmployee(getLastCheckEmployee(patients.getLastCheckEmployeeId())); |
| 98 | 103 | predictedStatisticsQueryModel.setGestationalWeeks(getGestationalWeeks(patients.getLastMenses(), patients.getType(), patients.getDueStatus())); |