整理小程序接口
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
<resultMap type="SysWxUserInfo" id="SysWxUserInfoResult">
|
||||
<result property="openid" column="openid"/>
|
||||
<result property="cusId" column="cus_id"/>
|
||||
<result property="nickName" column="nick_name"/>
|
||||
<result property="appid" column="appid"/>
|
||||
<result property="phone" column="phone"/>
|
||||
@ -22,7 +23,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSysWxUserInfoVo">
|
||||
select openid, nick_name, appid, phone, avatar_url, sex, city, province, country, create_by, create_time, update_by, update_time, remark from sys_wx_user_info
|
||||
select * from sys_wx_user_info
|
||||
</sql>
|
||||
|
||||
<select id="selectSysWxUserInfoList" parameterType="SysWxUserInfo" resultMap="SysWxUserInfoResult">
|
||||
@ -54,6 +55,7 @@
|
||||
<if test="openid != null">openid,</if>
|
||||
<if test="nickName != null">nick_name,</if>
|
||||
<if test="appid != null">appid,</if>
|
||||
<if test="cusId != null">cus_id,</if>
|
||||
<if test="phone != null">phone,</if>
|
||||
<if test="avatarUrl != null">avatar_url,</if>
|
||||
<if test="sex != null">sex,</if>
|
||||
@ -70,6 +72,7 @@
|
||||
<if test="openid != null">#{openid},</if>
|
||||
<if test="nickName != null">#{nickName},</if>
|
||||
<if test="appid != null">#{appid},</if>
|
||||
<if test="cusId != null">#{cusId},</if>
|
||||
<if test="phone != null">#{phone},</if>
|
||||
<if test="avatarUrl != null">#{avatarUrl},</if>
|
||||
<if test="sex != null">#{sex},</if>
|
||||
@ -89,6 +92,7 @@
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="nickName != null">nick_name = #{nickName},</if>
|
||||
<if test="appid != null">appid = #{appid},</if>
|
||||
<if test="cusId != null">cus_id = #{cusId},</if>
|
||||
<if test="phone != null">phone = #{phone},</if>
|
||||
<if test="avatarUrl != null">avatar_url = #{avatarUrl},</if>
|
||||
<if test="sex != null">sex = #{sex},</if>
|
||||
|
Reference in New Issue
Block a user