From fe9f16a02c89eb6c5264c06bf76e748a0d809647 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期五, 01 十一月 2024 18:03:58 +0800 Subject: [PATCH] 2024-11-01 --- ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSurveyQuestionController.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSurveyQuestionController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSurveyQuestionController.java index 1d0bdf5..45b47f4 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSurveyQuestionController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSurveyQuestionController.java @@ -92,7 +92,10 @@ //@PreAuthorize("@ss.hasPermi('hosp:question:remove')") @Log(title = "闂嵎闂", businessType = BusinessType.DELETE) @DeleteMapping("/{qids}") - public AjaxResult remove(@PathVariable String[] qids) { - return toAjax(tjSurveyQuestionService.deleteTjSurveyQuestionByQids(qids)); + public AjaxResult remove(@PathVariable Long[] qids) { + for (Long qid : qids) { + tjSurveyQuestionService.deleteTjSurveyQuestionByQid(qid); + } + return toAjax(1); } } -- Gitblit v1.8.0