Commit 52cb7a1b95816d089736c88a75e19b2ec6812f1b
1 parent
890729543e
Exists in
master
and in
2 other branches
自动初诊增加下次产检日期和末次月经时间
Showing 1 changed file with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RemoteController.java
View file @
52cb7a1
| ... | ... | @@ -527,6 +527,7 @@ |
| 527 | 527 | request.setContactName(archiveUsers.getContactName()); |
| 528 | 528 | request.setContactPhone(archiveUsers.getContactPhone()); |
| 529 | 529 | final String cDueWeek = request.getcDueWeek(); |
| 530 | + final String lastMenses = archiveHistory.getLastMenses(); | |
| 530 | 531 | |
| 531 | 532 | BaseObjectResponse baseObjectResponse = bookbuildingFacade.addPregnantBookbuilding(request, Integer.valueOf(archiveUsers.getAssistUserId()), false); |
| 532 | 533 | System.out.println("confirmArchive return :"+JsonUtil.obj2JsonString(baseObjectResponse)); |
| ... | ... | @@ -560,6 +561,8 @@ |
| 560 | 561 | antExcAddRequest.setParentId(patients.getId()); |
| 561 | 562 | antExcAddRequest.setName(patients.getUsername()); |
| 562 | 563 | antExcAddRequest.setCheckTime(DateUtil.getyyyy_MM_dd_hms(new Date())); |
| 564 | + antExcAddRequest.setNextCheckTime(DateUtil.getyyyy_MM_dd(DateUtil.addWeek(new Date(),4))); | |
| 565 | + antExcAddRequest.setLastMenses(lastMenses); | |
| 563 | 566 | antExcAddRequest.setProdDoctor(assistUserId); |
| 564 | 567 | antExcAddRequest.setcDueWeek(cDueWeek); |
| 565 | 568 |