|
@@ -7,6 +7,7 @@
|
|
|
<result column="account_id" jdbcType="BIGINT" property="accountId" />
|
|
|
<result column="scene" jdbcType="INTEGER" property="scene" />
|
|
|
<result column="external_id" jdbcType="VARCHAR" property="externalId" />
|
|
|
+ <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, publish_stage, account_id, scene, external_id, create_account_id, create_timestamp,
|
|
|
+ id, publish_stage, account_id, scene, external_id, `status`, create_account_id, create_timestamp,
|
|
|
update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlanExample" resultMap="BaseResultMap">
|
|
@@ -108,11 +109,13 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformGzhPlan">
|
|
|
insert into content_platform_gzh_plan (id, publish_stage, account_id,
|
|
|
- scene, external_id, create_account_id,
|
|
|
- create_timestamp, update_timestamp)
|
|
|
+ scene, external_id, `status`,
|
|
|
+ create_account_id, create_timestamp, update_timestamp
|
|
|
+ )
|
|
|
values (#{id,jdbcType=BIGINT}, #{publishStage,jdbcType=INTEGER}, #{accountId,jdbcType=BIGINT},
|
|
|
- #{scene,jdbcType=INTEGER}, #{externalId,jdbcType=VARCHAR}, #{createAccountId,jdbcType=BIGINT},
|
|
|
- #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT})
|
|
|
+ #{scene,jdbcType=INTEGER}, #{externalId,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.ContentPlatformGzhPlan">
|
|
|
insert into content_platform_gzh_plan
|
|
@@ -132,6 +135,9 @@
|
|
|
<if test="externalId != null">
|
|
|
external_id,
|
|
|
</if>
|
|
|
+ <if test="status != null">
|
|
|
+ `status`,
|
|
|
+ </if>
|
|
|
<if test="createAccountId != null">
|
|
|
create_account_id,
|
|
|
</if>
|
|
@@ -158,6 +164,9 @@
|
|
|
<if test="externalId != null">
|
|
|
#{externalId,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.externalId != null">
|
|
|
external_id = #{record.externalId,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 @@
|
|
|
account_id = #{record.accountId,jdbcType=BIGINT},
|
|
|
scene = #{record.scene,jdbcType=INTEGER},
|
|
|
external_id = #{record.externalId,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="externalId != null">
|
|
|
external_id = #{externalId,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 @@
|
|
|
account_id = #{accountId,jdbcType=BIGINT},
|
|
|
scene = #{scene,jdbcType=INTEGER},
|
|
|
external_id = #{externalId,jdbcType=VARCHAR},
|
|
|
+ `status` = #{status,jdbcType=INTEGER},
|
|
|
create_account_id = #{createAccountId,jdbcType=BIGINT},
|
|
|
create_timestamp = #{createTimestamp,jdbcType=BIGINT},
|
|
|
update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
|