From 705923fdc6e615a0435c85d3d60eab0180b79a68 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期日, 03 一月 2021 00:44:17 +0800
Subject: [PATCH] 优化 SQL语句错误问题

---
 java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml
index 3bc17a7..70acccb 100644
--- a/java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml
@@ -551,7 +551,7 @@
             and ua.status_cd = '0'
         </if>
         <if test="key != null and key != ''">
-            and u.user_id = ua.user_id
+            and u.user_id = ub.user_id
             and ub.spec_cd = '100202061602'
             and ub.value = #{key}
             and ub.status_cd = '0'

--
Gitblit v1.8.0