Commit e32cc8fa authored by chenzhao's avatar chenzhao

修改定时任务中,对除草稿状态外其他状态过了计划结束时间都需要根据任务状态更新计划状态

parent d0a4af4e
...@@ -395,7 +395,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService { ...@@ -395,7 +395,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
} }
HashMap<String, Object> param= new HashMap<String, Object>(); HashMap<String, Object> param= new HashMap<String, Object>();
param.put("id", plan.getId()); param.put("id", plan.getId());
param.put("status", PlanStatusEnum.COMPLETED.getValue()); param.put("status", PlanStatusEnum.OUT_TIME.getValue());
planMapper.updPlanStatusOrGenDate(param); planMapper.updPlanStatusOrGenDate(param);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment