更新用户列表查询逻辑
This commit is contained in:
		| @@ -36,11 +36,14 @@ | ||||
|     </select> | ||||
|  | ||||
|     <select id="selectSysWxUserInfoListNot" parameterType="SysWxUserInfo" resultMap="SysWxUserInfoResult"> | ||||
|         select openid, nick_name, appid, phone, avatar_url, sex from sys_wx_user_info right join sys_order using(phone) | ||||
|         select user.openid, user.nick_name, user.appid, user.phone, user.avatar_url, user.sex, user.update_time from sys_wx_user_info user | ||||
|         right join sys_order | ||||
|         on user.phone = sys_order.phone | ||||
|         <where> | ||||
|             <if test="appid != null  and appid != ''">and appid = #{appid}</if> | ||||
|             <if test="openid != null  and openid != ''">and openid != #{openid}</if> | ||||
|         </where> | ||||
|         order by update_time desc | ||||
|     </select> | ||||
|  | ||||
|     <select id="selectSysWxUserInfoById" parameterType="String" resultMap="SysWxUserInfoResult"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user