Commit aa06d334 authored by 李驰骋's avatar 李驰骋

排产时排班日历只加载非节假日

parent cae636f3
......@@ -213,6 +213,7 @@ public class AlgorithmDataSourceThXMImpl implements AlgorithmDataSource {
List<Calendar> algCalendar = new ArrayList<Calendar>();
QueryWrapper<CalPlanWorkunit> calPlanWorkunitQuery = new QueryWrapper<CalPlanWorkunit>();
calPlanWorkunitQuery.eq("rest_flag", 0);
calPlanWorkunitQuery.eq("is_work", 1);
calPlanWorkunitQuery.gt("start_date", schedulingStartedDate);
calPlanWorkunitQuery.orderByAsc("start_date");
//查询可用工作日历
......
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