合并
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
</sql>
|
||||
|
||||
<sql id="selectSysOrderPauseVo">
|
||||
select id, order_id, cus_id, out_id, pause_start_date, pause_end_date, reason, remarks, create_time, create_by, update_time, update_by, del_flag from sys_recipes_pause sop
|
||||
select id, order_id, cus_id, pause_start_date, pause_end_date, reason, remarks, create_time, create_by, update_time, update_by, del_flag from sys_recipes_pause sop
|
||||
</sql>
|
||||
|
||||
<select id="selectSysOrderPauseList" parameterType="SysOrderPause" resultMap="SysOrderPauseResult">
|
||||
@ -86,7 +86,7 @@
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="orderId != null">order_id = #{orderId},</if>
|
||||
<if test="cusId != null">cus_id = #{cusId},</if>
|
||||
<if test="outId != null">out_id = #{outId},</if>
|
||||
<if test="cusId != null">out_id = md5(#{cusId}),</if>
|
||||
<if test="pauseStartDate != null">pause_start_date = #{pauseStartDate},</if>
|
||||
<if test="pauseEndDate != null">pause_end_date = #{pauseEndDate},</if>
|
||||
<if test="reason != null">reason = #{reason},</if>
|
||||
|
@ -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"/>
|
||||
@ -19,10 +20,11 @@
|
||||
<result property="updateBy" column="update_by"/>
|
||||
<result property="updateTime" column="update_time"/>
|
||||
<result property="remark" column="remark"/>
|
||||
<result property="language" column="language"/>
|
||||
</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 +56,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>
|
||||
@ -65,11 +68,13 @@
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="language != null">language,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<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>
|
||||
@ -81,6 +86,7 @@
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="language != null">#{language},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -89,6 +95,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>
|
||||
@ -100,6 +107,7 @@
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="language != null">language = #{language},</if>
|
||||
</trim>
|
||||
where openid = #{openid}
|
||||
</update>
|
||||
|
Reference in New Issue
Block a user