From e497a05ce312d26864b0c23cad97da9eb32c2cc1 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 10 Nov 2021 16:01:34 +0800 Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop --- gc-user/src/main/resources/mapper/user/AccountMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/gc-user/src/main/resources/mapper/user/AccountMapper.xml b/gc-user/src/main/resources/mapper/user/AccountMapper.xml index 3eff87a..a417c05 100644 --- a/gc-user/src/main/resources/mapper/user/AccountMapper.xml +++ b/gc-user/src/main/resources/mapper/user/AccountMapper.xml @@ -547,4 +547,16 @@ ) </select> + <select id="selectAccountInfoByIds" resultType="com.xzx.gc.entity.AccountInfo"> + select * from xzx_account_info + where account_id in + <foreach collection="list" index="index" item="id" separator="," open="(" close=")"> + #{id} + </foreach> + </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