,orderId = #{orderId},couponId = #{couponId},couponNumberId = #{couponNumberId},conversionCode = #{conversionCode},type = #{type},title = #{title},describeInfo = #{describeInfo},discountTotal = #{discountTotal},status = #{status},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime}
select replace(uuid(),'-','') from dual
insert into coupon_order_discount_log (id,orderId,couponId,couponNumberId,conversionCode,type,title,describeInfo,discountTotal,status,isDel,createTime,editTime) values (#{id},#{orderId},#{couponId},#{couponNumberId},#{conversionCode},#{type},#{title},#{describeInfo},#{discountTotal},#{status},#{isDel},#{createTime},#{editTime})
insert into coupon_order_discount_log (id,orderId,couponId,couponNumberId,conversionCode,type,title,describeInfo,discountTotal,status,isDel,createTime,editTime) values (#{id},#{orderId},#{couponId},#{couponNumberId},#{conversionCode},#{type},#{title},#{describeInfo},#{discountTotal},#{status},#{isDel},#{createTime},#{editTime})
update
coupon_order_discount_log
SET ${sqlSentence}
update coupon_order_discount_log
SET
WHERE id = #{id}
delete from coupon_order_discount_log WHERE ${sqlSentence}
delete from coupon_order_discount_log WHERE id = #{value}