|
@ -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);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|