| | |
| | | @ApiOperation("修改收入费用科目") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:edit')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody BaseFinancesubject baseFinancesubject) |
| | | { |
| | |
| | | @ApiOperation("删除收入费用科目") |
| | | //@PreAuthorize("@ss.hasPermi('project:financesubject:remove')") |
| | | @Log(title = "收入费用科目", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(baseFinancesubjectService.removeByIds(Arrays.asList(ids))); |