diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/command/withdrawaudit/user/WithdrawAuditUserCommandController.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/command/withdrawaudit/user/WithdrawAuditUserCommandController.java index e6101ea..e2ae9b9 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/api/command/withdrawaudit/user/WithdrawAuditUserCommandController.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/api/command/withdrawaudit/user/WithdrawAuditUserCommandController.java @@ -56,15 +56,15 @@ public class WithdrawAuditUserCommandController { withdrawAudit.setIdentityType(IdentityTypeEnum.INDIVIDUAL); withdrawAudit.setWalletAccountUserId(userId); //新手任务完成才可以提现 - Matchmaker matchmaker = matchmakerQueryService.queryByUserId(userId); - MatchmakerLevelEnum matchmakerLevel = matchmakerQueryService.queryLevelByUserId(userId); - if (Objects.nonNull(matchmakerLevel) && MatchmakerLevelEnum.MATCHMAKER_PARTNER.getLevel() >= matchmakerLevel.getLevel()) { - MatchmakerNoviceTaskProgress matchmakerNoviceTaskProgress = matchmakerNoviceTaskProgressQueryService.queryByMatchmakerId(matchmaker.getId()); - if (Objects.nonNull(matchmakerNoviceTaskProgress) && !matchmakerNoviceTaskProgress.getIsFinish()) { - //红娘未完成新手任务不能提现 - throw new BizException("未完成新手任务不能提现"); - } - } +// Matchmaker matchmaker = matchmakerQueryService.queryByUserId(userId); +// MatchmakerLevelEnum matchmakerLevel = matchmakerQueryService.queryLevelByUserId(userId); +// if (Objects.nonNull(matchmakerLevel) && MatchmakerLevelEnum.MATCHMAKER_PARTNER.getLevel() >= matchmakerLevel.getLevel()) { +// MatchmakerNoviceTaskProgress matchmakerNoviceTaskProgress = matchmakerNoviceTaskProgressQueryService.queryByMatchmakerId(matchmaker.getId()); +// if (Objects.nonNull(matchmakerNoviceTaskProgress) && !matchmakerNoviceTaskProgress.getIsFinish()) { +// //红娘未完成新手任务不能提现 +// throw new BizException("未完成新手任务不能提现"); +// } +// } } List fieldList = ThirdPartyFieldAssembler.from(dto.getThirdPartyFields()); withdrawAuditApplicationService.applyWithdraw(withdrawAudit, fieldList, appId);