id, cust_id, pl_no, card_no, car_number, push_state,opt_type, price, num, discount_amount, discount_no, total_amount, eff_date, exp_date, data_state, create_empid, create_date, modify_empid, modify_date remark delete from td_b_park_card_cust where id = #{id,jdbcType=BIGINT} SELECT LAST_INSERT_ID() insert into td_b_park_card_cust (cust_id, pl_no, card_no, car_number, push_state, opt_type,price, num, discount_amount, discount_no, total_amount, eff_date, exp_date, data_state, create_empid, create_date, modify_empid, modify_date, remark ) values (#{custId,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{pushState,jdbcType=INTEGER}, #{optType,jdbcType=INTEGER}, #{price,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}, #{discountAmount,jdbcType=BIGINT}, #{discountNo,jdbcType=VARCHAR}, #{totalAmount,jdbcType=BIGINT}, #{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=BIGINT}, #{modifyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=LONGVARCHAR} ) SELECT LAST_INSERT_ID() insert into td_b_park_card_cust cust_id, pl_no, card_no, car_number, push_state, opt_type, price, num, discount_amount, discount_no, total_amount, eff_date, exp_date, data_state, create_empid, create_date, modify_empid, modify_date, remark, #{custId,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{pushState,jdbcType=INTEGER}, #{optType,jdbcType=INTEGER}, #{price,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}, #{discountAmount,jdbcType=BIGINT}, #{discountNo,jdbcType=VARCHAR}, #{totalAmount,jdbcType=BIGINT}, #{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=BIGINT}, #{modifyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=LONGVARCHAR}, update td_b_park_card_cust cust_id = #{custId,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, card_no = #{cardNo,jdbcType=VARCHAR}, car_number = #{carNumber,jdbcType=VARCHAR}, push_state = #{pushState,jdbcType=INTEGER}, opt_type = #{optType,jdbcType=INTEGER}, price = #{price,jdbcType=BIGINT}, num = #{num,jdbcType=INTEGER}, discount_amount = #{discountAmount,jdbcType=BIGINT}, discount_no = #{discountNo,jdbcType=VARCHAR}, total_amount = #{totalAmount,jdbcType=BIGINT}, eff_date = #{effDate,jdbcType=TIMESTAMP}, exp_date = #{expDate,jdbcType=TIMESTAMP}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=BIGINT}, create_date = #{createDate,jdbcType=TIMESTAMP}, modify_empid = #{modifyEmpid,jdbcType=BIGINT}, modify_date = #{modifyDate,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update td_b_park_card_cust set cust_id = #{custId,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, card_no = #{cardNo,jdbcType=VARCHAR}, car_number = #{carNumber,jdbcType=VARCHAR}, push_state = #{pushState,jdbcType=INTEGER}, opt_type= #{optType,jdbcType=INTEGER}, price = #{price,jdbcType=BIGINT}, num = #{num,jdbcType=INTEGER}, discount_amount = #{discountAmount,jdbcType=BIGINT}, discount_no = #{discountNo,jdbcType=VARCHAR}, total_amount = #{totalAmount,jdbcType=BIGINT}, eff_date = #{effDate,jdbcType=TIMESTAMP}, exp_date = #{expDate,jdbcType=TIMESTAMP}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=BIGINT}, create_date = #{createDate,jdbcType=TIMESTAMP}, modify_empid = #{modifyEmpid,jdbcType=BIGINT}, modify_date = #{modifyDate,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update td_b_park_card_cust set cust_id = #{custId,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, card_no = #{cardNo,jdbcType=VARCHAR}, car_number = #{carNumber,jdbcType=VARCHAR}, push_state = #{pushState,jdbcType=INTEGER}, opt_type = #{optType,jdbcType=INTEGER}, price = #{price,jdbcType=BIGINT}, num = #{num,jdbcType=INTEGER}, discount_amount = #{discountAmount,jdbcType=BIGINT}, discount_no = #{discountNo,jdbcType=VARCHAR}, total_amount = #{totalAmount,jdbcType=BIGINT}, eff_date = #{effDate,jdbcType=TIMESTAMP}, exp_date = #{expDate,jdbcType=TIMESTAMP}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=BIGINT}, create_date = #{createDate,jdbcType=TIMESTAMP}, modify_empid = #{modifyEmpid,jdbcType=BIGINT}, modify_date = #{modifyDate,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}