| | |
| | | /** |
| | | * 查询病种+意见列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TjRuleAdvice tjRuleAdvice) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出病种+意见列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:export')") |
| | | @Log(title = "病种+意见", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TjRuleAdvice tjRuleAdvice) { |
| | |
| | | /** |
| | | * 获取病种+意见详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:query')") |
| | | @GetMapping(value = "/{gid}") |
| | | public AjaxResult getInfo(@PathVariable("gid") String gid) { |
| | | return success(tjRuleAdviceService.getById(gid)); |
| | |
| | | /** |
| | | * 新增病种+意见 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:add')") |
| | | @Log(title = "病种+意见", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody TjRuleAdvice tjRuleAdvice) { |
| | |
| | | /** |
| | | * 修改病种+意见 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:edit')") |
| | | @Log(title = "病种+意见", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody TjRuleAdvice tjRuleAdvice) { |
| | |
| | | /** |
| | | * 删除病种+意见 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:ruleAdvice:remove')") |
| | | @Log(title = "病种+意见", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{gids}") |
| | | public AjaxResult remove(@PathVariable String[] gids) { |