| | |
| | | public R cleanRecord(@PathVariable Long id, @RequestBody Map<String, Object> cleanRecord) { |
| | | return R.ok(productOrderService.cleanRecord(id, cleanRecord)); |
| | | } |
| | | |
| | | @ApiOperation("查询所有批号") |
| | | @GetMapping("/getProductOrderBatchNo") |
| | | public R getProductOrderBatchNo() { |
| | | return R.ok(productOrderService.getProductOrderBatchNo()); |
| | | } |
| | | |
| | | @ApiOperation("查询生产订单对应的BOM的原材料") |
| | | @GetMapping("/getByBomId") |
| | | public R getByBomId(Long bomId) { |
| | | return R.ok(productOrderService.getByBomId(bomId)); |
| | | } |
| | | |
| | | @ApiOperation("生产订单领料更新") |
| | | @PostMapping("/drawMaterials") |
| | | public R drawMaterials(@RequestBody ProductOrderDto productOrderDto) { |
| | | return R.ok(productOrderService.drawMaterials(productOrderDto)); |
| | | } |
| | | } |