|  | @@ -3,6 +3,7 @@
 | 
	
		
			
				|  |  |  <mapper namespace="com.tzld.piaoquan.longarticle.dao.mapper.AccountSpecialSettingsMapper">
 | 
	
		
			
				|  |  |    <resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
 | 
	
		
			
				|  |  |      <id column="id" jdbcType="BIGINT" property="id" />
 | 
	
		
			
				|  |  | +    <result column="special_setting_id" jdbcType="VARCHAR" property="specialSettingId" />
 | 
	
		
			
				|  |  |      <result column="effective_date" jdbcType="VARCHAR" property="effectiveDate" />
 | 
	
		
			
				|  |  |      <result column="account_id" jdbcType="VARCHAR" property="accountId" />
 | 
	
		
			
				|  |  |      <result column="publish_push_time" jdbcType="VARCHAR" property="publishPushTime" />
 | 
	
	
		
			
				|  | @@ -72,8 +73,8 @@
 | 
	
		
			
				|  |  |      </where>
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <sql id="Base_Column_List">
 | 
	
		
			
				|  |  | -    id, effective_date, account_id, publish_push_time, push_type, publish_num, exclude_content_index, 
 | 
	
		
			
				|  |  | -    is_delete, create_time, update_time
 | 
	
		
			
				|  |  | +    id, special_setting_id, effective_date, account_id, publish_push_time, push_type, 
 | 
	
		
			
				|  |  | +    publish_num, exclude_content_index, is_delete, create_time, update_time
 | 
	
		
			
				|  |  |    </sql>
 | 
	
		
			
				|  |  |    <select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettingsExample" resultMap="BaseResultMap">
 | 
	
		
			
				|  |  |      select
 | 
	
	
		
			
				|  | @@ -109,14 +110,14 @@
 | 
	
		
			
				|  |  |      </if>
 | 
	
		
			
				|  |  |    </delete>
 | 
	
		
			
				|  |  |    <insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
 | 
	
		
			
				|  |  | -    insert into long_articles_account_special_settings (id, effective_date, account_id, 
 | 
	
		
			
				|  |  | -      publish_push_time, push_type, publish_num, 
 | 
	
		
			
				|  |  | -      exclude_content_index, is_delete, create_time, 
 | 
	
		
			
				|  |  | -      update_time)
 | 
	
		
			
				|  |  | -    values (#{id,jdbcType=BIGINT}, #{effectiveDate,jdbcType=VARCHAR}, #{accountId,jdbcType=VARCHAR}, 
 | 
	
		
			
				|  |  | -      #{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER}, #{publishNum,jdbcType=INTEGER}, 
 | 
	
		
			
				|  |  | -      #{excludeContentIndex,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, 
 | 
	
		
			
				|  |  | -      #{updateTime,jdbcType=TIMESTAMP})
 | 
	
		
			
				|  |  | +    insert into long_articles_account_special_settings (id, special_setting_id, effective_date, 
 | 
	
		
			
				|  |  | +      account_id, publish_push_time, push_type, 
 | 
	
		
			
				|  |  | +      publish_num, exclude_content_index, is_delete, 
 | 
	
		
			
				|  |  | +      create_time, update_time)
 | 
	
		
			
				|  |  | +    values (#{id,jdbcType=BIGINT}, #{specialSettingId,jdbcType=VARCHAR}, #{effectiveDate,jdbcType=VARCHAR}, 
 | 
	
		
			
				|  |  | +      #{accountId,jdbcType=VARCHAR}, #{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER}, 
 | 
	
		
			
				|  |  | +      #{publishNum,jdbcType=INTEGER}, #{excludeContentIndex,jdbcType=VARCHAR}, #{isDelete,jdbcType=INTEGER}, 
 | 
	
		
			
				|  |  | +      #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
 | 
	
		
			
				|  |  |    </insert>
 | 
	
		
			
				|  |  |    <insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
 | 
	
		
			
				|  |  |      insert into long_articles_account_special_settings
 | 
	
	
		
			
				|  | @@ -124,6 +125,9 @@
 | 
	
		
			
				|  |  |        <if test="id != null">
 | 
	
		
			
				|  |  |          id,
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="specialSettingId != null">
 | 
	
		
			
				|  |  | +        special_setting_id,
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="effectiveDate != null">
 | 
	
		
			
				|  |  |          effective_date,
 | 
	
		
			
				|  |  |        </if>
 | 
	
	
		
			
				|  | @@ -156,6 +160,9 @@
 | 
	
		
			
				|  |  |        <if test="id != null">
 | 
	
		
			
				|  |  |          #{id,jdbcType=BIGINT},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="specialSettingId != null">
 | 
	
		
			
				|  |  | +        #{specialSettingId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="effectiveDate != null">
 | 
	
		
			
				|  |  |          #{effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
	
		
			
				|  | @@ -197,6 +204,9 @@
 | 
	
		
			
				|  |  |        <if test="record.id != null">
 | 
	
		
			
				|  |  |          id = #{record.id,jdbcType=BIGINT},
 | 
	
		
			
				|  |  |        </if>
 | 
	
		
			
				|  |  | +      <if test="record.specialSettingId != null">
 | 
	
		
			
				|  |  | +        special_setting_id = #{record.specialSettingId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="record.effectiveDate != null">
 | 
	
		
			
				|  |  |          effective_date = #{record.effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
	
		
			
				|  | @@ -232,6 +242,7 @@
 | 
	
		
			
				|  |  |    <update id="updateByExample" parameterType="map">
 | 
	
		
			
				|  |  |      update long_articles_account_special_settings
 | 
	
		
			
				|  |  |      set id = #{record.id,jdbcType=BIGINT},
 | 
	
		
			
				|  |  | +      special_setting_id = #{record.specialSettingId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        effective_date = #{record.effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        account_id = #{record.accountId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        publish_push_time = #{record.publishPushTime,jdbcType=VARCHAR},
 | 
	
	
		
			
				|  | @@ -248,6 +259,9 @@
 | 
	
		
			
				|  |  |    <update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
 | 
	
		
			
				|  |  |      update long_articles_account_special_settings
 | 
	
		
			
				|  |  |      <set>
 | 
	
		
			
				|  |  | +      <if test="specialSettingId != null">
 | 
	
		
			
				|  |  | +        special_setting_id = #{specialSettingId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      </if>
 | 
	
		
			
				|  |  |        <if test="effectiveDate != null">
 | 
	
		
			
				|  |  |          effective_date = #{effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        </if>
 | 
	
	
		
			
				|  | @@ -280,7 +294,8 @@
 | 
	
		
			
				|  |  |    </update>
 | 
	
		
			
				|  |  |    <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
 | 
	
		
			
				|  |  |      update long_articles_account_special_settings
 | 
	
		
			
				|  |  | -    set effective_date = #{effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +    set special_setting_id = #{specialSettingId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  | +      effective_date = #{effectiveDate,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        account_id = #{accountId,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        publish_push_time = #{publishPushTime,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |        push_type = #{pushType,jdbcType=INTEGER},
 |