Commit 23e8390e31253d89c4b151f4f134c60d23ae02a0

Authored by jiangjiazhi
1 parent f70b0ee190

1

Showing 1 changed file with 6 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ 23e8390
... ... @@ -40,6 +40,8 @@
40 40 public class MatDeliverFacade {
41 41  
42 42 private Logger logger = LoggerFactory.getLogger(MatDeliverFacade.class);
  43 + @Autowired
  44 + private PatientCheckTicketService patientCheckTicketService;
43 45  
44 46 @Autowired
45 47 private MatDeliverService matDeliverService;
... ... @@ -344,6 +346,10 @@
344 346 patients1.setFmDate(fmDate);
345 347 // HuJiaqi添加开始,这里冗余了分娩分娩医院,分娩年龄,分娩孕周,分娩方式,并将状态更改为产妇
346 348 patients1.setType(3);
  349 + //自动分娩的时候修改buildtype为0 http://jira.healthbaby.com.cn/browse/WEB-808
  350 + if (null != patients.getBuildType() && patients.getBuildType() == 2) {
  351 + patients.setBuildType(0);
  352 + }
347 353 patients1.setIsAutoFm(YnEnums.NO.getId());
348 354 patients1.setFmHospital(deliverAddRequest.getFmHospital());
349 355 patients1.setFmType(MapUtils.isNotEmpty(deliverAddRequest.getDeliveryMode()) ? null : deliverAddRequest.getDeliveryMode().toString());