|
@@ -277,9 +277,9 @@ public class ExpenseInfoServiceImpl extends ServiceImpl<ExpenseInfoMapper, Expen
|
|
money = expenseInfoList.stream().mapToDouble(ExpenseInfo::getAmountMoney).sum();
|
|
money = expenseInfoList.stream().mapToDouble(ExpenseInfo::getAmountMoney).sum();
|
|
}
|
|
}
|
|
//本次金额加上已请款金额>总粮款时
|
|
//本次金额加上已请款金额>总粮款时
|
|
- if (money+expenseInfo.getAmountMoney()>grainFund){
|
|
|
|
- throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
|
|
|
|
- }
|
|
|
|
|
|
+// if (money+expenseInfo.getAmountMoney()>grainFund){
|
|
|
|
+// throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
|
|
|
|
+// }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -514,9 +514,9 @@ public class ExpenseInfoServiceImpl extends ServiceImpl<ExpenseInfoMapper, Expen
|
|
money = expenseInfoList.stream().mapToDouble(ExpenseInfo::getAmountMoney).sum();
|
|
money = expenseInfoList.stream().mapToDouble(ExpenseInfo::getAmountMoney).sum();
|
|
}
|
|
}
|
|
//本次金额加上已请款金额>总粮款时
|
|
//本次金额加上已请款金额>总粮款时
|
|
- if (money+expenseInfo.getAmountMoney()>grainFund){
|
|
|
|
- throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
|
|
|
|
- }
|
|
|
|
|
|
+// if (money+expenseInfo.getAmountMoney()>grainFund){
|
|
|
|
+// throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
|
|
|
|
+// }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|