zhangyuewww 1 年間 前
コミット
86e2009e52

+ 2 - 2
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/ContractManagementInfoServiceImpl.java

@@ -206,7 +206,7 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
             warehouseInOutInfo.setStatusFlag("3");
             warehouseInOutInfo.setInOutFlag(NumberConstant.CONSTANT2);
             warehouseInOutInfo.setContractNo(contractManagementInfo.getContractNo());
-            warehouseInOutInfo.setNetWeight(Double.valueOf(contractManagementInfo.getFinalTradingVolume()));
+            warehouseInOutInfo.setNetWeight(Double.valueOf(contractManagementInfo.getWeight()));
             warehouseInOutInfo.setGoodsName(contractManagementInfo.getContractGoodsInfo().getGoodsName());
             warehouseInOutInfo.setGoodsNameKey(contractManagementInfo.getContractGoodsInfo().getGoodsNameKey());
             warehouseInOutInfo.setGrade(contractManagementInfo.getContractGoodsInfo().getGrade());
@@ -249,7 +249,7 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
             ContractInventoryDistribution contractInventoryDistribution = new ContractInventoryDistribution();
             contractInventoryDistribution.setId(IdGenerator.generateUUID());
             contractInventoryDistribution.setCompId(contractManagementInfo.getCompId());
-            contractInventoryDistribution.setInStorage(Double.valueOf(String.valueOf(contractManagementInfo.getFinalTradingVolume())));
+            contractInventoryDistribution.setInStorage(Double.valueOf(String.valueOf(contractManagementInfo.getWeight())));
             contractInventoryDistribution.setWarehouse(contractManagementInfo.getContractNo());
             contractInventoryDistribution.setContractNo(contractManagementInfo.getContractNo());
             contractInventoryDistribution.setGoodsName(contractManagementInfo.getGoodsName());