| | |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入CodeRule") |
| | | public R save(@Valid @RequestBody CodeRuleDTO codeRuleDTO) { |
| | | return R.status(codeRuleService.addSave(codeRuleDTO)); |
| | | return codeRuleService.addSave(codeRuleDTO); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入CodeRule") |
| | | public R update(@Valid @RequestBody CodeRuleDTO codeRuleDTO) { |
| | | return R.status(codeRuleService.editSave(codeRuleDTO)); |
| | | return codeRuleService.editSave(codeRuleDTO); |
| | | } |
| | | |
| | | /** |