|
|
@@ -41,7 +41,7 @@
|
|
|
update spu
|
|
|
<trim prefix="set" suffixOverrides=",">
|
|
|
<if test="category!=null and category!=''">category=#{category},</if>
|
|
|
- <if test="subCategory!=null and subCategory!=''">sub_category=#{subCategory}</if>
|
|
|
+ <if test="subCategory!=null and subCategory!=''">sub_category=#{subCategory},</if>
|
|
|
<if test="spuName!=null and spuName!=''">spu_name=#{spuName},</if>
|
|
|
<if test="num!=null">num=#{num},</if>
|
|
|
<if test="mainImage!=null and mainImage!=''">main_image=#{mainImage},</if>
|