| | |
| | | * 查询报销申请列表 |
| | | */ |
| | | @ApiOperation("查询报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:list')") |
| | | @Log(title = "查询报销申请列表", businessType = BusinessType.OTHER) |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursement serviceReimbursement) { |
| | |
| | | * 导出报销申请列表 |
| | | */ |
| | | @ApiOperation("导出报销申请列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:export')") |
| | | @Log(title = "报销申请", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursement serviceReimbursement) { |
| | |
| | | * 获取报销申请详细信息 |
| | | */ |
| | | @ApiOperation("获取报销申请详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceReimbursementService.getById(id)); |
| | |
| | | * 新增报销申请 |
| | | */ |
| | | @ApiOperation("新增报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:add')") |
| | | @Log(title = "报销申请", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请 |
| | | */ |
| | | @ApiOperation("修改报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | @Log(title = "报销申请", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/reimbursementEdit") |
| | | @RepeatSubmit |
| | |
| | | * 修改报销申请 |
| | | */ |
| | | @ApiOperation("修改报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:edit')") |
| | | @Log(title = "审核费用", businessType = BusinessType.OTHER) |
| | | @PostMapping("/editMoney") |
| | | public AjaxResult editMoney(@RequestBody List<ReimbursementService> serviceReimbursement) { |
| | |
| | | * 删除报销申请 |
| | | */ |
| | | @ApiOperation("删除报销申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:reimbursement:remove')") |
| | | @Log(title = "报销申请") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |