zjh
2025-01-02 eac48696e8df9a0a6eace257adcea4ee203d6fe0
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);
    }
}