| | |
| | | } |
| | | |
| | | /** |
| | | * 反审核操作 |
| | | */ |
| | | @Log(title = "销售台账反审核", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/counterReview") |
| | | @ApiOperation("反审核操作:作废或重新生成") |
| | | public AjaxResult counterReview(@RequestBody CounterReviewDto dto) { |
| | | List<Long> newLedgerIds = salesLedgerService.counterReview(dto); |
| | | AjaxResult result = AjaxResult.success("反审核成功"); |
| | | if (newLedgerIds != null && !newLedgerIds.isEmpty()) { |
| | | result.put("newLedgerIds", newLedgerIds); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 删除销售台账 |
| | | */ |
| | | @Log(title = "销售台账", businessType = BusinessType.DELETE) |