id, park_code, cust_name, card_sequence, card_no, car_number, phone, address, balance,
eff_date, exp_date, detail_type, email, in_area, out_area, cap_amount, cap_cycle,
cap_rule, discount, data_state, create_empid, create_name, create_date, modify_empid,
modify_name, modify_date
delete from t_vip_card_cust_info_irain
where park_code = #{parkCode,jdbcType=VARCHAR}
SELECT LAST_INSERT_ID()
insert into t_vip_card_cust_info_irain (park_code, cust_name,
card_sequence, card_no, car_number,
phone, address, balance,
eff_date, exp_date, detail_type,
email, in_area, out_area,
cap_amount, cap_cycle, cap_rule,
discount, data_state, create_empid,
create_name, create_date, modify_empid,
modify_name, modify_date)
values
(#{item.parkCode,jdbcType=VARCHAR}, #{item.custName,jdbcType=VARCHAR},
#{item.cardSequence,jdbcType=VARCHAR}, #{item.cardNo,jdbcType=VARCHAR}, #{item.carNumber,jdbcType=VARCHAR},
#{item.phone,jdbcType=VARCHAR}, #{item.address,jdbcType=VARCHAR}, #{item.balance,jdbcType=BIGINT},
#{item.effDate,jdbcType=TIMESTAMP}, #{item.expDate,jdbcType=TIMESTAMP}, #{item.detailType,jdbcType=INTEGER},
#{item.email,jdbcType=VARCHAR}, #{item.inArea,jdbcType=VARCHAR}, #{item.outArea,jdbcType=VARCHAR},
#{item.capAmount,jdbcType=INTEGER}, #{item.capCycle,jdbcType=INTEGER}, #{item.capRule,jdbcType=INTEGER},
#{item.discount,jdbcType=INTEGER}, #{item.dataState,jdbcType=INTEGER}, #{item.createEmpid,jdbcType=BIGINT},
#{item.createName,jdbcType=VARCHAR}, #{item.createDate,jdbcType=TIMESTAMP}, #{item.modifyEmpid,jdbcType=BIGINT},
#{item.modifyName,jdbcType=VARCHAR}, #{item.modifyDate,jdbcType=TIMESTAMP})