From d8fc7a24f8a2be1bc62aa38083a9f3dd3fbb3dc4 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 21 二月 2019 17:40:55 +0800 Subject: [PATCH] 封禁用户相关操作 --- fanli/src/main/java/com/yeshi/fanli/mapping/UserInfoMapper.xml | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/UserInfoMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/UserInfoMapper.xml index 0a056ed..4364985 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/UserInfoMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/UserInfoMapper.xml @@ -186,24 +186,22 @@ `yeshi_ec_hongbao` hb WHERE hb.`uid` = #{id}; </select> <!-- 鏍规嵁AppId涓庡井淇nionID鑾峰彇鐢ㄦ埛 --> - <select id="getUserInfoByAppIdAndWXUnionId" resultMap="BaseResultMap"> + <select id="listByAppIdAndWXUnionId" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from yeshi_ec_user where appid=#{appId} and wx_union_id=#{unionId} - limit 1 </select> <!-- 鏍规嵁AppId涓庢窐瀹漁penId鑾峰彇鐢ㄦ埛 --> - <select id="getUserInfoByAppIdAndTaoBaoOpenId" resultMap="BaseResultMap"> + <select id="listByAppIdAndTaoBaoOpenId" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from yeshi_ec_user where appid=#{appId} and identifycode=#{openId} - limit 1 </select> <!-- 鏍规嵁AppId涓庣數璇濆彿鐮佽幏鍙栫敤鎴� --> - <select id="getUserInfoByAppIdAndPhone" resultMap="BaseResultMap"> + <select id="listByAppIdAndPhone" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> - from yeshi_ec_user where appid=#{appId} and phone=#{phone} limit 1 + from yeshi_ec_user where appid=#{appId} and phone=#{phone} </select> <select id="getMaxUid" resultType="java.lang.Long">select max(id) from yeshi_ec_user -- Gitblit v1.8.0