| | |
| | | /** |
| | | * 查询考核模板列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:template:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:template:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(CheckTemplateQuery checkTemplateDTO) |
| | | { |
| | |
| | | /** |
| | | * 导出考核模板列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:template:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:template:export')") |
| | | @Log(title = "考核模板", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, CheckTemplateQuery checkTemplateDTO) |
| | |
| | | /** |
| | | * 获取考核模板详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:template:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:template:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增考核模板 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:template:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:template:add')") |
| | | @Log(title = "考核模板", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody CheckTemplateQuery checkTemplateDTO) |