| | |
| | | * 查询费用申请主列表 |
| | | */ |
| | | @ApiOperation("查询费用申请主列表") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFundShared serviceFundShared) { |
| | | startPage(); |
| | |
| | | * 导出费用申请主列表 |
| | | */ |
| | | @ApiOperation("导出费用申请主列表") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:export')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFundShared serviceFundShared) { |
| | |
| | | * 获取费用申请主详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请主详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceFundSharedService.getById(id)); |
| | |
| | | * 新增费用申请主 |
| | | */ |
| | | @ApiOperation("新增费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:add')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改费用申请主 |
| | | */ |
| | | @ApiOperation("修改费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:edit')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除费用申请主 |
| | | */ |
| | | @ApiOperation("删除费用申请主") |
| | | @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:shared:remove')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |