|
@@ -13,6 +13,7 @@
|
|
<result column="page_size" jdbcType="INTEGER" property="pageSize" />
|
|
<result column="page_size" jdbcType="INTEGER" property="pageSize" />
|
|
<result column="tag_id" jdbcType="BIGINT" property="tagId" />
|
|
<result column="tag_id" jdbcType="BIGINT" property="tagId" />
|
|
<result column="gender" jdbcType="INTEGER" property="gender" />
|
|
<result column="gender" jdbcType="INTEGER" property="gender" />
|
|
|
|
+ <result column="is_send" jdbcType="INTEGER" property="isSend" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
</resultMap>
|
|
</resultMap>
|
|
@@ -76,7 +77,7 @@
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
id, pre_send_date, staff_id, `status`, content, attachment_ids, group_msg_disabled,
|
|
id, pre_send_date, staff_id, `status`, content, attachment_ids, group_msg_disabled,
|
|
- page_num, page_size, tag_id, gender, create_time, update_time
|
|
|
|
|
|
+ page_num, page_size, tag_id, gender, is_send, create_time, update_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.growth.common.model.po.PreSpecialSendMessageExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.growth.common.model.po.PreSpecialSendMessageExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -115,13 +116,13 @@
|
|
insert into we_com_special_pre_send_message (id, pre_send_date, staff_id,
|
|
insert into we_com_special_pre_send_message (id, pre_send_date, staff_id,
|
|
`status`, content, attachment_ids,
|
|
`status`, content, attachment_ids,
|
|
group_msg_disabled, page_num, page_size,
|
|
group_msg_disabled, page_num, page_size,
|
|
- tag_id, gender, create_time,
|
|
|
|
- update_time)
|
|
|
|
|
|
+ tag_id, gender, is_send,
|
|
|
|
+ create_time, update_time)
|
|
values (#{id,jdbcType=BIGINT}, #{preSendDate,jdbcType=VARCHAR}, #{staffId,jdbcType=BIGINT},
|
|
values (#{id,jdbcType=BIGINT}, #{preSendDate,jdbcType=VARCHAR}, #{staffId,jdbcType=BIGINT},
|
|
#{status,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{attachmentIds,jdbcType=VARCHAR},
|
|
#{status,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{attachmentIds,jdbcType=VARCHAR},
|
|
#{groupMsgDisabled,jdbcType=INTEGER}, #{pageNum,jdbcType=INTEGER}, #{pageSize,jdbcType=INTEGER},
|
|
#{groupMsgDisabled,jdbcType=INTEGER}, #{pageNum,jdbcType=INTEGER}, #{pageSize,jdbcType=INTEGER},
|
|
- #{tagId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
- #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
+ #{tagId,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, #{isSend,jdbcType=INTEGER},
|
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.growth.common.model.po.PreSpecialSendMessage">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.growth.common.model.po.PreSpecialSendMessage">
|
|
insert into we_com_special_pre_send_message
|
|
insert into we_com_special_pre_send_message
|
|
@@ -159,6 +160,9 @@
|
|
<if test="gender != null">
|
|
<if test="gender != null">
|
|
gender,
|
|
gender,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isSend != null">
|
|
|
|
+ is_send,
|
|
|
|
+ </if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
create_time,
|
|
create_time,
|
|
</if>
|
|
</if>
|
|
@@ -200,6 +204,9 @@
|
|
<if test="gender != null">
|
|
<if test="gender != null">
|
|
#{gender,jdbcType=INTEGER},
|
|
#{gender,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isSend != null">
|
|
|
|
+ #{isSend,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
@@ -250,6 +257,9 @@
|
|
<if test="record.gender != null">
|
|
<if test="record.gender != null">
|
|
gender = #{record.gender,jdbcType=INTEGER},
|
|
gender = #{record.gender,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.isSend != null">
|
|
|
|
+ is_send = #{record.isSend,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="record.createTime != null">
|
|
<if test="record.createTime != null">
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
@@ -274,6 +284,7 @@
|
|
page_size = #{record.pageSize,jdbcType=INTEGER},
|
|
page_size = #{record.pageSize,jdbcType=INTEGER},
|
|
tag_id = #{record.tagId,jdbcType=BIGINT},
|
|
tag_id = #{record.tagId,jdbcType=BIGINT},
|
|
gender = #{record.gender,jdbcType=INTEGER},
|
|
gender = #{record.gender,jdbcType=INTEGER},
|
|
|
|
+ is_send = #{record.isSend,jdbcType=INTEGER},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -313,6 +324,9 @@
|
|
<if test="gender != null">
|
|
<if test="gender != null">
|
|
gender = #{gender,jdbcType=INTEGER},
|
|
gender = #{gender,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isSend != null">
|
|
|
|
+ is_send = #{isSend,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="createTime != null">
|
|
<if test="createTime != null">
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
</if>
|
|
</if>
|
|
@@ -334,6 +348,7 @@
|
|
page_size = #{pageSize,jdbcType=INTEGER},
|
|
page_size = #{pageSize,jdbcType=INTEGER},
|
|
tag_id = #{tagId,jdbcType=BIGINT},
|
|
tag_id = #{tagId,jdbcType=BIGINT},
|
|
gender = #{gender,jdbcType=INTEGER},
|
|
gender = #{gender,jdbcType=INTEGER},
|
|
|
|
+ is_send = #{isSend,jdbcType=INTEGER},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|