| | |
| | | package com.ruoyi.project.controller; |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | |
| | | @ApiOperation("新增差旅报销付款信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee) |
| | | { |
| | | return toAjax(serviceReimbursementpayeeService.save(serviceReimbursementpayee)); |
| | | boolean save = serviceReimbursementpayeeService.save(serviceReimbursementpayee); |
| | | return AjaxResult.success(serviceReimbursementpayee); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation("删除差旅报销付款信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')") |
| | | @Log(title = "差旅报销付款信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) |
| | | { |
| | | return toAjax(serviceReimbursementpayeeService.removeByIds(Arrays.asList(ids))); |