|
@@ -10,6 +10,7 @@
|
|
<result column="push_type" jdbcType="INTEGER" property="pushType" />
|
|
<result column="push_type" jdbcType="INTEGER" property="pushType" />
|
|
<result column="publish_num" jdbcType="INTEGER" property="publishNum" />
|
|
<result column="publish_num" jdbcType="INTEGER" property="publishNum" />
|
|
<result column="exclude_content_index" jdbcType="VARCHAR" property="excludeContentIndex" />
|
|
<result column="exclude_content_index" jdbcType="VARCHAR" property="excludeContentIndex" />
|
|
|
|
+ <result column="open_status" jdbcType="INTEGER" property="openStatus" />
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
<result column="is_delete" jdbcType="INTEGER" property="isDelete" />
|
|
<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" />
|
|
@@ -74,7 +75,7 @@
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
id, special_setting_id, effective_date, account_id, publish_push_time, push_type,
|
|
id, special_setting_id, effective_date, account_id, publish_push_time, push_type,
|
|
- publish_num, exclude_content_index, is_delete, create_time, update_time
|
|
|
|
|
|
+ publish_num, exclude_content_index, open_status, is_delete, create_time, update_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettingsExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettingsExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -112,12 +113,14 @@
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettings">
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettings">
|
|
insert into long_articles_account_special_settings (id, special_setting_id, effective_date,
|
|
insert into long_articles_account_special_settings (id, special_setting_id, effective_date,
|
|
account_id, publish_push_time, push_type,
|
|
account_id, publish_push_time, push_type,
|
|
- publish_num, exclude_content_index, is_delete,
|
|
|
|
- create_time, update_time)
|
|
|
|
|
|
+ publish_num, exclude_content_index, open_status,
|
|
|
|
+ is_delete, create_time, update_time
|
|
|
|
+ )
|
|
values (#{id,jdbcType=BIGINT}, #{specialSettingId,jdbcType=VARCHAR}, #{effectiveDate,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=BIGINT}, #{specialSettingId,jdbcType=VARCHAR}, #{effectiveDate,jdbcType=VARCHAR},
|
|
#{accountId,jdbcType=VARCHAR}, #{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER},
|
|
#{accountId,jdbcType=VARCHAR}, #{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER},
|
|
- #{publishNum,jdbcType=INTEGER}, #{excludeContentIndex,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER},
|
|
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
|
+ #{publishNum,jdbcType=INTEGER}, #{excludeContentIndex,jdbcType=VARCHAR}, #{openStatus,jdbcType=INTEGER},
|
|
|
|
+ #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettings">
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.AccountSpecialSettings">
|
|
insert into long_articles_account_special_settings
|
|
insert into long_articles_account_special_settings
|
|
@@ -146,6 +149,9 @@
|
|
<if test="excludeContentIndex != null">
|
|
<if test="excludeContentIndex != null">
|
|
exclude_content_index,
|
|
exclude_content_index,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="openStatus != null">
|
|
|
|
+ open_status,
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
is_delete,
|
|
is_delete,
|
|
</if>
|
|
</if>
|
|
@@ -181,6 +187,9 @@
|
|
<if test="excludeContentIndex != null">
|
|
<if test="excludeContentIndex != null">
|
|
#{excludeContentIndex,jdbcType=VARCHAR},
|
|
#{excludeContentIndex,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="openStatus != null">
|
|
|
|
+ #{openStatus,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
#{isDelete,jdbcType=INTEGER},
|
|
#{isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -225,6 +234,9 @@
|
|
<if test="record.excludeContentIndex != null">
|
|
<if test="record.excludeContentIndex != null">
|
|
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
|
|
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.openStatus != null">
|
|
|
|
+ open_status = #{record.openStatus,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="record.isDelete != null">
|
|
<if test="record.isDelete != null">
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -249,6 +261,7 @@
|
|
push_type = #{record.pushType,jdbcType=INTEGER},
|
|
push_type = #{record.pushType,jdbcType=INTEGER},
|
|
publish_num = #{record.publishNum,jdbcType=INTEGER},
|
|
publish_num = #{record.publishNum,jdbcType=INTEGER},
|
|
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
|
|
exclude_content_index = #{record.excludeContentIndex,jdbcType=VARCHAR},
|
|
|
|
+ open_status = #{record.openStatus,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,jdbcType=INTEGER},
|
|
is_delete = #{record.isDelete,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}
|
|
@@ -280,6 +293,9 @@
|
|
<if test="excludeContentIndex != null">
|
|
<if test="excludeContentIndex != null">
|
|
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
|
|
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="openStatus != null">
|
|
|
|
+ open_status = #{openStatus,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="isDelete != null">
|
|
<if test="isDelete != null">
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -301,6 +317,7 @@
|
|
push_type = #{pushType,jdbcType=INTEGER},
|
|
push_type = #{pushType,jdbcType=INTEGER},
|
|
publish_num = #{publishNum,jdbcType=INTEGER},
|
|
publish_num = #{publishNum,jdbcType=INTEGER},
|
|
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
|
|
exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
|
|
|
|
+ open_status = #{openStatus,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
is_delete = #{isDelete,jdbcType=INTEGER},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|