|
@@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<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, is_send_msg, welcome_text, attachments, is_dayparting, dayparting_ItemList, company_id, create_time, update_time,project from qw_friend_welcome
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectQwFriendWelcomeListVO" parameterType="QwFriendWelcome" resultMap="QwFriendWelcomeResult">
|
|
@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
|
|
<if test="corpId != null "> and corp_id = #{corpId}</if>
|
|
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
|
|
+ <if test="project != null "> and project = #{project}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="corpId != null">corp_id,</if>
|
|
|
+ <if test="project != null">project,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="qwUserIds != null">#{qwUserIds},</if>
|
|
@@ -66,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="corpId != null">#{corpId},</if>
|
|
|
+ <if test="project != null">#{project},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -82,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="corpId != null">corp_id = #{corpId},</if>
|
|
|
+ <if test="project != null">project = #{project},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|