LAPTOP-KB9HII50\70708 преди 1 седмица
родител
ревизия
2925573e76
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/followup/service/FollowUpService.java

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

@ -1273,7 +1273,7 @@ public class FollowUpService {
            ServiceItemPlanDO itemPlanDO = serviceItemPlanDao.findByRelationCode(id);
            if(itemPlanDO!=null){
                ServiceItemPlanDO serviceItemPlanDO = serviceItemPlanDao.findByPlanIdAndPlanDetailIdAndPlanTime(itemPlanDO.getPlanId(), itemPlanDO.getPlanDetailId(), DateUtil.dateToStrLong(followup.getFollowupNextDate()));
                if (StringUtils.isNoneBlank(plandate)) {
                if (StringUtils.isNoneBlank(plandate)&&serviceItemPlanDO!=null) {
                    followup.setFollowupNextDate(DateUtil.strToDate(plandate));
                    Followup nextFollowup = followupDao.findById(Long.valueOf(serviceItemPlanDO.getRelationCode())).orElse(null);
                    nextFollowup.setFollowupDate(DateUtil.strToDateLong(plandate));