|
|
@@ -238,6 +238,11 @@ public class UserMoneyWithdrawApplyService {
|
|
|
if (SecurityUtils.getAuthenticatedUser().isTemporal()) {
|
|
|
throw new BusinessException("扫码进入无法提现");
|
|
|
}
|
|
|
+ List<UserMoneyWithdrawApply> userMoneyWithdrawApplies = userMoneyWithdrawApplyRepo
|
|
|
+ .findAllByUserIdAndStatus(userId, WithdrawApplyStatus.APPLY);
|
|
|
+ if (userMoneyWithdrawApplies.size() > 0) {
|
|
|
+ throw new BusinessException("已经有提现申请,请勿重复提现");
|
|
|
+ }
|
|
|
UserMoneyWithdrawApply apply = apply(userId, method, account, name);
|
|
|
if (!apply.getMethod().equals(WithdrawMethod.OFFLINE)) {
|
|
|
try {
|