Commit 226660d4 by 丁伟峰

时间槽返回orderId,方便前端获取工单详情

1 parent f91d118c
...@@ -80,6 +80,7 @@ public class EngineersGanttDTO { ...@@ -80,6 +80,7 @@ public class EngineersGanttDTO {
@lombok.Data @lombok.Data
public static class Slot { public static class Slot {
private String orderId;
private String bgColor = "#016FFF"; private String bgColor = "#016FFF";
private String borderColor = "#016FFF"; private String borderColor = "#016FFF";
private String borderStyle = "solid"; private String borderStyle = "solid";
......
...@@ -58,6 +58,7 @@ public class EngineerGanttServiceImpl implements EngineerGanttService { ...@@ -58,6 +58,7 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
// 服务工单本体 // 服务工单本体
EngineersGanttDTO.Slot slot = new EngineersGanttDTO.Slot(); EngineersGanttDTO.Slot slot = new EngineersGanttDTO.Slot();
// todo 需要根据订单时间和状态,采用expectXXXX或者actualXXXX // todo 需要根据订单时间和状态,采用expectXXXX或者actualXXXX
slot.setOrderId(e.getOrderId());
slot.setBtime(getHourMinute(e.getExpectTimeBegin())); slot.setBtime(getHourMinute(e.getExpectTimeBegin()));
slot.setEtime(getHourMinute(e.getExpectTimeEnd())); slot.setEtime(getHourMinute(e.getExpectTimeEnd()));
slot.setTooltip(getOrderTips(e.getOrderId())); slot.setTooltip(getOrderTips(e.getOrderId()));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!