Commit 1cd7bf093ec10f85e1fcae19216fc0228fb43ecc
1 parent
b5edb49493
Exists in
master
and in
6 other branches
回执单高危等级BUG修改
Showing 2 changed files with 11 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
1cd7bf0
... | ... | @@ -2632,7 +2632,12 @@ |
2632 | 2632 | return list; |
2633 | 2633 | } |
2634 | 2634 | |
2635 | - | |
2635 | + /** | |
2636 | + * | |
2637 | + * @param id | |
2638 | + * @param n 是否要高危等级 | |
2639 | + * @return | |
2640 | + */ | |
2636 | 2641 | public synchronized HighScoreResult queryRisk(List<String> id, boolean n) { |
2637 | 2642 | HighScoreResult highScoreResult = new HighScoreResult(); |
2638 | 2643 | BasicConfigQuery basicConfigQuery = new BasicConfigQuery(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java
View file @
1cd7bf0
... | ... | @@ -76,6 +76,11 @@ |
76 | 76 | int score = antenatalExaminationFacade.queryRisk(referralReceipt.getrRisk(), false).getScore(); |
77 | 77 | //高危评分 |
78 | 78 | referralApplyOrderModel.setScore(score); |
79 | + //高位等级 | |
80 | + List levelList = antenatalExaminationFacade.queryRisk(referralReceipt.getrRisk(), true).getLevelId(); | |
81 | + com.lyms.platform.operate.web.utils.CollectionUtils.removeDuplicate(levelList, true); | |
82 | + referralApplyOrderModel.setrLevel(levelList); | |
83 | + | |
79 | 84 | updataReferral(referralReceipt.getPatientId(), referralApplyOrderModel); |
80 | 85 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
81 | 86 | } |