|
@@ -274,37 +274,39 @@
|
|
|
|
|
|
<update id="applyCompileSave" parameterType="com.caimei.modules.order.entity.CmPayShop">
|
|
|
UPDATE cm_pay_shop
|
|
|
- SET
|
|
|
- <if test="payType != null and payType !=''">
|
|
|
- payType = #{payType},
|
|
|
- </if>
|
|
|
- <if test="payTime != null and payTime !=''">
|
|
|
- payTime = #{payTime},
|
|
|
- </if>
|
|
|
- <if test="cmOtherPayType != null and cmOtherPayType !=''">
|
|
|
- cmOtherPayType = #{cmOtherPayType},
|
|
|
- </if>
|
|
|
- <if test="cmOtherPayTime != null and cmOtherPayTime !=''">
|
|
|
- cmOtherPayTime = #{cmOtherPayTime}
|
|
|
- </if>
|
|
|
+ <set>
|
|
|
+ <if test="payType != null and payType !=''">
|
|
|
+ payType = #{payType},
|
|
|
+ </if>
|
|
|
+ <if test="payTime != null and payTime !=''">
|
|
|
+ payTime = #{payTime},
|
|
|
+ </if>
|
|
|
+ <if test="cmOtherPayType != null and cmOtherPayType !=''">
|
|
|
+ cmOtherPayType = #{cmOtherPayType},
|
|
|
+ </if>
|
|
|
+ <if test="cmOtherPayTime != null and cmOtherPayTime !=''">
|
|
|
+ cmOtherPayTime = #{cmOtherPayTime}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
WHERE id = #{id}
|
|
|
</update>
|
|
|
|
|
|
<update id="applyCompileRecordSave">
|
|
|
update cm_pay_shop_record
|
|
|
- SET
|
|
|
- <if test="payType != null and payType !=''">
|
|
|
- payType = #{payType},
|
|
|
- </if>
|
|
|
- <if test="payTime != null and payTime !=''">
|
|
|
- payTime = #{payTime},
|
|
|
- </if>
|
|
|
- <if test="cmOtherPayType != null and cmOtherPayType !=''">
|
|
|
- cmOtherPayType = #{cmOtherPayType},
|
|
|
- </if>
|
|
|
- <if test="cmOtherPayTime != null and cmOtherPayTime !=''">
|
|
|
- cmOtherPayTime = #{cmOtherPayTime}
|
|
|
- </if>
|
|
|
+ <set>
|
|
|
+ <if test="payType != null and payType !=''">
|
|
|
+ payType = #{payType},
|
|
|
+ </if>
|
|
|
+ <if test="payTime != null and payTime !=''">
|
|
|
+ payTime = #{payTime},
|
|
|
+ </if>
|
|
|
+ <if test="cmOtherPayType != null and cmOtherPayType !=''">
|
|
|
+ cmOtherPayType = #{cmOtherPayType},
|
|
|
+ </if>
|
|
|
+ <if test="cmOtherPayTime != null and cmOtherPayTime !=''">
|
|
|
+ cmOtherPayTime = #{cmOtherPayTime}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
WHERE payShopID = #{id}
|
|
|
</update>
|
|
|
|