Commit a6acb7a8 by Ren Ping

fix:RESCHEDULED工单也可自动派单

1 parent 15e151c0
......@@ -410,7 +410,7 @@ public class DispatchSolutionUtils {
for (Customer customer : customerList) {
if (!customer.isInTechnicianTimeWindows()
&& !StrUtil.equals("CONFIRM", customer.getStatus())) {
log.warn(">>> 工单({})违背 customerTimeWindowsMatch 硬约束: engineerCode: {}, arriveTime: {},departureTime: {}",
log.warn(">>> 工单({})违背 technicianTimeWindowsMatch 硬约束: engineerCode: {}, arriveTime: {},departureTime: {}",
customer.getCode(),
null != customer.getTechnician() ? customer.getTechnician().getCode() : null,
customer.getArrivalTime(),
......@@ -430,7 +430,7 @@ public class DispatchSolutionUtils {
// 违反硬约束对象,根据具体约束返回不同类型对象
if (indictedObject instanceof Customer) {
Customer customer = (Customer) indictedObject;
log.warn(">>> 工单({})违背 customerTimeWindowsMatch 硬约束: engineerCode: {}, arriveTime: {},departureTime: {}",
log.warn(">>> 工单({})违背 dispatchedMatch 硬约束: engineerCode: {}, arriveTime: {},departureTime: {}",
customer.getCode(),
null != customer.getTechnician() ? customer.getTechnician().getCode() : null,
customer.getArrivalTime(),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!