|
@@ -7,7 +7,7 @@
|
|
|
<result column="gh_id" jdbcType="VARCHAR" property="ghId" />
|
|
|
<result column="publish_date" jdbcType="VARCHAR" property="publishDate" />
|
|
|
<result column="fans_before_publish" jdbcType="INTEGER" property="fansBeforePublish" />
|
|
|
- <result column="publish_fans_before_publish" jdbcType="INTEGER" property="publishFansBeforePublish" />
|
|
|
+ <result column="publish_times_before_publish" jdbcType="INTEGER" property="publishTimesBeforePublish" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -68,7 +68,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, account_name, gh_id, publish_date, fans_before_publish, publish_fans_before_publish
|
|
|
+ id, account_name, gh_id, publish_date, fans_before_publish, publish_times_before_publish
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.crawler.FwhDailyPublishDetailExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -105,10 +105,10 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.crawler.FwhDailyPublishDetail">
|
|
|
insert into fwh_daily_publish_detail (id, account_name, gh_id,
|
|
|
- publish_date, fans_before_publish, publish_fans_before_publish
|
|
|
+ publish_date, fans_before_publish, publish_times_before_publish
|
|
|
)
|
|
|
values (#{id,jdbcType=INTEGER}, #{accountName,jdbcType=VARCHAR}, #{ghId,jdbcType=VARCHAR},
|
|
|
- #{publishDate,jdbcType=VARCHAR}, #{fansBeforePublish,jdbcType=INTEGER}, #{publishFansBeforePublish,jdbcType=INTEGER}
|
|
|
+ #{publishDate,jdbcType=VARCHAR}, #{fansBeforePublish,jdbcType=INTEGER}, #{publishTimesBeforePublish,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.crawler.FwhDailyPublishDetail">
|
|
@@ -129,8 +129,8 @@
|
|
|
<if test="fansBeforePublish != null">
|
|
|
fans_before_publish,
|
|
|
</if>
|
|
|
- <if test="publishFansBeforePublish != null">
|
|
|
- publish_fans_before_publish,
|
|
|
+ <if test="publishTimesBeforePublish != null">
|
|
|
+ publish_times_before_publish,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -149,8 +149,8 @@
|
|
|
<if test="fansBeforePublish != null">
|
|
|
#{fansBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="publishFansBeforePublish != null">
|
|
|
- #{publishFansBeforePublish,jdbcType=INTEGER},
|
|
|
+ <if test="publishTimesBeforePublish != null">
|
|
|
+ #{publishTimesBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
@@ -178,8 +178,8 @@
|
|
|
<if test="record.fansBeforePublish != null">
|
|
|
fans_before_publish = #{record.fansBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="record.publishFansBeforePublish != null">
|
|
|
- publish_fans_before_publish = #{record.publishFansBeforePublish,jdbcType=INTEGER},
|
|
|
+ <if test="record.publishTimesBeforePublish != null">
|
|
|
+ publish_times_before_publish = #{record.publishTimesBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
@@ -193,7 +193,7 @@
|
|
|
gh_id = #{record.ghId,jdbcType=VARCHAR},
|
|
|
publish_date = #{record.publishDate,jdbcType=VARCHAR},
|
|
|
fans_before_publish = #{record.fansBeforePublish,jdbcType=INTEGER},
|
|
|
- publish_fans_before_publish = #{record.publishFansBeforePublish,jdbcType=INTEGER}
|
|
|
+ publish_times_before_publish = #{record.publishTimesBeforePublish,jdbcType=INTEGER}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -213,8 +213,8 @@
|
|
|
<if test="fansBeforePublish != null">
|
|
|
fans_before_publish = #{fansBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="publishFansBeforePublish != null">
|
|
|
- publish_fans_before_publish = #{publishFansBeforePublish,jdbcType=INTEGER},
|
|
|
+ <if test="publishTimesBeforePublish != null">
|
|
|
+ publish_times_before_publish = #{publishTimesBeforePublish,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
@@ -225,7 +225,7 @@
|
|
|
gh_id = #{ghId,jdbcType=VARCHAR},
|
|
|
publish_date = #{publishDate,jdbcType=VARCHAR},
|
|
|
fans_before_publish = #{fansBeforePublish,jdbcType=INTEGER},
|
|
|
- publish_fans_before_publish = #{publishFansBeforePublish,jdbcType=INTEGER}
|
|
|
+ publish_times_before_publish = #{publishTimesBeforePublish,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|