Commit 9e194ee711e17df01d50ba8d6c5f966bcbf31be9

Authored by liquanyu
1 parent 44b6586998

血糖报告

Showing 2 changed files with 12 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/pojo/BloodSugar.java View file @ 9e194ee
... ... @@ -62,6 +62,17 @@
62 62  
63 63 private String kcalId;
64 64  
  65 + //当前孕周
  66 + private Integer currentWeek;
  67 +
  68 + public Integer getCurrentWeek() {
  69 + return currentWeek;
  70 + }
  71 +
  72 + public void setCurrentWeek(Integer currentWeek) {
  73 + this.currentWeek = currentWeek;
  74 + }
  75 +
65 76 public String getKcalId() {
66 77 return kcalId;
67 78 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BloodSugarServiceImpl.java View file @ 9e194ee
... ... @@ -583,7 +583,7 @@
583 583 {
584 584 return false;
585 585 }
586   -
  586 + one.setCurrentWeek(week);
587 587 one.setMonitorStatus(monitorStatus);
588 588 one.setReportDate(DateUtil.formatDate(one.getCreated()));
589 589 one.setStatus(1); //报告状态 1未查看 2查看