| | |
| | | * 查询差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("查询差旅报销付款信息列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) |
| | | { |
| | |
| | | * 导出差旅报销付款信息列表 |
| | | */ |
| | | @ApiOperation("导出差旅报销付款信息列表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:export')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) |
| | |
| | | * 获取差旅报销付款信息详细信息 |
| | | */ |
| | | @ApiOperation("获取差旅报销付款信息详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | |
| | | * 新增差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("新增差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:add')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceReimbursementpayeeShared serviceReimbursementpayeeShared) |
| | | { |
| | | return toAjax(serviceReimbursementpayeeSharedService.save(serviceReimbursementpayeeShared)); |
| | | boolean save = serviceReimbursementpayeeSharedService.save(serviceReimbursementpayeeShared); |
| | | return AjaxResult.success(serviceReimbursementpayeeShared); |
| | | } |
| | | |
| | | /** |
| | | * 修改差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("修改差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:edit')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除差旅报销付款信息 |
| | | */ |
| | | @ApiOperation("删除差旅报销付款信息") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:reimbursementpayeeshared:remove')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |