diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/AntExChuModel.java b/platform-dal/src/main/java/com/lyms/platform/pojo/AntExChuModel.java index 0a58836..687cb53 100644 --- a/platform-dal/src/main/java/com/lyms/platform/pojo/AntExChuModel.java +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/AntExChuModel.java @@ -519,6 +519,16 @@ public class AntExChuModel extends BaseModel { public String ctgab; //TPOAb抗甲状腺过氧化物抗体 public String ctpoab; + //秦皇岛定制字段:是否产筛 0:未产筛 1:已产筛 + public Integer productionSieveType; + + public Integer getProductionSieveType() { + return productionSieveType; + } + + public void setProductionSieveType(Integer productionSieveType) { + this.productionSieveType = productionSieveType; + } public String getJw() { return jw; diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/AntenatalExaminationModel.java b/platform-dal/src/main/java/com/lyms/platform/pojo/AntenatalExaminationModel.java index a0763f8..ae3fb69 100644 --- a/platform-dal/src/main/java/com/lyms/platform/pojo/AntenatalExaminationModel.java +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/AntenatalExaminationModel.java @@ -400,6 +400,17 @@ public class AntenatalExaminationModel extends BaseModel { //2h private String bloodSugar2h; + //秦皇岛定制字段:是否产筛 0:未产筛 1:已产筛 + public Integer productionSieveType; + + public Integer getProductionSieveType() { + return productionSieveType; + } + + public void setProductionSieveType(Integer productionSieveType) { + this.productionSieveType = productionSieveType; + } + public String getBloodSugarKf() { return bloodSugarKf; } diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java b/platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java index bfd2ddc..e321cb4 100644 --- a/platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java @@ -440,6 +440,16 @@ public class Patients extends BaseModel { //推荐人 private String recommend; + //秦皇岛定制字段:是否产筛 0:未产筛 1:已产筛 + public Integer productionSieveType; + + public Integer getProductionSieveType() { + return productionSieveType; + } + + public void setProductionSieveType(Integer productionSieveType) { + this.productionSieveType = productionSieveType; + } public String getRecommend() { return recommend; diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java index 16ae51c..1012089 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java @@ -472,6 +472,13 @@ public class AntenatalExaminationFacade { //添加复诊时添加追访信息 addTrackDownInfo(userId, patients, antExAddRequest.getNextCheckTime()); } + //秦皇岛定制。如果productionSieveType 0:未产筛 1:已产筛 要同步到主档案(如果这个字段前段没有传。说明不需要同步。) + if("216".equals(hospitalId) && null!=antExAddRequest.getProductionSieveType()){ + Patients patients=new Patients(); + patients.setId(antExAddRequest.getParentId()); + patients.setProductionSieveType(antExAddRequest.getProductionSieveType()); + patientsService.updatePatient(patients); + } //自动数据处理 updateAutoData(model, antExAddRequest, hospitalId); return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); @@ -929,6 +936,14 @@ public class AntenatalExaminationFacade { return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("您已经做过初诊"); } } + //秦皇岛定制。如果productionSieveType 0:未产筛 1:已产筛 要同步到主档案(如果这个字段前段没有传。说明不需要同步。) + if("216".equals(hospitalId) && null!=excAddRequest.getProductionSieveType()){ + Patients patients=new Patients(); + patients.setId(excAddRequest.getParentId()); + patients.setProductionSieveType(excAddRequest.getProductionSieveType()); + patientsService.updatePatient(patients); + } + /** * 秦皇岛区域定制:初诊选择预约住院分娩医院同时,修改档案的预约住院分娩医院 * @Author: 武涛涛 diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/AntExAddRequest.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/AntExAddRequest.java index fb34b7b..f4e3dff 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/AntExAddRequest.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/AntExAddRequest.java @@ -388,6 +388,16 @@ public class AntExAddRequest implements IBasicRequestConvert { public String ctgab; //TPOAb抗甲状腺过氧化物抗体 public String ctpoab; + //秦皇岛定制字段:是否产筛 0:未产筛 1:已产筛 + public Integer productionSieveType; + public Integer getProductionSieveType() { + return productionSieveType; + } + + public void setProductionSieveType(Integer productionSieveType) { + this.productionSieveType = productionSieveType; + } public String getJw() { return jw; @@ -2559,6 +2568,9 @@ public class AntExcAddRequest implements IBasicRequestConvert { antExChuModel.setCtsh(ctsh); antExChuModel.setCtgab(ctgab); antExChuModel.setCtpoab(ctpoab); + if(null!=productionSieveType) { + antExChuModel.setProductionSieveType(productionSieveType); + } return antExChuModel; }