|
@@ -16,10 +16,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="corpId" column="corp_id" />
|
|
<result property="corpId" column="corp_id" />
|
|
|
|
+ <result property="welcomeTitle" column="welcome_title" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectQwFriendWelcomeVo">
|
|
<sql id="selectQwFriendWelcomeVo">
|
|
- select id, qw_user_ids,corp_id, is_send_msg, welcome_text, attachments, is_dayparting, dayparting_ItemList, company_id, create_time, update_time from qw_friend_welcome
|
|
|
|
|
|
+ select id, qw_user_ids,corp_id,welcome_title, is_send_msg, welcome_text, attachments, is_dayparting, dayparting_ItemList, company_id, create_time, update_time from qw_friend_welcome
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectQwFriendWelcomeListVO" parameterType="QwFriendWelcome" resultMap="QwFriendWelcomeResult">
|
|
<select id="selectQwFriendWelcomeListVO" parameterType="QwFriendWelcome" resultMap="QwFriendWelcomeResult">
|
|
@@ -33,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
|
<if test="corpId != null "> and corp_id = #{corpId}</if>
|
|
<if test="corpId != null "> and corp_id = #{corpId}</if>
|
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
|
|
+ <if test="welcomeTitle != null "> and welcome_title = #{welcomeTitle}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -77,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<insert id="insertQwFriendWelcomeVO" parameterType="QwFriendWelcome" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="insertQwFriendWelcomeVO" parameterType="QwFriendWelcome" useGeneratedKeys="true" keyProperty="id">
|
|
insert into qw_friend_welcome
|
|
insert into qw_friend_welcome
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="welcomeTitle != null">welcome_title,</if>
|
|
<if test="qwUserIds != null">qw_user_ids,</if>
|
|
<if test="qwUserIds != null">qw_user_ids,</if>
|
|
<if test="isSendMsg != null">is_send_msg,</if>
|
|
<if test="isSendMsg != null">is_send_msg,</if>
|
|
<if test="welcomeText != null">welcome_text,</if>
|
|
<if test="welcomeText != null">welcome_text,</if>
|
|
@@ -91,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="corpId != null">corp_id,</if>
|
|
<if test="corpId != null">corp_id,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="welcomeTitle != null">#{welcomeTitle},</if>
|
|
<if test="qwUserIds != null">#{qwUserIds},</if>
|
|
<if test="qwUserIds != null">#{qwUserIds},</if>
|
|
<if test="isSendMsg != null">#{isSendMsg},</if>
|
|
<if test="isSendMsg != null">#{isSendMsg},</if>
|
|
<if test="welcomeText != null">#{welcomeText},</if>
|
|
<if test="welcomeText != null">#{welcomeText},</if>
|
|
@@ -109,6 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<update id="updateQwFriendWelcome" parameterType="QwFriendWelcome">
|
|
<update id="updateQwFriendWelcome" parameterType="QwFriendWelcome">
|
|
update qw_friend_welcome
|
|
update qw_friend_welcome
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
+ <if test="welcomeTitle != null">welcome_title = #{welcomeTitle},</if>
|
|
<if test="qwUserIds != null">qw_user_ids = #{qwUserIds},</if>
|
|
<if test="qwUserIds != null">qw_user_ids = #{qwUserIds},</if>
|
|
<if test="isSendMsg != null">is_send_msg = #{isSendMsg},</if>
|
|
<if test="isSendMsg != null">is_send_msg = #{isSendMsg},</if>
|
|
<if test="welcomeText != null">welcome_text = #{welcomeText},</if>
|
|
<if test="welcomeText != null">welcome_text = #{welcomeText},</if>
|