Commit e85db084 authored by litengwei's avatar litengwei

小程序批量提交BUG修改

parent f64bfb3b
......@@ -1124,6 +1124,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
Optional<PlanTask> planTaskOptional = iplanTaskDao.findById(Long.valueOf(id));
PlanTask planTask = planTaskOptional.get();
if(planTask.getFinishStatus() == XJConstant.TASK_STATUS_DEAL) {
planTask.setFinishStatus(XJConstant.TASK_STATUS_FINISH);
if(planTask.getRiskStatus() != 1) {
planTask.setRiskStatus(XJConstant.NORISK_NUM);
......@@ -1140,7 +1141,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
// 生成巡检记录
jobService.createCheckRecord(planTask, userId);
}
}
......
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