|
@@ -4,6 +4,7 @@
|
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.longarticle.TitleAudit">
|
|
|
<id column="content_id" jdbcType="VARCHAR" property="contentId" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
+ <result column="flow_pool_level" jdbcType="VARCHAR" property="flowPoolLevel" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="audit_account" jdbcType="VARCHAR" property="auditAccount" />
|
|
|
<result column="audit_timestamp" jdbcType="BIGINT" property="auditTimestamp" />
|
|
@@ -67,7 +68,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- content_id, `status`, create_timestamp, audit_account, audit_timestamp
|
|
|
+ content_id, `status`, flow_pool_level, create_timestamp, audit_account, audit_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.TitleAuditExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -103,10 +104,12 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.TitleAudit">
|
|
|
- insert into long_articles_title_audit (content_id, `status`, create_timestamp,
|
|
|
- audit_account, audit_timestamp)
|
|
|
- values (#{contentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT},
|
|
|
- #{auditAccount,jdbcType=VARCHAR}, #{auditTimestamp,jdbcType=BIGINT})
|
|
|
+ insert into long_articles_title_audit (content_id, `status`, flow_pool_level,
|
|
|
+ create_timestamp, audit_account, audit_timestamp
|
|
|
+ )
|
|
|
+ values (#{contentId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
+ #{createTimestamp,jdbcType=BIGINT}, #{auditAccount,jdbcType=VARCHAR}, #{auditTimestamp,jdbcType=BIGINT}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.TitleAudit">
|
|
|
insert into long_articles_title_audit
|
|
@@ -117,6 +120,9 @@
|
|
|
<if test="status != null">
|
|
|
`status`,
|
|
|
</if>
|
|
|
+ <if test="flowPoolLevel != null">
|
|
|
+ flow_pool_level,
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
create_timestamp,
|
|
|
</if>
|
|
@@ -134,6 +140,9 @@
|
|
|
<if test="status != null">
|
|
|
#{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="flowPoolLevel != null">
|
|
|
+ #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
#{createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -160,6 +169,9 @@
|
|
|
<if test="record.status != null">
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="record.flowPoolLevel != null">
|
|
|
+ flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.createTimestamp != null">
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -178,6 +190,7 @@
|
|
|
update long_articles_title_audit
|
|
|
set content_id = #{record.contentId,jdbcType=VARCHAR},
|
|
|
`status` = #{record.status,jdbcType=INTEGER},
|
|
|
+ flow_pool_level = #{record.flowPoolLevel,jdbcType=VARCHAR},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
audit_account = #{record.auditAccount,jdbcType=VARCHAR},
|
|
|
audit_timestamp = #{record.auditTimestamp,jdbcType=BIGINT}
|
|
@@ -191,6 +204,9 @@
|
|
|
<if test="status != null">
|
|
|
`status` = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="flowPoolLevel != null">
|
|
|
+ flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="createTimestamp != null">
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -206,6 +222,7 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.TitleAudit">
|
|
|
update long_articles_title_audit
|
|
|
set `status` = #{status,jdbcType=INTEGER},
|
|
|
+ flow_pool_level = #{flowPoolLevel,jdbcType=VARCHAR},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
audit_account = #{auditAccount,jdbcType=VARCHAR},
|
|
|
audit_timestamp = #{auditTimestamp,jdbcType=BIGINT}
|