|  | @@ -9,7 +9,9 @@
 | 
											
												
													
														|  |      <result column="title" jdbcType="VARCHAR" property="title" />
 |  |      <result column="title" jdbcType="VARCHAR" property="title" />
 | 
											
												
													
														|  |      <result column="video" jdbcType="VARCHAR" property="video" />
 |  |      <result column="video" jdbcType="VARCHAR" property="video" />
 | 
											
												
													
														|  |      <result column="score" jdbcType="DOUBLE" property="score" />
 |  |      <result column="score" jdbcType="DOUBLE" property="score" />
 | 
											
												
													
														|  | 
 |  | +    <result column="status" jdbcType="INTEGER" property="status" />
 | 
											
												
													
														|  |      <result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
 |  |      <result column="create_timestamp" jdbcType="BIGINT" property="createTimestamp" />
 | 
											
												
													
														|  | 
 |  | +    <result column="update_timestamp" jdbcType="BIGINT" property="updateTimestamp" />
 | 
											
												
													
														|  |    </resultMap>
 |  |    </resultMap>
 | 
											
												
													
														|  |    <sql id="Example_Where_Clause">
 |  |    <sql id="Example_Where_Clause">
 | 
											
												
													
														|  |      <where>
 |  |      <where>
 | 
											
										
											
												
													
														|  | @@ -70,7 +72,7 @@
 | 
											
												
													
														|  |      </where>
 |  |      </where>
 | 
											
												
													
														|  |    </sql>
 |  |    </sql>
 | 
											
												
													
														|  |    <sql id="Base_Column_List">
 |  |    <sql id="Base_Column_List">
 | 
											
												
													
														|  | -    id, dt, video_id, category, title, video, score, create_timestamp
 |  | 
 | 
											
												
													
														|  | 
 |  | +    id, dt, video_id, category, title, video, score, `status`, create_timestamp, update_timestamp
 | 
											
												
													
														|  |    </sql>
 |  |    </sql>
 | 
											
												
													
														|  |    <select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideoExample" resultMap="BaseResultMap">
 |  |    <select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideoExample" resultMap="BaseResultMap">
 | 
											
												
													
														|  |      select
 |  |      select
 | 
											
										
											
												
													
														|  | @@ -108,10 +110,12 @@
 | 
											
												
													
														|  |    <insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
 |  |    <insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
 | 
											
												
													
														|  |      insert into content_platform_video (id, dt, video_id, 
 |  |      insert into content_platform_video (id, dt, video_id, 
 | 
											
												
													
														|  |        category, title, video, 
 |  |        category, title, video, 
 | 
											
												
													
														|  | -      score, create_timestamp)
 |  | 
 | 
											
												
													
														|  | 
 |  | +      score, `status`, create_timestamp, 
 | 
											
												
													
														|  | 
 |  | +      update_timestamp)
 | 
											
												
													
														|  |      values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, 
 |  |      values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, 
 | 
											
												
													
														|  |        #{category,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, 
 |  |        #{category,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, 
 | 
											
												
													
														|  | -      #{score,jdbcType=DOUBLE}, #{createTimestamp,jdbcType=BIGINT})
 |  | 
 | 
											
												
													
														|  | 
 |  | +      #{score,jdbcType=DOUBLE}, #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT}, 
 | 
											
												
													
														|  | 
 |  | +      #{updateTimestamp,jdbcType=BIGINT})
 | 
											
												
													
														|  |    </insert>
 |  |    </insert>
 | 
											
												
													
														|  |    <insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
 |  |    <insert id="insertSelective" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideo">
 | 
											
												
													
														|  |      insert into content_platform_video
 |  |      insert into content_platform_video
 | 
											
										
											
												
													
														|  | @@ -137,9 +141,15 @@
 | 
											
												
													
														|  |        <if test="score != null">
 |  |        <if test="score != null">
 | 
											
												
													
														|  |          score,
 |  |          score,
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="status != null">
 | 
											
												
													
														|  | 
 |  | +        `status`,
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="createTimestamp != null">
 |  |        <if test="createTimestamp != null">
 | 
											
												
													
														|  |          create_timestamp,
 |  |          create_timestamp,
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="updateTimestamp != null">
 | 
											
												
													
														|  | 
 |  | +        update_timestamp,
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |      </trim>
 |  |      </trim>
 | 
											
												
													
														|  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 |  |      <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
											
												
													
														|  |        <if test="id != null">
 |  |        <if test="id != null">
 | 
											
										
											
												
													
														|  | @@ -163,9 +173,15 @@
 | 
											
												
													
														|  |        <if test="score != null">
 |  |        <if test="score != null">
 | 
											
												
													
														|  |          #{score,jdbcType=DOUBLE},
 |  |          #{score,jdbcType=DOUBLE},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="status != null">
 | 
											
												
													
														|  | 
 |  | +        #{status,jdbcType=INTEGER},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="createTimestamp != null">
 |  |        <if test="createTimestamp != null">
 | 
											
												
													
														|  |          #{createTimestamp,jdbcType=BIGINT},
 |  |          #{createTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="updateTimestamp != null">
 | 
											
												
													
														|  | 
 |  | +        #{updateTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |      </trim>
 |  |      </trim>
 | 
											
												
													
														|  |    </insert>
 |  |    </insert>
 | 
											
												
													
														|  |    <select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideoExample" resultType="java.lang.Long">
 |  |    <select id="countByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformVideoExample" resultType="java.lang.Long">
 | 
											
										
											
												
													
														|  | @@ -198,9 +214,15 @@
 | 
											
												
													
														|  |        <if test="record.score != null">
 |  |        <if test="record.score != null">
 | 
											
												
													
														|  |          score = #{record.score,jdbcType=DOUBLE},
 |  |          score = #{record.score,jdbcType=DOUBLE},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="record.status != null">
 | 
											
												
													
														|  | 
 |  | +        `status` = #{record.status,jdbcType=INTEGER},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="record.createTimestamp != null">
 |  |        <if test="record.createTimestamp != null">
 | 
											
												
													
														|  |          create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
 |  |          create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="record.updateTimestamp != null">
 | 
											
												
													
														|  | 
 |  | +        update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |      </set>
 |  |      </set>
 | 
											
												
													
														|  |      <if test="_parameter != null">
 |  |      <if test="_parameter != null">
 | 
											
												
													
														|  |        <include refid="Update_By_Example_Where_Clause" />
 |  |        <include refid="Update_By_Example_Where_Clause" />
 | 
											
										
											
												
													
														|  | @@ -215,7 +237,9 @@
 | 
											
												
													
														|  |        title = #{record.title,jdbcType=VARCHAR},
 |  |        title = #{record.title,jdbcType=VARCHAR},
 | 
											
												
													
														|  |        video = #{record.video,jdbcType=VARCHAR},
 |  |        video = #{record.video,jdbcType=VARCHAR},
 | 
											
												
													
														|  |        score = #{record.score,jdbcType=DOUBLE},
 |  |        score = #{record.score,jdbcType=DOUBLE},
 | 
											
												
													
														|  | -      create_timestamp = #{record.createTimestamp,jdbcType=BIGINT}
 |  | 
 | 
											
												
													
														|  | 
 |  | +      `status` = #{record.status,jdbcType=INTEGER},
 | 
											
												
													
														|  | 
 |  | +      create_timestamp = #{record.createTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  | 
 |  | +      update_timestamp = #{record.updateTimestamp,jdbcType=BIGINT}
 | 
											
												
													
														|  |      <if test="_parameter != null">
 |  |      <if test="_parameter != null">
 | 
											
												
													
														|  |        <include refid="Update_By_Example_Where_Clause" />
 |  |        <include refid="Update_By_Example_Where_Clause" />
 | 
											
												
													
														|  |      </if>
 |  |      </if>
 | 
											
										
											
												
													
														|  | @@ -241,9 +265,15 @@
 | 
											
												
													
														|  |        <if test="score != null">
 |  |        <if test="score != null">
 | 
											
												
													
														|  |          score = #{score,jdbcType=DOUBLE},
 |  |          score = #{score,jdbcType=DOUBLE},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="status != null">
 | 
											
												
													
														|  | 
 |  | +        `status` = #{status,jdbcType=INTEGER},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |        <if test="createTimestamp != null">
 |  |        <if test="createTimestamp != null">
 | 
											
												
													
														|  |          create_timestamp = #{createTimestamp,jdbcType=BIGINT},
 |  |          create_timestamp = #{createTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  |        </if>
 |  |        </if>
 | 
											
												
													
														|  | 
 |  | +      <if test="updateTimestamp != null">
 | 
											
												
													
														|  | 
 |  | +        update_timestamp = #{updateTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  | 
 |  | +      </if>
 | 
											
												
													
														|  |      </set>
 |  |      </set>
 | 
											
												
													
														|  |      where id = #{id,jdbcType=BIGINT}
 |  |      where id = #{id,jdbcType=BIGINT}
 | 
											
												
													
														|  |    </update>
 |  |    </update>
 | 
											
										
											
												
													
														|  | @@ -255,7 +285,9 @@
 | 
											
												
													
														|  |        title = #{title,jdbcType=VARCHAR},
 |  |        title = #{title,jdbcType=VARCHAR},
 | 
											
												
													
														|  |        video = #{video,jdbcType=VARCHAR},
 |  |        video = #{video,jdbcType=VARCHAR},
 | 
											
												
													
														|  |        score = #{score,jdbcType=DOUBLE},
 |  |        score = #{score,jdbcType=DOUBLE},
 | 
											
												
													
														|  | -      create_timestamp = #{createTimestamp,jdbcType=BIGINT}
 |  | 
 | 
											
												
													
														|  | 
 |  | +      `status` = #{status,jdbcType=INTEGER},
 | 
											
												
													
														|  | 
 |  | +      create_timestamp = #{createTimestamp,jdbcType=BIGINT},
 | 
											
												
													
														|  | 
 |  | +      update_timestamp = #{updateTimestamp,jdbcType=BIGINT}
 | 
											
												
													
														|  |      where id = #{id,jdbcType=BIGINT}
 |  |      where id = #{id,jdbcType=BIGINT}
 | 
											
												
													
														|  |    </update>
 |  |    </update>
 | 
											
												
													
														|  |  </mapper>
 |  |  </mapper>
 |