Commit bf4c418f by 王力

Merge branch 'feature_mvp616_wangl' into 'develop'

修改

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