Commit 946888e5 by wangli

修改

1 parent b45bcfa5
......@@ -13,7 +13,7 @@ public class OrderAppointment {
private String engineerCode;
private String engineerName;
private String engineerPhone;
private String engineerAge;
private Integer engineerAge;
private Integer isWorkshop;
private Timestamp expectStartTime;
private Timestamp expectEndTime;
......
......@@ -220,8 +220,6 @@ public class DispatchServiceImpl implements DispatchService {
OrderRequestScheduler scheduler = new OrderRequestScheduler();
List<LineSegment> results = scheduler.scheduler(orders, orderAppointments);
System.out.println(results);
for (LineSegment r : results) {
String orderId = r.id;
......@@ -234,7 +232,7 @@ public class DispatchServiceImpl implements DispatchService {
op.setMainSub(1);
op.setEngineerCode(engineerCode);
op.setEngineerName(engineer.getName());
op.setEngineerAge("");
op.setEngineerAge(0);
op.setEngineerPhone(engineer.getPhone());
op.setIsWorkshop(0);
op.setExpectStartTime(expectStartTime);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!