|
@@ -7,6 +7,7 @@
|
|
|
<result column="scene" jdbcType="INTEGER" property="scene" />
|
|
|
<result column="page_url" jdbcType="VARCHAR" property="pageUrl" />
|
|
|
<result column="root_source_id" jdbcType="VARCHAR" property="rootSourceId" />
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="create_account_id" jdbcType="BIGINT" property="createAccountId" />
|
|
|
<result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
|
|
|
<result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
|
|
@@ -70,7 +71,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, `type`, scene, page_url, root_source_id, create_account_id, create_timestamp,
|
|
|
+ id, `type`, scene, page_url, root_source_id, `status`, create_account_id, create_timestamp,
|
|
|
update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlanExample" resultMap="BaseResultMap">
|
|
@@ -108,11 +109,13 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
insert into content_platform_qw_plan (id, `type`, scene,
|
|
|
- page_url, root_source_id, create_account_id,
|
|
|
- create_timestamp, update_timestamp)
|
|
|
+ page_url, root_source_id, `status`,
|
|
|
+ create_account_id, create_timestamp, update_timestamp
|
|
|
+ )
|
|
|
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, #{scene,jdbcType=INTEGER},
|
|
|
- #{pageUrl,jdbcType=VARCHAR}, #{rootSourceId,jdbcType=VARCHAR}, #{createAccountId,jdbcType=BIGINT},
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
+ #{pageUrl,jdbcType=VARCHAR}, #{rootSourceId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
+ #{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
insert into content_platform_qw_plan
|
|
@@ -132,6 +135,9 @@
|
|
|
<if test="rootSourceId != null">
|
|
|
root_source_id,
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ `status`,
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
|
create_account_id,
|
|
|
</if>
|
|
@@ -158,6 +164,9 @@
|
|
|
<if test="rootSourceId != null">
|
|
|
#{rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
|
#{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -193,6 +202,9 @@
|
|
|
<if test="record.rootSourceId != null">
|
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.status != null">
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.createAccountId != null">
|
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -214,6 +226,7 @@
|
|
|
scene = #{record.scene,jdbcType=INTEGER},
|
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
|
root_source_id = #{record.rootSourceId,jdbcType=VARCHAR},
|
|
|
+ `status` = #{record.status,jdbcType=INTEGER},
|
|
|
create_account_id = #{record.createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
|
|
@@ -236,6 +249,9 @@
|
|
|
<if test="rootSourceId != null">
|
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
</if>
|
|
@@ -254,6 +270,7 @@
|
|
|
scene = #{scene,jdbcType=INTEGER},
|
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|