...
|
...
|
@@ -55,6 +55,7 @@ |
|
|
<result column="is_instalment" property="isInstalment" jdbcType="VARCHAR"/>
|
|
|
<result column="is_seckill" property="isSeckill" jdbcType="CHAR"/>
|
|
|
<result column="market_phrase" property="marketPhrase" jdbcType="VARCHAR"/>
|
|
|
<result column="bundle_type" property="bundleType" jdbcType="INTEGER"/>
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, erp_product_id,shop_id, product_name, cn_alphabet,
|
...
|
...
|
@@ -66,7 +67,7 @@ |
|
|
first_shelve_time,shelve_time,expect_arrival_time, create_time, arrival_time,
|
|
|
edit_time, auditing_time, is_down, status, is_edit,
|
|
|
vip_discount_type, storage,is_outlets,folder_id,sell_channels,
|
|
|
elements, age_level,app_type,is_instalment,is_seckill,is_limitbuy,is_deposit_advance,market_phrase
|
|
|
elements, age_level,app_type,is_instalment,is_seckill,is_limitbuy,is_deposit_advance,market_phrase,bundle_type
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap"
|
|
|
parameterType="java.lang.Integer" timeout="20000">
|
...
|
...
|
@@ -111,11 +112,12 @@ |
|
|
status, is_edit, vip_discount_type,
|
|
|
storage,
|
|
|
is_outlets, folder_id,
|
|
|
sell_channels, elements,age_level,app_type,is_instalment,is_seckill,is_deposit_advance,is_limitbuy,market_phrase)
|
|
|
sell_channels, elements,age_level,app_type,is_instalment,is_seckill,is_deposit_advance,is_limitbuy,market_phrase,bundle_type)
|
|
|
values
|
|
|
(#{id,jdbcType=INTEGER},
|
|
|
#{erpProductId,jdbcType=INTEGER},#{shopId,jdbcType=INTEGER}
|
|
|
,#{productName,jdbcType=VARCHAR},
|
|
|
#{erpProductId,jdbcType=INTEGER},
|
|
|
#{shopId,jdbcType=INTEGER},
|
|
|
#{productName,jdbcType=VARCHAR},
|
|
|
#{cnAlphabet,jdbcType=VARCHAR},
|
|
|
#{phrase,jdbcType=VARCHAR}, #{salesPhrase,jdbcType=VARCHAR},
|
|
|
#{brandId,jdbcType=INTEGER}, #{maxSortId,jdbcType=INTEGER},
|
...
|
...
|
@@ -151,7 +153,8 @@ |
|
|
#{isSeckill,jdbcType=CHAR},
|
|
|
#{isDepositAdvance,jdbcType=CHAR},
|
|
|
#{isLimitbuy,jdbcType=CHAR},
|
|
|
#{marketPhrase,jdbcType=VARCHAR}
|
|
|
#{marketPhrase,jdbcType=VARCHAR},
|
|
|
#{bundleType,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.yoho.search.dal.model.Product"
|
...
|
...
|
@@ -318,6 +321,9 @@ |
|
|
<if test="marketPhrase != null">
|
|
|
market_phrase = #{marketPhrase,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="bundleType != null">
|
|
|
bundle_type = #{bundleType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
...
|
...
|
|