Commit c7bdd3d1d05e4aa3aaf11e342c5fdefc878f9f9d
1 parent
333a8d5e12
Exists in
master
and in
1 other branch
update code
Showing 1 changed file with 6 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
c7bdd3d
... | ... | @@ -1353,9 +1353,13 @@ |
1353 | 1353 | map.put("dueDate", DateUtil.getyyyy_MM_dd(patients.getFmDate())); |
1354 | 1354 | map.put("mremark", patients.getMremark()); |
1355 | 1355 | //高危因素 |
1356 | +// HighScoreResult highScoreResult = null; | |
1357 | +// if (CollectionUtils.isNotEmpty(patients.getRiskFactorId())) { | |
1358 | +// highScoreResult = ResolveUtils.queryRisk(patients.getRiskFactorId(), true, basicConfigService); | |
1359 | +// } | |
1356 | 1360 | HighScoreResult highScoreResult = null; |
1357 | - if (CollectionUtils.isNotEmpty(patients.getRiskFactorId())) { | |
1358 | - highScoreResult = ResolveUtils.queryRisk(patients.getRiskFactorId(), true, basicConfigService); | |
1361 | + if (patients.getFmDate() != null) { | |
1362 | + highScoreResult = antenatalExaminationFacade.getPatLastRiskByDate(patients.getPid(), false, patients.getLastMenses(), patients.getFmDate()); | |
1359 | 1363 | } |
1360 | 1364 | |
1361 | 1365 | map.put("riskFactor", ResolveUtils.queryHighRisk(highScoreResult)); |