Commit 4adcb95560c61c96b8f53ab735ddc77a57aebb2d
1 parent
1913631b60
Exists in
master
and in
6 other branches
妇女建档添加字段
Showing 2 changed files with 24 additions and 1 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/ResidentsArchiveModel.java
View file @
4adcb95
... | ... | @@ -187,8 +187,20 @@ |
187 | 187 | |
188 | 188 | private String trackHospitalId; |
189 | 189 | |
190 | + // 是否军嫂 0 或者空不是 1是 | |
191 | + private Integer military; | |
190 | 192 | |
193 | + | |
191 | 194 | private Long code; |
195 | + | |
196 | + | |
197 | + public Integer getMilitary() { | |
198 | + return military; | |
199 | + } | |
200 | + | |
201 | + public void setMilitary(Integer military) { | |
202 | + this.military = military; | |
203 | + } | |
192 | 204 | |
193 | 205 | public Long getCode() { |
194 | 206 | return code; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/ResidentsArchiveAddRequest.java
View file @
4adcb95
... | ... | @@ -159,6 +159,10 @@ |
159 | 159 | private String photo; |
160 | 160 | |
161 | 161 | |
162 | + // 是否军嫂 0 或者空不是 1是 | |
163 | + private Integer military; | |
164 | + | |
165 | + | |
162 | 166 | @Override |
163 | 167 | public ResidentsArchiveModel convertToDataModel() { |
164 | 168 | ResidentsArchiveModel model = new ResidentsArchiveModel(); |
165 | 169 | |
166 | 170 | |
... | ... | @@ -256,9 +260,16 @@ |
256 | 260 | //追访时间默认为当前建档时间 |
257 | 261 | model.setFollowupTime(new Date()); |
258 | 262 | model.setChildExtAddrs(childExtAddrs); |
263 | + model.setMilitary(military); | |
264 | + return model; | |
265 | + } | |
259 | 266 | |
267 | + public Integer getMilitary() { | |
268 | + return military; | |
269 | + } | |
260 | 270 | |
261 | - return model; | |
271 | + public void setMilitary(Integer military) { | |
272 | + this.military = military; | |
262 | 273 | } |
263 | 274 | |
264 | 275 | public List<String> getChildExtAddrs() { |