From 6e64eb741a3be378bf4694b5a36407cfe62f38f8 Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Mon, 20 May 2024 22:32:45 +0800 Subject: [PATCH] =?UTF-8?q?TASK:=E9=82=AE=E7=AE=B1;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/service/impl/AccountServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java index d8340592..57300f41 100644 --- a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java @@ -482,7 +482,7 @@ public class AccountServiceImpl extends ServiceImpl impl } // 先检测用户名和邮箱 QueryWrapper qw = new QueryWrapper<>(); - qw.eq("BINARY email", accountTrialDTO.getEmail()); + qw.eq("BINARY user_email", accountTrialDTO.getEmail()); List accountList = accountMapper.selectList(qw); if (CollectionUtil.isNotEmpty(accountList)) { if (accountList.get(0).getIsTrial() == 1) { @@ -558,7 +558,7 @@ public class AccountServiceImpl extends ServiceImpl impl trialOrderMapper.updateById(trialOrder); QueryWrapper qw = new QueryWrapper<>(); - qw.eq("BINARY email", trialOrder.getEmail()); + qw.eq("BINARY user_email", trialOrder.getEmail()); List accountList = accountMapper.selectList(qw); Account account = new Account();