...
|
...
|
@@ -38,24 +38,6 @@ |
|
|
values (#{id,jdbcType=INTEGER}, #{productSkn,jdbcType=INTEGER}, #{attributeId,jdbcType=INTEGER},
|
|
|
#{attributeValueId,jdbcType=VARCHAR}, #{displayPosition,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.yoho.search.dal.model.ProductAttributePropertyValues" >
|
|
|
update product_attribute_property_values
|
|
|
<set >
|
|
|
<if test="productSkn != null" >
|
|
|
product_skn = #{productSkn,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="attributeId != null" >
|
|
|
attribute_id = #{attributeId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="attributeValueId != null" >
|
|
|
attribute_value_id = #{attributeValueId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="displayPosition != null" >
|
|
|
display_position = #{displayPosition,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.ProductAttributePropertyValues" >
|
|
|
insert into product_attribute_property_values
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
...
|
...
|
|