TASK:邮箱;
This commit is contained in:
@@ -482,7 +482,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
}
|
||||
// 先检测用户名和邮箱
|
||||
QueryWrapper<Account> qw = new QueryWrapper<>();
|
||||
qw.eq("BINARY email", accountTrialDTO.getEmail());
|
||||
qw.eq("BINARY user_email", accountTrialDTO.getEmail());
|
||||
List<Account> accountList = accountMapper.selectList(qw);
|
||||
if (CollectionUtil.isNotEmpty(accountList)) {
|
||||
if (accountList.get(0).getIsTrial() == 1) {
|
||||
@@ -558,7 +558,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
trialOrderMapper.updateById(trialOrder);
|
||||
|
||||
QueryWrapper<Account> qw = new QueryWrapper<>();
|
||||
qw.eq("BINARY email", trialOrder.getEmail());
|
||||
qw.eq("BINARY user_email", trialOrder.getEmail());
|
||||
List<Account> accountList = accountMapper.selectList(qw);
|
||||
|
||||
Account account = new Account();
|
||||
|
||||
Reference in New Issue
Block a user