聚焦甘特修改

parent 513fcbc7
...@@ -1027,7 +1027,7 @@ public class ResourceGanttController { ...@@ -1027,7 +1027,7 @@ public class ResourceGanttController {
) )
) )
public R<SupplyRelationResponse> getSupplyRelation(@RequestBody Map<String, Object> params) { public R<List<Object>> getSupplyRelation(@RequestBody Map<String, Object> params) {
log.info("getSupplyRelation 请求参数: {}", params); log.info("getSupplyRelation 请求参数: {}", params);
// 提取参数 // 提取参数
String sceneId = ParamValidator.getString(params, "sceneId", "场景ID"); String sceneId = ParamValidator.getString(params, "sceneId", "场景ID");
...@@ -1036,7 +1036,7 @@ public class ResourceGanttController { ...@@ -1036,7 +1036,7 @@ public class ResourceGanttController {
// 调用服务获取供给关系 // 调用服务获取供给关系
List<Object> data = planResultService.getSupplyRelation(sceneId, entryId, sceneService); List<Object> data = planResultService.getSupplyRelation(sceneId, entryId, sceneService);
return R.ok(SupplyRelationResponse.success(data)); return R.ok(data);
} }
......
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