潘志宝
2025-03-21 ec50954c8c9d244a2ff259b653aaaa7bfeabe79b
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/controller/admin/StScheduleSuggestController.java
@@ -13,6 +13,7 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -44,7 +45,7 @@
    @PostMapping("/list-out")
    @Operation(summary = "获得预警消息列表")
    public CommonResult<List<StScheduleSuggestRespVO>> getListByOut(StScheduleSuggestPageReqVO pageVO) {
    public CommonResult<List<StScheduleSuggestRespVO>> getListByOut(@RequestBody StScheduleSuggestPageReqVO pageVO) {
        List<String> itemIds = mmItemOutputService.getItemIdByOut(pageVO.getOutIds());
        List<String> moduleIds = dmModuleItemService.getModuleIdByItemId(itemIds);
        List<String> moduleList = dmModuleService.geModuleByIds(moduleIds);