Commit dfdaf3e60650f4065f769aa030cfb4380f2fa756

Authored by jiangjiazhi
1 parent f5a1211e2e

增加转诊建档类型

Showing 3 changed files with 5 additions and 3 deletions

platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java View file @ dfdaf3e
... ... @@ -116,7 +116,7 @@
116 116 //分娩状态 0未终止妊娠 1终止妊娠
117 117 private Integer dueStatus;
118 118  
119   - //建档类型 0 未分娩建档 1儿童建档时建档 2 自动分娩类型
  119 + //建档类型 0 未分娩建档 1儿童建档时建档 2 自动分娩类型 3 转诊自动建档
120 120 private Integer buildType;
121 121  
122 122 /**
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java View file @ dfdaf3e
... ... @@ -137,7 +137,7 @@
137 137 patients.setHospitalId(referralApplyOrderModel.getTransferredHospital());
138 138 patients.setBookbuildingDate(new Date());
139 139 patients.setBookbuildingDoctor(null);
140   - patients.setBuildType(2);
  140 + patients.setBuildType(3);
141 141 patients.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId());
142 142 patients.setServiceStatus(ServiceStatusEnums.STANDARD_OPEN.getId());
143 143 patients.setExpVip(0);
... ... @@ -183,6 +183,7 @@
183 183 babyModel.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId());
184 184 babyModel.setServiceStatus(ServiceStatusEnums.STANDARD_OPEN.getId());
185 185 babyModel.setExpVip(0);
  186 + babyModel.setBuildType(3);
186 187 id =babyService.addOneBaby(babyModel).getId();
187 188 }
188 189 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ dfdaf3e
... ... @@ -270,7 +270,8 @@
270 270 babyModel.setServiceStatus(patients.getServiceStatus());
271 271 babyModel.setServiceType(patients.getServiceType());
272 272 }
273   -
  273 + // 产妇分娩建档
  274 + babyModel.setBuildType(2);
274 275 //没有父亲生日
275 276 // babyModel.setFbirth(patients.geth);
276 277 return babyModel;