Commit d6f0faaa2d4cd2940c388f9e0ab46e821eb9652b

Authored by jiangjiazhi
1 parent dd4471736b

修改新电子病历

Showing 1 changed file with 6 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ d6f0faa
... ... @@ -343,12 +343,12 @@
343 343  
344 344 withList = postReviewService.findWithList(postReviewQuery.convertToQuery().addOrder(Sort.Direction.DESC, "created"));
345 345 if(CollectionUtils.isNotEmpty(withList)){
346   - chanResult.setcHTimes(postReviewService.count(postReviewQuery));
347   - }
348   - if(StringUtils.isNotEmpty(withList.get(0).getProdDoctor())){
349   - Users users = usersService.getUsers(NumberUtils.toInt(withList.get(0).getProdDoctor()));
350   - if(null!=users){
351   - chanResult.setCheckDoctor(users.getName());
  346 + chanResult.setcHTimes(withList.size());
  347 + if(StringUtils.isNotEmpty(withList.get(0).getProdDoctor())){
  348 + Users users = usersService.getUsers(NumberUtils.toInt(withList.get(0).getProdDoctor()));
  349 + if(null!=users){
  350 + chanResult.setCheckDoctor(users.getName());
  351 + }
352 352 }
353 353 }
354 354 }