|
@@ -3,7 +3,6 @@
|
|
|
<mapper namespace="com.tzld.piaoquan.api.dao.mapper.contentplatform.ContentPlatformQwPlanMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
- <result column="publish_stage" jdbcType="INTEGER" property="publishStage" />
|
|
|
<result column="type" jdbcType="INTEGER" property="type" />
|
|
|
<result column="scene" jdbcType="INTEGER" property="scene" />
|
|
|
<result column="page_url" jdbcType="VARCHAR" property="pageUrl" />
|
|
@@ -71,7 +70,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, publish_stage, `type`, scene, page_url, root_source_id, create_account_id, create_timestamp,
|
|
|
+ id, `type`, scene, page_url, root_source_id, create_account_id, create_timestamp,
|
|
|
update_timestamp
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlanExample" resultMap="BaseResultMap">
|
|
@@ -108,14 +107,12 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
- insert into content_platform_qw_plan (id, publish_stage, `type`,
|
|
|
- scene, page_url, root_source_id,
|
|
|
- create_account_id, create_timestamp, update_timestamp
|
|
|
- )
|
|
|
- values (#{id,jdbcType=BIGINT}, #{publishStage,jdbcType=INTEGER}, #{type,jdbcType=INTEGER},
|
|
|
- #{scene,jdbcType=INTEGER}, #{pageUrl,jdbcType=VARCHAR}, #{rootSourceId,jdbcType=VARCHAR},
|
|
|
- #{createAccountId,jdbcType=BIGINT}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
|
|
|
- )
|
|
|
+ insert into content_platform_qw_plan (id, `type`, scene,
|
|
|
+ page_url, root_source_id, 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})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
insert into content_platform_qw_plan
|
|
@@ -123,9 +120,6 @@
|
|
|
<if test="id != null">
|
|
|
id,
|
|
|
</if>
|
|
|
- <if test="publishStage != null">
|
|
|
- publish_stage,
|
|
|
- </if>
|
|
|
<if test="type != null">
|
|
|
`type`,
|
|
|
</if>
|
|
@@ -152,9 +146,6 @@
|
|
|
<if test="id != null">
|
|
|
#{id,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="publishStage != null">
|
|
|
- #{publishStage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="type != null">
|
|
|
#{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -190,9 +181,6 @@
|
|
|
<if test="record.id != null">
|
|
|
id = #{record.id,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="record.publishStage != null">
|
|
|
- publish_stage = #{record.publishStage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="record.type != null">
|
|
|
`type` = #{record.type,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -222,7 +210,6 @@
|
|
|
<update id="updateByExample" parameterType="map">
|
|
|
update content_platform_qw_plan
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
- publish_stage = #{record.publishStage,jdbcType=INTEGER},
|
|
|
`type` = #{record.type,jdbcType=INTEGER},
|
|
|
scene = #{record.scene,jdbcType=INTEGER},
|
|
|
page_url = #{record.pageUrl,jdbcType=VARCHAR},
|
|
@@ -237,9 +224,6 @@
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
update content_platform_qw_plan
|
|
|
<set>
|
|
|
- <if test="publishStage != null">
|
|
|
- publish_stage = #{publishStage,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="type != null">
|
|
|
`type` = #{type,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -266,8 +250,7 @@
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
|
update content_platform_qw_plan
|
|
|
- set publish_stage = #{publishStage,jdbcType=INTEGER},
|
|
|
- `type` = #{type,jdbcType=INTEGER},
|
|
|
+ set `type` = #{type,jdbcType=INTEGER},
|
|
|
scene = #{scene,jdbcType=INTEGER},
|
|
|
page_url = #{pageUrl,jdbcType=VARCHAR},
|
|
|
root_source_id = #{rootSourceId,jdbcType=VARCHAR},
|