From eda28374083dbb6cf58c4d1fb6794e6d261c2a45 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 23 Sep 2021 15:47:03 +0800 Subject: [PATCH] 20210923 --- src/main/resources/mapper/modules/MallMemberMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml index 7bb5e5d..148abc5 100644 --- a/src/main/resources/mapper/modules/MallMemberMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberMapper.xml @@ -42,4 +42,15 @@ where a.id = #{id} </select> + <select id="selectInfoByAccount" resultType="cc.mrbird.febs.mall.entity.MallMember"> + select * from mall_member where phone=#{account} or email=#{account} + </select> + + <select id="selectInfoByInviteId" resultType="cc.mrbird.febs.mall.entity.MallMember"> + select * from mall_member where invite_id=#{inviteId} + </select> + + <select id="selectInfoByAccountAndPwd" resultType="cc.mrbird.febs.mall.entity.MallMember"> + select * from mall_member where (phone=#{account} or email=#{account}) and password=#{password} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1