| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | ); |
| | | @GetMapping("/alarm-suggest/page") |
| | | @Operation(summary = "预警与建议信息") |
| | | public CommonResult<PageResult<StAlarmAndSuggestRespVO>> queryAlarmAndSuggestPage() { |
| | | public CommonResult<PageResult<StAlarmAndSuggestRespVO>> queryAlarmAndSuggestPage(@RequestParam("pageNo") Integer pageNo, @RequestParam("pageSize") Integer pageSize) { |
| | | StAlarmAndSuggestPageReqVO reqVO = new StAlarmAndSuggestPageReqVO(); |
| | | reqVO.setPageNo(pageNo); |
| | | reqVO.setPageSize(pageSize); |
| | | reqVO.setTitle(titleList); |
| | | reqVO.setContentKey(contentKeyList); |
| | | PageResult<StAlarmAndSuggestRespVO> page = mcsApi.getAlarmAndSuggestPage(reqVO); |