From adaaa23c789be3313a0e554fbf7beaa8ab261e68 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期四, 16 五月 2024 18:07:01 +0800
Subject: [PATCH] zjh 2024/05/16-1

---
 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 8dc16bf..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
@@ -62,7 +62,7 @@
      */
     //@PreAuthorize("@ss.hasPermi('hosp:question:query')")
     @GetMapping(value = "/{qid}")
-    public AjaxResult getInfo(@PathVariable("qid") Long qid) {
+    public AjaxResult getInfo(@PathVariable("qid") String qid) {
         return success(tjSurveyQuestionService.selectTjSurveyQuestionByQid(qid));
     }
 
@@ -93,6 +93,9 @@
     @Log(title = "闂嵎闂", businessType = BusinessType.DELETE)
     @DeleteMapping("/{qids}")
     public AjaxResult remove(@PathVariable Long[] qids) {
-        return toAjax(tjSurveyQuestionService.deleteTjSurveyQuestionByQids(qids));
+        for (Long qid : qids) {
+            tjSurveyQuestionService.deleteTjSurveyQuestionByQid(qid);
+        }
+        return toAjax(1);
     }
 }

--
Gitblit v1.8.0