Commit 3b8b1e60 by huluobin

# update

parent 9583de33
......@@ -32,6 +32,15 @@ public class AccountingSubjectController {
@Resource
IAccountingSubjectService accountingSubjectService;
@ApiOperation("删除会计一级科目")
@PostMapping("/remove")
public CostResult<Void> remove(@RequestParam Integer id) {
log.info("删除会计一级科目:{}", id);
accountingSubjectService.removeById(id);
return CostResult.success();
}
@ApiOperation("新增会计一级科目")
@PostMapping("/add")
public CostResult<Void> add(@RequestBody AccountingSubjectAddReq req) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment