...
|
...
|
@@ -26,15 +26,13 @@ |
|
|
<update id="updateProductColor" parameterType="com.yoho.ufo.model.commoditybasicrole.color.ProductColor">
|
|
|
update product_color
|
|
|
<set>
|
|
|
color_value = #{productColor.colorValue},
|
|
|
<if test="productColor.colorName != null and productColor.colorName !=''">
|
|
|
color_name = #{productColor.colorName},
|
|
|
</if>
|
|
|
<if test="productColor.colorCode != null and productColor.colorCode != ''">
|
|
|
color_code = #{productColor.colorCode},
|
|
|
</if>
|
|
|
<if test="productColor.colorValue != null and productColor.colorValue != ''">
|
|
|
color_value = #{productColor.colorValue},
|
|
|
</if>
|
|
|
<if test="productColor.createTime != null">
|
|
|
create_time = #{productColor.createTime},
|
|
|
</if>
|
...
|
...
|
|