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