From c64be1d9213643b301707c302a2b334f449fd435 Mon Sep 17 00:00:00 2001 From: yewj Date: Fri, 18 Oct 2024 10:45:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=99=A8=E6=A2=B0=E6=89=AB=E7=A0=81=E6=8B=86?= =?UTF-8?q?=E9=9B=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collect/IoCollectOrderCodeManService.java | 2 +- .../api/service/inout/IoSplitCodeService.java | 43 ++++++++++--------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/main/java/com/glxp/api/service/collect/IoCollectOrderCodeManService.java b/src/main/java/com/glxp/api/service/collect/IoCollectOrderCodeManService.java index a18460bd5..2d8cf8233 100644 --- a/src/main/java/com/glxp/api/service/collect/IoCollectOrderCodeManService.java +++ b/src/main/java/com/glxp/api/service/collect/IoCollectOrderCodeManService.java @@ -414,7 +414,6 @@ public class IoCollectOrderCodeManService extends ServiceImpl 0) { - if (IntUtil.value(splitCodeEntity.getRemainCount()) > IntUtil.value(collectOrderCodeMan.getScanCount())) { + if (IntUtil.value(splitCodeEntity.getRemainCount()) > IntUtil.value(collectOrderCodeMan.getScanActCount())) { splitCodeEntity.setRemainCount(IntUtil.value(splitCodeEntity.getRemainCount()) - IntUtil.value(collectOrderCodeMan.getScanActCount())); } else { splitCodeEntity.setRemainCount(0); @@ -299,25 +299,28 @@ public class IoSplitCodeService extends ServiceImpl