| | |
| | | package com.ruoyi.production.controller; |
| | | |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Log; |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.production.bean.dto.ProductionOrderPickDto; |
| | | import com.ruoyi.production.bean.vo.ProductionOrderPickVo; |
| | |
| | | |
| | | private final ProductionOrderPickService productionOrderPickService; |
| | | |
| | | @Log(title = "领料保存到线边仓", businessType = BusinessType.INSERT) |
| | | @PostMapping("/savePick") |
| | | @Operation(summary = "领料保存到线边仓") |
| | | public R<Boolean> savePick(@RequestBody ProductionOrderPickDto dto) { |
| | | return R.ok(productionOrderPickService.savePick(dto)); |
| | | } |
| | | |
| | | @Log(title = "变更领料", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/updatePick") |
| | | @Operation(summary = "变更领料") |
| | | public R<Boolean> updatePick(@RequestBody ProductionOrderPickDto dto) { |