Commit 246a51dc6fa0e2235aa686b2d8c0049320407b3a
1 parent
5e2b81202a
Exists in
master
and in
6 other branches
添加是否发放母子保健手册
Showing 4 changed files with 23 additions and 0 deletions
- platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/YunBookbuildingAddRequest.java
platform-dal/src/main/java/com/lyms/platform/pojo/Patients.java
View file @
246a51d
... | ... | @@ -40,6 +40,17 @@ |
40 | 40 | //丈夫信息是否必须 |
41 | 41 | private Boolean reqHusband; |
42 | 42 | |
43 | + //是否发放母子保健手册 | |
44 | + private String sendCareMan; | |
45 | + | |
46 | + public String getSendCareMan() { | |
47 | + return sendCareMan; | |
48 | + } | |
49 | + | |
50 | + public void setSendCareMan(String sendCareMan) { | |
51 | + this.sendCareMan = sendCareMan; | |
52 | + } | |
53 | + | |
43 | 54 | public Boolean getReqHusband() { |
44 | 55 | return reqHusband; |
45 | 56 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
246a51d
... | ... | @@ -1127,6 +1127,7 @@ |
1127 | 1127 | */ |
1128 | 1128 | public Patients getPatientsData(YunBookbuildingAddRequest yunRequest) { |
1129 | 1129 | Patients patient = new Patients(); |
1130 | + patient.setSendCareMan(yunRequest.getSendCareMan()); | |
1130 | 1131 | patient.setReqHusband(yunRequest.getReqHusband()); |
1131 | 1132 | patient.setFuckLastMens(DateUtil.parseYMD(yunRequest.getFuckLastMens())); |
1132 | 1133 | patient.setLastMenses(DateUtil.parseYMD(yunRequest.getLastMenstrualPeriod())); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ViewFacade.java
View file @
246a51d
... | ... | @@ -170,6 +170,7 @@ |
170 | 170 | map.put("id", data.getId()); |
171 | 171 | /* 孕妇基础数据 */ |
172 | 172 | map.put("username", data.getUsername()); |
173 | + map.put("sendCareMan", data.getSendCareMan()); | |
173 | 174 | map.put("pcerteType", getBasicConfig(data.getPcerteTypeId())); |
174 | 175 | map.put("cardNo", data.getCardNo()); |
175 | 176 | map.put("phone", data.getPhone()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/YunBookbuildingAddRequest.java
View file @
246a51d
... | ... | @@ -30,6 +30,16 @@ |
30 | 30 | private List patientSerResults; |
31 | 31 | //丈夫信息是否必须 |
32 | 32 | private Boolean reqHusband; |
33 | + //是否发放母子保健手册 | |
34 | + private String sendCareMan; | |
35 | + | |
36 | + public String getSendCareMan() { | |
37 | + return sendCareMan; | |
38 | + } | |
39 | + | |
40 | + public void setSendCareMan(String sendCareMan) { | |
41 | + this.sendCareMan = sendCareMan; | |
42 | + } | |
33 | 43 | |
34 | 44 | public Boolean getReqHusband() { |
35 | 45 | return reqHusband; |