更新设备缓存修改

parent cf20c30c
...@@ -129,6 +129,17 @@ public class ResourceGanttController { ...@@ -129,6 +129,17 @@ public class ResourceGanttController {
} }
@GetMapping("/SyncMachine")
@Operation(summary = "更新设备信息缓存", description = "更新设备信息缓存")
public void SyncMachines() {
// 调用 PlanResultService 获取 ScheduleChromosome 列表
planResultService.InitCalendarToAllMachines();
}
@PostMapping("/editOrder") @PostMapping("/editOrder")
@Operation(summary = "修改订单", description = "编辑场景中的订单信息", @Operation(summary = "修改订单", description = "编辑场景中的订单信息",
requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody( requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(
......
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