...
|
...
|
@@ -6,12 +6,13 @@ |
|
|
<result column="page_id" property="pageId" jdbcType="TINYINT" />
|
|
|
<result column="recall_type" property="recallType" jdbcType="INTEGER" />
|
|
|
<result column="recall_percent" property="recallPercent" jdbcType="INTEGER" />
|
|
|
<result column="value_type" property="valueType" jdbcType="TINYINT" />
|
|
|
<result column="update_time" property="updateTime" jdbcType="INTEGER" />
|
|
|
<result column="status" property="status" jdbcType="TINYINT" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, page_id, recall_type, recall_percent, update_time, status
|
|
|
id, page_id, recall_type, recall_percent, value_type, update_time, status
|
|
|
</sql>
|
|
|
|
|
|
<delete id="deleteByPrimaryKey">
|
...
|
...
|
@@ -19,11 +20,12 @@ |
|
|
</delete>
|
|
|
|
|
|
<insert id="insert">
|
|
|
insert ignore into page_recall_strategy_detail (id, page_id, recall_type, recall_percent, update_time, status)
|
|
|
insert ignore into page_recall_strategy_detail (id, page_id, recall_type, recall_percent, value_type, update_time, status)
|
|
|
values (#{record.id,jdbcType=INTEGER},
|
|
|
#{record.pageId,jdbcType=TINYINT},
|
|
|
#{record.recallType,jdbcType=INTEGER},
|
|
|
#{record.recallPercent,jdbcType=INTEGER},
|
|
|
#{record.valueType,jdbcType=TINYINT},
|
|
|
#{record.updateTime,jdbcType=INTEGER},
|
|
|
#{record.status,jdbcType=TINYINT})
|
|
|
</insert>
|
...
|
...
|
@@ -33,6 +35,7 @@ |
|
|
set page_id = #{record.pageId,jdbcType=TINYINT},
|
|
|
recall_type = #{record.recallType,jdbcType=INTEGER},
|
|
|
recall_percent = #{record.recallPercent,jdbcType=INTEGER},
|
|
|
value_type = #{record.valueType,jdbcType=TINYINT},
|
|
|
update_time = #{record.updateTime,jdbcType=INTEGER},
|
|
|
status = #{record.status,jdbcType=TINYINT}
|
|
|
where id = #{record.id,jdbcType=INTEGER}
|
...
|
...
|
|