Commit 5fca69d0110872da51310b19045d0b96b53f57ae
1 parent
4d7b7f8a12
Exists in
master
and in
8 other branches
增加设置parentid
Showing 1 changed file with 6 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PostReviewRequest.java
View file @
5fca69d
| ... | ... | @@ -340,8 +340,12 @@ |
| 340 | 340 | postReviewModel.setTreatOpinion(treatOpinion); |
| 341 | 341 | postReviewModel.setDirOpinion(dirOpinion); |
| 342 | 342 | postReviewModel.setProdDoctor(prodDoctor); |
| 343 | - postReviewModel.setCheckTime(DateUtil.parseYMD(checkTime)); | |
| 344 | - postReviewModel.setNextCheckTime(JsonUtil.obj2JsonString(nextCheckTime)); | |
| 343 | + if(null!=checkTime){ | |
| 344 | + postReviewModel.setCheckTime(DateUtil.parseYMD(checkTime)); | |
| 345 | + } | |
| 346 | + if(null!=nextCheckTime){ | |
| 347 | + postReviewModel.setNextCheckTime(JsonUtil.obj2JsonString(nextCheckTime)); | |
| 348 | + } | |
| 345 | 349 | return postReviewModel; |
| 346 | 350 | } |
| 347 | 351 | } |