| | |
| | | import com.ruoyi.framework.web.page.TableDataInfo; |
| | | import com.ruoyi.sales.dto.InvoiceLedgerDto; |
| | | import com.ruoyi.sales.dto.SalesLedgerDto; |
| | | import com.ruoyi.sales.dto.SalesLedgerProcessRouteDto; |
| | | import com.ruoyi.sales.dto.SalesProcessCardDto; |
| | | import com.ruoyi.sales.mapper.InvoiceLedgerMapper; |
| | | import com.ruoyi.sales.mapper.ReceiptPaymentMapper; |
| | | import com.ruoyi.sales.pojo.ReceiptPayment; |
| | |
| | | public R getSalesLedgerWithProductsLoss(Long salesLedgerId) { |
| | | return R.ok(salesLedgerService.getSalesLedgerWithProductsLoss(salesLedgerId)); |
| | | } |
| | | |
| | | @ApiOperation("获取销售订单绑定的工艺路线") |
| | | @GetMapping("/salesProcess/{salesLedgerId}") |
| | | public AjaxResult salesProcess(@PathVariable Long salesLedgerId) { |
| | | SalesLedgerProcessRouteDto dto = salesLedgerService.salesProcess(salesLedgerId); |
| | | return AjaxResult.success(dto); |
| | | } |
| | | |
| | | @GetMapping("/processCard/{salesLedgerId}") |
| | | @ApiOperation("打印生产流程卡") |
| | | public AjaxResult processCard(@PathVariable Long salesLedgerId) { |
| | | SalesProcessCardDto dto = salesLedgerService.processCard(salesLedgerId); |
| | | return AjaxResult.success(dto); |
| | | } |
| | | |
| | | } |