Commit 317f8bacfadf90db69701c9d5aad2aff48e836f6

Authored by liquanyu
1 parent 2e8088bc89

秦皇岛妇幼添加字段

Showing 3 changed files with 24 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 317f8ba
... ... @@ -2725,6 +2725,8 @@
2725 2725 for (Patients patients : patientsList) {
2726 2726 PatientManagerQueryModel patientManagerQueryModel = new PatientManagerQueryModel();
2727 2727 BeanUtils.copy(patients, patientManagerQueryModel);
  2728 +
  2729 + patientManagerQueryModel.setTypeStr(patients.getType() == 1 ? "未分娩" : "已分娩");
2728 2730 patientManagerQueryModel.setYyzyfmHospitalName(couponMapper.getHospitalName(patients.getYyzyfmHospitalId()));
2729 2731 patientManagerQueryModel.setAge(DateUtil.getAge(patients.getBirth()));
2730 2732 patientManagerQueryModel.setpId(patients.getPid());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientManagerRequest.java View file @ 317f8ba
... ... @@ -9,6 +9,8 @@
9 9 */
10 10 public class PatientManagerRequest extends BasePageQueryRequest {
11 11  
  12 + //1 未分娩 3 已分娩
  13 + private Integer type;
12 14 /*20201130 null历史||1 不是特殊产筛建档, 2 衡水特殊产筛建档 */
13 15 private String screening;
14 16  
... ... @@ -51,6 +53,15 @@
51 53  
52 54 //乐陵是妇幼母子保健手册下发机构
53 55 private String lowerHairOgrId;
  56 +
  57 +
  58 + public Integer getType() {
  59 + return type;
  60 + }
  61 +
  62 + public void setType(Integer type) {
  63 + this.type = type;
  64 + }
54 65  
55 66 public String getLowerHairOgrId() {
56 67 return lowerHairOgrId;
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/PatientManagerQueryModel.java View file @ 317f8ba
... ... @@ -109,6 +109,17 @@
109 109 */
110 110 private String villageRegister;
111 111  
  112 + private String typeStr;
  113 +
  114 +
  115 + public String getTypeStr() {
  116 + return typeStr;
  117 + }
  118 +
  119 + public void setTypeStr(String typeStr) {
  120 + this.typeStr = typeStr;
  121 + }
  122 +
112 123 public String getVillageRegister() {
113 124 return villageRegister;
114 125 }