record_id, uid, car_id, car_date, type, create_time SELECT LAST_INSERT_ID() insert into gift_car_get_record (uid, car_id, car_date, type, create_time) values (#{uid,jdbcType=BIGINT}, #{carId,jdbcType=BIGINT}, #{carDate,jdbcType=INTEGER}, #{type,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into gift_car_get_record uid, car_id, car_date, type, create_time, #{uid,jdbcType=BIGINT}, #{carId,jdbcType=BIGINT}, #{carDate,jdbcType=INTEGER}, #{type,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}, update gift_car_get_record uid = #{uid,jdbcType=BIGINT}, car_id = #{carId,jdbcType=BIGINT}, car_date = #{carDate,jdbcType=INTEGER}, type = #{type,jdbcType=TINYINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, where record_id = #{recordId,jdbcType=BIGINT} update gift_car_get_record set uid = #{uid,jdbcType=BIGINT}, car_id = #{carId,jdbcType=BIGINT}, car_date = #{carDate,jdbcType=INTEGER}, type = #{type,jdbcType=TINYINT}, create_time = #{createTime,jdbcType=TIMESTAMP} where record_id = #{recordId,jdbcType=BIGINT} delete from gift_car_get_record where record_id = #{recordId,jdbcType=BIGINT}