From 00a8e2f76d02cfc17ca9ff156aa97f85bae5897d Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 09 Aug 2021 16:50:55 +0800 Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop --- gc-order/src/main/resources/mapper/order/AccountMapper.xml | 5 +++++ 1 files changed, 5 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 3fa509e..42c68ad 100644 --- a/gc-order/src/main/resources/mapper/order/AccountMapper.xml +++ b/gc-order/src/main/resources/mapper/order/AccountMapper.xml @@ -92,4 +92,9 @@ <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