Authored by kun

update

... ... @@ -80,7 +80,11 @@
</select>
<update id="updateProductSortStatus" parameterType="com.yoho.ufo.model.commoditybasicrole.category.ProductSort">
update product_sort set status = #{status}, update_time = #{updateTime} where id = #{id}
update product_sort set status = #{status}, update_time = #{updateTime}
where id = #{id}
<if test="parentId == null or parentId == 0">
or parent_id = #{id}
</if>
</update>
<select id="getAllProcutSort" resultMap="productSortMap">
... ...