|
@@ -324,7 +324,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isAudit != null and isAudit != ''">#{isAudit} ,</if>
|
|
<if test="isAudit != null and isAudit != ''">#{isAudit} ,</if>
|
|
|
<if test="storeId != null and storeId != ''">#{storeId} ,</if>
|
|
<if test="storeId != null and storeId != ''">#{storeId} ,</if>
|
|
|
<if test="erpType != null and storeId != ''">#{erpType} ,</if>
|
|
<if test="erpType != null and storeId != ''">#{erpType} ,</if>
|
|
|
- <if test="isGift != null ">is_gift = #{isGift},</if>
|
|
|
|
|
|
|
+ <if test="isGift != null ">#{isGift},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -394,7 +394,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isAudit != null and isAudit != ''">is_audit = #{isAudit} ,</if>
|
|
<if test="isAudit != null and isAudit != ''">is_audit = #{isAudit} ,</if>
|
|
|
<if test="storeId != null and storeId != ''">store_id = #{storeId} ,</if>
|
|
<if test="storeId != null and storeId != ''">store_id = #{storeId} ,</if>
|
|
|
<if test="erpType != null and erpType != ''">erp_type = #{erpType} ,</if>
|
|
<if test="erpType != null and erpType != ''">erp_type = #{erpType} ,</if>
|
|
|
- <if test="isGift != null and isGift != ''">is_gift = #{isGift} ,</if>
|
|
|
|
|
|
|
+ <if test="isGift != null">is_gift = #{isGift} ,</if>
|
|
|
|
|
|
|
|
</trim>
|
|
</trim>
|
|
|
where product_id = #{productId}
|
|
where product_id = #{productId}
|