From f20eab3d08011a159e728f5dbfd3197b8ba84d09 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期二, 17 十二月 2024 14:13:00 +0800 Subject: [PATCH] zjh202412017 --- 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