Commit 79b3271a4545c929076f43ca11bec779ab33b526
1 parent
2a440a4e6f
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntData.java
View file @
79b3271
... | ... | @@ -64,7 +64,7 @@ |
64 | 64 | |
65 | 65 | public AntData(AntExChuModel model,String hospitalName,Date lastMenses) { |
66 | 66 | this.id = model.getId(); |
67 | - int days = DateUtil.daysBetween(model.getLastMenses(), model.getCheckTime()); | |
67 | + int days = DateUtil.daysBetween(lastMenses, model.getCheckTime()); | |
68 | 68 | this.dueWeek = StringUtils.dueWeek(days); |
69 | 69 | if(null!=model.getCheckTime()){ |
70 | 70 | this.checkTime = DateUtil.getyyyy_MM_dd(model.getCheckTime()); |