| | |
| | | /** |
| | | * 查询考核发布列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:publish:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:publish:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(CheckPublish checkPublish) |
| | | { |
| | |
| | | /** |
| | | * 获取考核发布详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:publish:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:publish:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | /** |
| | | * 新增考核发布 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:publish:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:publish:add')") |
| | | @Log(title = "考核发布", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody CheckPublish checkPublish) |