From 6c4c2e31ddbcbf4a5f9472a29f621b360ce4713b Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 25 七月 2024 15:31:42 +0800 Subject: [PATCH] 增加同步api接口 --- 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