Commit f917c3a1ddde741a327eedc318899703da7379df
1 parent
e1504baed2
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/facade/MatDeliverFacade.java
View file @
f917c3a
| ... | ... | @@ -345,6 +345,9 @@ |
| 345 | 345 | if (null != patients.getLastMenses()) { |
| 346 | 346 | if (fmDate.getTime() >= DateUtil.addDay(patients.getLastMenses(), 168).getTime()) { |
| 347 | 347 | patients.setFmDate(fmDate); |
| 348 | + if(null!=patients.getBuildType()&&patients.getBuildType()==2){ | |
| 349 | + patients.setBuildType(0); | |
| 350 | + } | |
| 348 | 351 | patients.setType(3); |
| 349 | 352 | patientsService.updatePatient(patients); |
| 350 | 353 | } |