| | |
| | | /** |
| | | * 查询收费项目列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询") |
| | | public TableDataInfo list(DictSfxm dictSfxm) { |
| | |
| | | /** |
| | | * 导出收费项目列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:export')") |
| | | @Log(title = "收费项目", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出") |
| | |
| | | /** |
| | | * 获取收费项目详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "详情信息") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增收费项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:add')") |
| | | @Log(title = "收费项目", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增") |
| | |
| | | /** |
| | | * 修改收费项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:edit')") |
| | | @Log(title = "收费项目", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改") |
| | |
| | | /** |
| | | * 删除收费项目 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:sfxm:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:sfxm:remove')") |
| | | @Log(title = "收费项目", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除") |