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