id, name, coupons_price, coupons_amount, status, create_time, update_time, end_time,type_name delete from tb_system_coupons where id = #{id,jdbcType=INTEGER} insert into tb_system_coupons (id, name, coupons_price, coupons_amount, status, create_time, update_time, end_time,type_name) values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{couponsPrice,jdbcType=DECIMAL}, #{couponsAmount,jdbcType=DECIMAL}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{typeName,jdbcType=VARCHAR}) insert into tb_system_coupons id, name, coupons_price, coupons_amount, status, create_time, update_time, end_time, #{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{couponsPrice,jdbcType=DECIMAL}, #{couponsAmount,jdbcType=DECIMAL}, #{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, update tb_system_coupons name = #{name,jdbcType=VARCHAR}, coupons_price = #{couponsPrice,jdbcType=DECIMAL}, coupons_amount = #{couponsAmount,jdbcType=DECIMAL}, status = #{status,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=INTEGER} update tb_system_coupons set name = #{name,jdbcType=VARCHAR}, coupons_price = #{couponsPrice,jdbcType=DECIMAL}, coupons_amount = #{couponsAmount,jdbcType=DECIMAL}, status = #{status,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=INTEGER}