Commit a1e4ccee authored by 温志超's avatar 温志超

Merge remote-tracking branch 'origin/dev' into dev

parents 5271000e a0714286
...@@ -213,6 +213,7 @@ public class AlgorithmDataSourceThXMImpl implements AlgorithmDataSource { ...@@ -213,6 +213,7 @@ public class AlgorithmDataSourceThXMImpl implements AlgorithmDataSource {
List<Calendar> algCalendar = new ArrayList<Calendar>(); List<Calendar> algCalendar = new ArrayList<Calendar>();
QueryWrapper<CalPlanWorkunit> calPlanWorkunitQuery = new QueryWrapper<CalPlanWorkunit>(); QueryWrapper<CalPlanWorkunit> calPlanWorkunitQuery = new QueryWrapper<CalPlanWorkunit>();
calPlanWorkunitQuery.eq("rest_flag", 0); calPlanWorkunitQuery.eq("rest_flag", 0);
calPlanWorkunitQuery.eq("is_work", 1);
calPlanWorkunitQuery.gt("start_date", schedulingStartedDate); calPlanWorkunitQuery.gt("start_date", schedulingStartedDate);
calPlanWorkunitQuery.orderByAsc("start_date"); calPlanWorkunitQuery.orderByAsc("start_date");
//查询可用工作日历 //查询可用工作日历
......
...@@ -1018,6 +1018,7 @@ public class ProTaskServiceImpl implements IProTaskService { ...@@ -1018,6 +1018,7 @@ public class ProTaskServiceImpl implements IProTaskService {
//暂停更新记录 //暂停更新记录
if (proTask.getStatus().equals(TaskStatusEnum.PAUSE.getStatus())) { if (proTask.getStatus().equals(TaskStatusEnum.PAUSE.getStatus())) {
proTaskWorkunitService.updateProTaskWorkunitState(proTaskWorkunit, TaskStatusEnum.PAUSE);
proTask.setPurseType(ProStartWorkEnum.SUSPENDED.getType()); proTask.setPurseType(ProStartWorkEnum.SUSPENDED.getType());
proStartWorkService.updateObj(proTask); proStartWorkService.updateObj(proTask);
} }
......
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