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();