Commit 9d5bbad5 by huluobin

update

parent 97133da7
...@@ -46,8 +46,6 @@ import com.gogirl.infrastructure.service.push.TechnicianPushService; ...@@ -46,8 +46,6 @@ import com.gogirl.infrastructure.service.push.TechnicianPushService;
import com.gogirl.infrastructure.util.MapDistanceUtils; import com.gogirl.infrastructure.util.MapDistanceUtils;
import com.gogirl.infrastructure.util.SessionUtils; import com.gogirl.infrastructure.util.SessionUtils;
import com.gogirl.shared.order.*; import com.gogirl.shared.order.*;
import com.gogirl.shared.order.IdleTimeDTO;
import com.gogirl.shared.order.ScheduleManagePageQuery;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
...@@ -820,20 +818,20 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper, ...@@ -820,20 +818,20 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
/*3、如果是指定美甲师、判断美甲师是否仍然可用*/ /*3、如果是指定美甲师、判断美甲师是否仍然可用*/
//构造路径 //构造路径
// List<TreeProgram> treeProgramList = new ArrayList<>(); List<TreeProgram> treeProgramList = new ArrayList<>();
// TreeProgram treeProgram = new TreeProgram(); TreeProgram treeProgram = new TreeProgram();
// List<ScheduleServe> scheduleServeList = scheduleManage.getListScheduleServer() List<ScheduleServe> scheduleServeList = scheduleManage.getListScheduleServer()
// .stream() .stream()
// .filter(scheduleServe -> scheduleServe.getServeId() == null) .filter(scheduleServe -> scheduleServe.getServeId() == null)
// .collect(Collectors.toList()); .collect(Collectors.toList());
//
// //方案树 //方案树
// TreeProgram targetTree = idleTimeDTO.getTreeProgram(); TreeProgram targetTree = idleTimeDTO.getTreeProgram();
//
// boolean isPath = treeProgram.isSubTree(targetTree); boolean isPath = treeProgram.isSubTree(targetTree);
// if (!isPath) { if (!isPath) {
// throw new RRException("请重新选择美甲师"); throw new RRException("请重新选择美甲师");
// } }
} }
} }
......
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