From c5007e249cd711be52e3c43adc34c5adbc83bf51 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Thu, 5 Sep 2024 14:32:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8D=E5=81=9A=E9=94=81=E7=9A=84?= =?UTF-8?q?=E4=BA=92=E6=96=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/inout/IoSplitFifoCodeService.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/glxp/api/service/inout/IoSplitFifoCodeService.java b/src/main/java/com/glxp/api/service/inout/IoSplitFifoCodeService.java index 05b902434..55332c9de 100644 --- a/src/main/java/com/glxp/api/service/inout/IoSplitFifoCodeService.java +++ b/src/main/java/com/glxp/api/service/inout/IoSplitFifoCodeService.java @@ -193,13 +193,13 @@ public class IoSplitFifoCodeService extends ServiceImpl orderList = collectOrderMapper.filterList(collectOrderRequest); if (CollUtil.isEmpty(orderList)) throw new JsonException("未找到对应的单据!"); IoCollectOrderResponse order = orderList.get(0); - Integer invAlert1 = order.getInvAlert(); - - if (lockType == 1) { - if (invAlert1 == 1) throw new JsonException("该单据已锁定库存过请勿重复锁定!"); - } else if (lockType == 2) { - if (invAlert1 != 1) throw new JsonException("该单据未正常锁定库存过不可进行解锁库存操作!"); - } +// Integer invAlert1 = order.getInvAlert(); +// +// if (lockType == 1) { +// if (invAlert1 == 1) throw new JsonException("该单据已锁定库存过请勿重复锁定!"); +// } else if (lockType == 2) { +// if (invAlert1 != 1) throw new JsonException("该单据未正常锁定库存过不可进行解锁库存操作!"); +// } //2、获取该单据下的biz明细 CollectOrderBizRequest bizRequest = new CollectOrderBizRequest();