Commit 0442c0d9b175469b8ca6c53fc952d0f8b36dedc2
1 parent
f2986b661d
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 8 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
0442c0d
... | ... | @@ -9,6 +9,7 @@ |
9 | 9 | import com.lyms.platform.common.result.BaseResponse; |
10 | 10 | import com.lyms.platform.common.utils.Assert; |
11 | 11 | import com.lyms.platform.common.utils.DateUtil; |
12 | +import com.lyms.platform.common.utils.JsonUtil; | |
12 | 13 | import com.lyms.platform.operate.web.request.*; |
13 | 14 | import com.lyms.platform.operate.web.result.*; |
14 | 15 | import com.lyms.platform.operate.web.utils.CommonsHelper; |
... | ... | @@ -304,7 +305,13 @@ |
304 | 305 | String nextCheckTime = ""; |
305 | 306 | if (CollectionUtils.isNotEmpty(withList)) { |
306 | 307 | chanResult.setcTimes(withList.size()); |
307 | - nextCheckTime = withList.get(0).getNextCheckTime(); | |
308 | + if(null!=withList.get(0).getNextCheckTime()){ | |
309 | + java.util.Map map= JsonUtil.jkstr2Obj(withList.get(0).getNextCheckTime(),java.util.Map.class); | |
310 | + Object obj = map.get("fcsj"); | |
311 | + if(null!=obj&&!"null".equals(obj.toString())){ | |
312 | + nextCheckTime =(String) map.get("fcsj"); | |
313 | + } | |
314 | + } | |
308 | 315 | postReviewQuery.setHospitalId(hospital); |
309 | 316 | chanResult.setcHTimes(postReviewService.count(postReviewQuery)); |
310 | 317 | if(StringUtils.isNotEmpty(withList.get(0).getProdDoctor())){ |