zjh
2024-12-30 1b7ed7edb09aaecf68ddf3396ee007bc6eadf52a
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);
    }
}