feat:余额必须留100元用于公务餐
This commit is contained in:
1 parent
b914931b37
commit
a3c441a083
1 file changed
+2
-2
+2
-2
@@ -73,8 +73,8 @@ public class WalletRuleTransactionServiceImpl extends ServiceImpl<WalletRuleTran
|
||||
}
|
||||
// 查询源饭卡
|
||||
if (ObjectUtil.equals(userConfig.getSourceWalletUniqueCode(), WalletTypeEnum.EAT.getCode())) {
|
||||
if (price < 5000) {
|
||||
throw new RuntimeException(WalletTypeEnum.EAT.getDesc() + "余额必须留50元用于公午餐");
|
||||
if (price < 10000) {
|
||||
throw new RuntimeException(WalletTypeEnum.EAT.getDesc() + "余额必须留100元用于公务餐");
|
||||
}
|
||||
}
|
||||
// 是否已经超过最大限制
|
||||
|
||||
Reference in new issue
Block a user