diff --git a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml
index 01d4a3b6..61c5983b 100644
--- a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml
+++ b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcAppUserMapper.xml
@@ -250,9 +250,6 @@
user_type,
-
- tenant_id,
-
open_id,
@@ -318,6 +315,8 @@
user_type as userType,
open_id as openId,
status as status
- from xhpc_user_login type=#{type} and open_id=#{openid}
+ from xhpc_user_login
+ where type = #{type}
+ and open_id = #{openid}