id,channelId,channelNo, couponNo,status,outDate, value,price delete from aska_channelcouponnos where id = #{id,jdbcType=INTEGER} insert into aska_channelcouponnos ( id,channelId,channelNo ,couponNo,status,outDate ,value,price) values (#{id,jdbcType=INTEGER},#{channelId,jdbcType=INTEGER},#{channelNo,jdbcType=CHAR} ,#{couponNo,jdbcType=CHAR},#{status,jdbcType=CHAR},#{outDate,jdbcType=DATE} ,#{value,jdbcType=INTEGER},#{price,jdbcType=INTEGER}) insert into aska_channelcouponnos id, channelId, channelNo, couponNo, status, outDate, value, price, #{id,jdbcType=INTEGER}, #{channelId,jdbcType=INTEGER}, #{channelNo,jdbcType=CHAR}, #{couponNo,jdbcType=CHAR}, #{status,jdbcType=CHAR}, #{outDate,jdbcType=DATE}, #{value,jdbcType=INTEGER}, #{price,jdbcType=INTEGER}, update aska_channelcouponnos channelId = #{channelId,jdbcType=INTEGER}, channelNo = #{channelNo,jdbcType=CHAR}, couponNo = #{couponNo,jdbcType=CHAR}, status = #{status,jdbcType=CHAR}, outDate = #{outDate,jdbcType=DATE}, value = #{value,jdbcType=INTEGER}, price = #{price,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update aska_channelcouponnos set channelId = #{channelId,jdbcType=INTEGER}, channelNo = #{channelNo,jdbcType=CHAR}, couponNo = #{couponNo,jdbcType=CHAR}, status = #{status,jdbcType=CHAR}, outDate = #{outDate,jdbcType=DATE}, value = #{value,jdbcType=INTEGER}, price = #{price,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}