소스 검색

代码修改

LAPTOP-KB9HII50\70708 1 주 전
부모
커밋
12dc449ca4
1개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 7
      svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/followup/service/FollowUpService.java

+ 6 - 7
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/followup/service/FollowUpService.java

@ -1722,19 +1722,18 @@ public class FollowUpService {
                if(StringUtils.isNotBlank(nextFollowupTime)){
                    f.setFollowupDate(DateUtil.strToDate(nextFollowupTime));
                    f.setFollowupPlanDate(DateUtil.strToDate(nextFollowupTime));
                    ServiceItemPlanDO itemPlanDO = serviceItemPlanDao.findByRelationCode(f.getId()+"");
                    if(itemPlanDO!=null){
                        itemPlanDO.setPlanTime(nextFollowupTime);
                        serviceItemPlanDao.save(itemPlanDO);
                    }
                }
                if(StringUtils.isNotBlank(nextFollowupWay)){
                    f.setFollowupType(nextFollowupWay);
                }
                followupDao.save(f);
            }
            if(StringUtils.isNotBlank(nextFollowupTime)){
                ServiceItemPlanDO itemPlanDO = serviceItemPlanDao.findByRelationCode(followupId+"");
                if(itemPlanDO!=null){
                    itemPlanDO.setPlanTime(nextFollowupTime);
                    serviceItemPlanDao.save(itemPlanDO);
                }
            }
        }
    }