...
|
...
|
@@ -11,7 +11,6 @@ |
|
|
<result column="status" property="status" jdbcType="INTEGER" />
|
|
|
<result column="product_type" property="productType" jdbcType="INTEGER" />
|
|
|
<result column="platform_limit" property="platformLimit" jdbcType="INTEGER" />
|
|
|
<result column="show_limit" property="showLimit" jdbcType="INTEGER" />
|
|
|
<result column="cut_total_price" property="cutTotalPrice" jdbcType="DECIMAL" />
|
|
|
<result column="cut_yoho_low_percent" property="cutYohoLowPercent" jdbcType="DECIMAL" />
|
|
|
<result column="cut_yoho_high_percent" property="cutYohoHighPercent" jdbcType="DECIMAL" />
|
...
|
...
|
@@ -25,7 +24,7 @@ |
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, activity_id, product_skn, create_time, update_time, status, product_type, platform_limit,
|
|
|
show_limit, cut_total_price, cut_yoho_low_percent, cut_yoho_high_percent, cut_grade,
|
|
|
cut_total_price, cut_yoho_low_percent, cut_yoho_high_percent, cut_grade,
|
|
|
cut_grade_config, order_by, join_num, high_price, low_price
|
|
|
</sql>
|
|
|
|
...
|
...
|
@@ -44,14 +43,14 @@ |
|
|
<insert id="insert" parameterType="com.yoho.search.dal.model.CutdownPriceProduct" >
|
|
|
insert into cutdown_price_product (id, activity_id, product_skn,
|
|
|
create_time, update_time, status,
|
|
|
product_type, platform_limit, show_limit,
|
|
|
product_type, platform_limit,
|
|
|
cut_total_price, cut_yoho_low_percent, cut_yoho_high_percent,
|
|
|
cut_grade, cut_grade_config, order_by,
|
|
|
join_num, high_price, low_price
|
|
|
)
|
|
|
values (#{id,jdbcType=INTEGER}, #{activityId,jdbcType=INTEGER}, #{productSkn,jdbcType=INTEGER},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
#{productType,jdbcType=INTEGER}, #{platformLimit,jdbcType=INTEGER}, #{showLimit,jdbcType=INTEGER},
|
|
|
#{productType,jdbcType=INTEGER}, #{platformLimit,jdbcType=INTEGER},
|
|
|
#{cutTotalPrice,jdbcType=DECIMAL}, #{cutYohoLowPercent,jdbcType=DECIMAL}, #{cutYohoHighPercent,jdbcType=DECIMAL},
|
|
|
#{cutGrade,jdbcType=INTEGER}, #{cutGradeConfig,jdbcType=VARCHAR}, #{orderBy,jdbcType=INTEGER},
|
|
|
#{joinNum,jdbcType=INTEGER}, #{highPrice,jdbcType=DECIMAL}, #{lowPrice,jdbcType=DECIMAL}
|
...
|
...
|
@@ -85,9 +84,6 @@ |
|
|
<if test="platformLimit != null" >
|
|
|
platform_limit,
|
|
|
</if>
|
|
|
<if test="showLimit != null" >
|
|
|
show_limit,
|
|
|
</if>
|
|
|
<if test="cutTotalPrice != null" >
|
|
|
cut_total_price,
|
|
|
</if>
|
...
|
...
|
@@ -141,9 +137,6 @@ |
|
|
<if test="platformLimit != null" >
|
|
|
#{platformLimit,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="showLimit != null" >
|
|
|
#{showLimit,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="cutTotalPrice != null" >
|
|
|
#{cutTotalPrice,jdbcType=DECIMAL},
|
|
|
</if>
|
...
|
...
|
@@ -198,9 +191,6 @@ |
|
|
<if test="platformLimit != null" >
|
|
|
platform_limit = #{platformLimit,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="showLimit != null" >
|
|
|
show_limit = #{showLimit,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="cutTotalPrice != null" >
|
|
|
cut_total_price = #{cutTotalPrice,jdbcType=DECIMAL},
|
|
|
</if>
|
...
|
...
|
@@ -241,7 +231,6 @@ |
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
product_type = #{productType,jdbcType=INTEGER},
|
|
|
platform_limit = #{platformLimit,jdbcType=INTEGER},
|
|
|
show_limit = #{showLimit,jdbcType=INTEGER},
|
|
|
cut_total_price = #{cutTotalPrice,jdbcType=DECIMAL},
|
|
|
cut_yoho_low_percent = #{cutYohoLowPercent,jdbcType=DECIMAL},
|
|
|
cut_yoho_high_percent = #{cutYohoHighPercent,jdbcType=DECIMAL},
|
...
|
...
|
|