Commit b51166364b242a28c486b9e3dae89db8a39928a6

Authored by jiangjiazhi
1 parent e30c691646

增加社区id

Showing 2 changed files with 12 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyManagerFacade.java View file @ b511663
... ... @@ -217,12 +217,15 @@
217 217 gender="女";
218 218 }
219 219 }
  220 + babyResult.setName(patients.getUsername());
220 221 babyResult.setBirth(DateUtil.getyyyy_MM_dd(patients.getBirth()));
221 222 babyResult.setSex(gender);
222 223 babyResult.setCommunity(comm);
223 224 babyResult.setMotherName("母亲名字");
224 225 babyResult.setMotherPhone(patients.getPhone());
225 226 babyResult.setId(patients.getId());
  227 + babyResult.setVisit(patients.getIsVisit() == 0 ? "未访视" : "已访视");
  228 + babyResult.setVisitStatus(patients.getIsVisit());
226 229 return babyResult;
227 230 }
228 231 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyResult.java View file @ b511663
... ... @@ -38,6 +38,15 @@
38 38 private String community;
39 39 private String
40 40 communityId;
  41 + private int visitStatus;
  42 +
  43 + public int getVisitStatus() {
  44 + return visitStatus;
  45 + }
  46 +
  47 + public void setVisitStatus(int visitStatus) {
  48 + this.visitStatus = visitStatus;
  49 + }
41 50  
42 51 public String getCommunityId() {
43 52 return communityId;