瀏覽代碼

代码修改

LAPTOP-KB9HII50\70708 6 天之前
父節點
當前提交
2925573e76

+ 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));