gongdecai 1 gadu atpakaļ
vecāks
revīzija
27bd72f319

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

@@ -530,10 +530,11 @@ public class ExpenseInfoServiceImpl extends ServiceImpl<ExpenseInfoMapper, Expen
                     if(warehousingOrder != null){
 
                         distributionMoney=distributionMoney+warehousingOrder.getInterest()+warehousingOrder.getStorageFee();
-                    }
+
                     if ((distributionMoney + expenseAllocationInfoList.get(i).getDistributionMoney()) / warehousingOrder.getInWarehouseWeight() > 100) {
                         serialNo = serialNo + (i + 1) + '、';
                     }
+                    }
                 }
                 if (!serialNo.equals("") && serialNo != null) {
                     throw new RuntimeException("货源" + serialNo + "累计分配成本超过100元/吨");