From 0e5aaeba97021c289485a652ec6af0bb37f92af7 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Tue, 30 Nov 2021 20:29:46 +0800 Subject: [PATCH] fix 40 to 50 --- gc-order/src/main/resources/mapper/order/AccountMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gc-order/src/main/resources/mapper/order/AccountMapper.xml b/gc-order/src/main/resources/mapper/order/AccountMapper.xml index 0a1e6f5..42c68ad 100644 --- a/gc-order/src/main/resources/mapper/order/AccountMapper.xml +++ b/gc-order/src/main/resources/mapper/order/AccountMapper.xml @@ -89,4 +89,12 @@ </update> + <select id="selectAccountInfoByUserId" resultType="com.xzx.gc.entity.AccountInfo"> + select * from xzx_account_info where user_id=#{userId} + </select> + + <select id="selectAccountInfoByPhone" resultType="com.xzx.gc.entity.AccountInfo"> + select a.* from xzx_account_info a, xzx_user_info b + where a.user_id=b.user_id and b.mobile_phone=#{phone} + </select> </mapper> -- Gitblit v1.9.1