zjh
2024-05-16 f8b23a28a212c4946c97f94c0540ed12f89c4e07
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));
    }
@@ -92,7 +92,7 @@
    //@PreAuthorize("@ss.hasPermi('hosp:question:remove')")
    @Log(title = "问卷问题", businessType = BusinessType.DELETE)
    @DeleteMapping("/{qids}")
    public AjaxResult remove(@PathVariable Long[] qids) {
    public AjaxResult remove(@PathVariable String[] qids) {
        return toAjax(tjSurveyQuestionService.deleteTjSurveyQuestionByQids(qids));
    }
}