gongdecai 2 năm trước cách đây
mục cha
commit
60a5567807

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

@@ -277,9 +277,9 @@ public class ExpenseInfoServiceImpl extends ServiceImpl<ExpenseInfoMapper, Expen
                             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();
                         }
                         //本次金额加上已请款金额>总粮款时
-                        if (money+expenseInfo.getAmountMoney()>grainFund){
-                            throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
-                        }
+//                        if (money+expenseInfo.getAmountMoney()>grainFund){
+//                            throw new YException(YExceptionEnum.AMOUNT_EXCEEDS__ERROR);
+//                        }
                     }
                 }