| | |
| | | @ApiOperation("修改费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:edit')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceFunddetail serviceFunddetail) { |
| | | return toAjax(serviceFunddetailService.updateById(serviceFunddetail)); |
| | |
| | | @ApiOperation("删除费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:remove')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceFunddetailService.removeByIds(Arrays.asList(ids))); |
| | | } |