Commit 993bdc9a55f6376be91811da681dee7e2a9f7f94
1 parent
50e7aa0a69
Exists in
master
and in
8 other branches
增加是否通知
Showing 2 changed files with 7 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
993bdc9
| ... | ... | @@ -389,7 +389,7 @@ |
| 389 | 389 | return new BaseObjectResponse().setData(object).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
| 390 | 390 | } |
| 391 | 391 | |
| 392 | - private List queryRisk(List<String> id) { | |
| 392 | + public List queryRisk(List<String> id) { | |
| 393 | 393 | BasicConfigQuery |
| 394 | 394 | basicConfigQuery = new BasicConfigQuery(); |
| 395 | 395 | List data = new ArrayList(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
993bdc9
| ... | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | import com.lyms.platform.common.result.BaseResponse; |
| 9 | 9 | import com.lyms.platform.common.utils.Assert; |
| 10 | 10 | import com.lyms.platform.common.utils.DateUtil; |
| 11 | +import com.lyms.platform.common.utils.JsonUtil; | |
| 11 | 12 | import com.lyms.platform.operate.web.request.*; |
| 12 | 13 | import com.lyms.platform.operate.web.result.*; |
| 13 | 14 | import com.lyms.platform.operate.web.utils.CommonsHelper; |
| ... | ... | @@ -47,6 +48,8 @@ |
| 47 | 48 | private AutoMatchFacade autoMatchFacade; |
| 48 | 49 | @Autowired |
| 49 | 50 | private AntenatalExaminationService antExService; |
| 51 | + @Autowired | |
| 52 | + private AntenatalExaminationFacade antenatalExaminationFacade; | |
| 50 | 53 | |
| 51 | 54 | /** |
| 52 | 55 | * 修改产妇的社区 |
| ... | ... | @@ -229,6 +232,9 @@ |
| 229 | 232 | if(null!=patients){ |
| 230 | 233 | patientBaseResult.convert(patients); |
| 231 | 234 | } |
| 235 | + try { | |
| 236 | + patientBaseResult.setRiskFactor(antenatalExaminationFacade.queryRisk(patients.getFirstRiskFactorId())); | |
| 237 | + }catch (Exception e){} | |
| 232 | 238 | return new BaseObjectResponse().setData(patientBaseResult).setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS); |
| 233 | 239 | } |
| 234 | 240 | /** |