| | |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | public R<IPage<ProductionProductMainDto>> listProductionDetails(ProductionAccountDto productionAccountDto, Page page) { |
| | | return R.ok(productionAccountService.listProductionDetails(productionAccountDto,page)); |
| | | } |
| | | |
| | | @PostMapping("/batchAccounting") |
| | | @Operation(summary = "批量核算") |
| | | public R<Boolean> batchAccounting(@RequestBody ProductionAccountDto dto) { |
| | | return R.ok(productionAccountService.batchAccounting(dto)); |
| | | } |
| | | |
| | | @PostMapping("/singleAdjust") |
| | | @Operation(summary = "单个修正") |
| | | public R<Boolean> singleAdjust(@RequestBody ProductionAccountDto dto) { |
| | | return R.ok(productionAccountService.singleAdjust(dto)); |
| | | } |
| | | } |