From fbc647f0a11ad0c3ab2a17191d71a4ab205d3d70 Mon Sep 17 00:00:00 2001 From: lyf_ <764716047@qq.com> Date: 星期四, 29 六月 2023 09:16:07 +0800 Subject: [PATCH] 修改redis配置 --- incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java index af26fae..ab0c764 100644 --- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java +++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java @@ -27,7 +27,7 @@ */ @RequestMapping(value = "/page/list" ,method = RequestMethod.POST) private ResultVO<List<AccidentReportPageRespDTO>> list (@RequestBody PageQuery<AccidentReportQuery> pageQuery){ - PageUtils.checkCheck(pageQuery.getPageIndex(), pageQuery.getPageSize()); + PageUtils.checkCheck(pageQuery); return accidentReportService.selectAccidentReportList(pageQuery); } @@ -60,8 +60,8 @@ /** * 事故报告删除/批量删除 */ - @RequestMapping(value = "/batchDelete/{ids}",method = RequestMethod.GET) - public ResultVO batchDeleteAccidentReport(@PathVariable("ids")String ids){ + @RequestMapping(value = "/batchDelete",method = RequestMethod.POST) + public ResultVO batchDeleteAccidentReport(@RequestBody Long[] ids){ return accidentReportService.batchDeleteAccidentReport(ids); } -- Gitblit v1.9.2