From c780a22859bd047efbeb1eca9d65ded5760513fb Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Mon, 25 Nov 2024 10:44:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E6=8B=89=E5=8F=96=E7=94=9F=E6=88=90=E6=94=B6=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/service/thrsys/impl/ThrInvOrderServiceImpl.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/glxp/api/service/thrsys/impl/ThrInvOrderServiceImpl.java b/src/main/java/com/glxp/api/service/thrsys/impl/ThrInvOrderServiceImpl.java index eedaf99f1..7d85ca922 100644 --- a/src/main/java/com/glxp/api/service/thrsys/impl/ThrInvOrderServiceImpl.java +++ b/src/main/java/com/glxp/api/service/thrsys/impl/ThrInvOrderServiceImpl.java @@ -1629,18 +1629,13 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService { } } - Integer count; - if (ConstantType.TYPE_PUT.equals(mainAction)) { - count = IntUtil.value(item.getInCount()); - } else { - count = IntUtil.value(item.getOutCount()); - } + ThrInvOrderDetail thrInvOrderDetail = new ThrInvOrderDetail(); BeanUtils.copyProperties(item, thrInvOrderDetail); thrInvOrderDetail.setOrderIdFk(billNo); thrInvOrderDetail.setRelId(relId); thrInvOrderDetail.setThrCode(thrCode); - thrInvOrderDetail.setReCount(String.valueOf(count)); + thrInvOrderDetail.setReCount(item.getReCount()); if (udiRelevanceEntity != null) { String uuid = udiRelevanceEntity.getUuid();