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