Commit 91ae284e by 丁伟峰

挂上技术员甘特图接口

1 parent 22f43204
......@@ -2,6 +2,7 @@ package com.alibaba.cloud.integration.order.controller;
import com.alibaba.cloud.integration.common.BusinessException;
import com.alibaba.cloud.integration.common.Result;
import com.alibaba.cloud.integration.order.dto.WorkbenchEngineersGanttReqDTO;
import com.alibaba.cloud.integration.order.dto.WorkbenchOrderChangeListReqDTO;
import com.alibaba.cloud.integration.order.service.WorkbenchService;
import lombok.extern.slf4j.Slf4j;
......@@ -30,4 +31,15 @@ public class WorkbenchController {
}
return res;
}
@PostMapping("/workbench/engineer/schedule/gantt")
public Result<?> getEngineersGanttList(@Validated @RequestBody WorkbenchEngineersGanttReqDTO reqDTO) {
Result<?> res = null;
try {
res = workbenchService.getEngineersGanttList(reqDTO);
} catch (BusinessException e) {
return Result.failed(e.getMessage());
}
return res;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!