zhaowenxuan
2025-02-19 5bafefb3e2e042fcf304be9a13d38d77f6cbce57
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);
    }
}