| | |
| | | */ |
| | | //@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)); |
| | | } |
| | | |
| | |
| | | //@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)); |
| | | } |
| | | } |