厂间调拨无码入库修改
This commit is contained in:
parent
a579d131cc
commit
6d8685cb9a
|
|
@ -990,8 +990,7 @@ public class TransferCompanyController extends BaseController {
|
||||||
@Transactional
|
@Transactional
|
||||||
@PostMapping("pda/submitForInNoScanning")
|
@PostMapping("pda/submitForInNoScanning")
|
||||||
public ApiResult<Void> submitForInNoScanning(@Valid @RequestBody NoScanningRequest request) {
|
public ApiResult<Void> submitForInNoScanning(@Valid @RequestBody NoScanningRequest request) {
|
||||||
WmsTransferCompanyTicket ticketEntity = getNoScanInTicket(request.getId(), request.getNo());
|
TransferCompanyTicketVO ticket = transferCompanyTicketService.getInfo(request.getId());
|
||||||
TransferCompanyTicketVO ticket = transferCompanyTicketService.getInfo(ticketEntity.getId());
|
|
||||||
VUtil.trueThrowBusinessError(Objects.isNull(ticket)).throwMessage("出库单不存在");
|
VUtil.trueThrowBusinessError(Objects.isNull(ticket)).throwMessage("出库单不存在");
|
||||||
VUtil.trueThrowBusinessError(!Objects.equals(ticket.getState(), 0)).throwMessage("出库单无效");
|
VUtil.trueThrowBusinessError(!Objects.equals(ticket.getState(), 0)).throwMessage("出库单无效");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue