id, cm_code,cm_phone,cb_code,cc_code,cp_status,cc_getdate,cc_getchannel,cc_usedate,cc_usebillno
delete from customer_coupon
where cb_code = #{cb_code,jdbcType=VARCHAR}
insert into customer_coupon
cm_code,
cm_phone,
cb_code,
cc_code,
cp_status,
cc_getdate,
cc_getchannel,
cc_usedate,
cc_usebillno
#{cm_code,jdbcType=VARCHAR},
#{cm_phone,jdbcType=VARCHAR},
#{cb_code,jdbcType=VARCHAR},
#{cc_code,jdbcType=VARCHAR},
#{cp_status,jdbcType=INTEGER},
#{cc_getdate,jdbcType=DATE},
#{cc_getchannel,jdbcType=INTEGER},
#{cc_usedate,jdbcType=DATE},
#{cc_usebillno,jdbcType=VARCHAR}
update customer_coupon
cm_code = #{cm_code,jdbcType=VARCHAR},
cm_phone = #{cm_phone,jdbcType=VARCHAR},
cb_rule = #{cb_rule,jdbcType=VARCHAR},
cb_packages = #{cb_packages,jdbcType=VARCHAR},
cb_citys = #{cb_citys,jdbcType=VARCHAR}
cb_citys = #{cb_citys,jdbcType=VARCHAR}
cb_citys = #{cb_citys,jdbcType=VARCHAR}
cb_citys = #{cb_citys,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update customer_coupon
cp_status = #{cp_status,jdbcType=VARCHAR},
where cc_code = #{cc_code,jdbcType=INTEGER}