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