k
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, cust_id, cust_card_no, pl_no, card_no, car_number, card_type, order_state, park_in_time,
park_out_time, data_state, eff_date, exp_date, create_empid, create_name, create_date,
modify_empid, modify_name, modify_date, org_id, remarks,car_type
delete from t_vip_card_cust_sub_plate_info
where id = #{id,jdbcType=BIGINT}
delete from t_vip_card_cust_sub_plate_info
SELECT LAST_INSERT_ID()
insert into t_vip_card_cust_sub_plate_info (cust_id, cust_card_no, pl_no,
card_no, car_number, card_type,
order_state, park_in_time, park_out_time,
data_state, eff_date, exp_date,
create_empid, create_name, create_date,
modify_empid, modify_name, modify_date,
org_id, remarks)
values (#{custId,jdbcType=VARCHAR}, #{custCardNo,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR},
#{cardNo,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{cardType,jdbcType=INTEGER},
#{orderState,jdbcType=INTEGER}, #{parkInTime,jdbcType=TIMESTAMP}, #{parkOutTime,jdbcType=TIMESTAMP},
#{dataState,jdbcType=INTEGER}, #{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP},
#{createEmpid,jdbcType=BIGINT}, #{createName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=BIGINT}, #{modifyName,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT}, #{remarks,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into t_vip_card_cust_sub_plate_info
cust_id,
cust_card_no,
pl_no,
card_no,
car_number,
card_type,
order_state,
park_in_time,
park_out_time,
data_state,
eff_date,
exp_date,
create_empid,
create_name,
create_date,
modify_empid,
modify_name,
modify_date,
org_id,
remarks,
car_type,
#{custId,jdbcType=VARCHAR},
#{custCardNo,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{cardNo,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{cardType,jdbcType=INTEGER},
#{orderState,jdbcType=INTEGER},
#{parkInTime,jdbcType=TIMESTAMP},
#{parkOutTime,jdbcType=TIMESTAMP},
#{dataState,jdbcType=INTEGER},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{createEmpid,jdbcType=BIGINT},
#{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=BIGINT},
#{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT},
#{remarks,jdbcType=VARCHAR},
#{carType,jdbcType=INTEGER},
update t_vip_card_cust_sub_plate_info
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
card_type = #{record.cardType,jdbcType=INTEGER},
order_state = #{record.orderState,jdbcType=INTEGER},
park_in_time = #{record.parkInTime,jdbcType=TIMESTAMP},
park_out_time = #{record.parkOutTime,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
create_empid = #{record.createEmpid,jdbcType=BIGINT},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=BIGINT},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
remarks = #{record.remarks,jdbcType=VARCHAR},
update t_vip_card_cust_sub_plate_info
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
card_type = #{record.cardType,jdbcType=INTEGER},
order_state = #{record.orderState,jdbcType=INTEGER},
park_in_time = #{record.parkInTime,jdbcType=TIMESTAMP},
park_out_time = #{record.parkOutTime,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
create_empid = #{record.createEmpid,jdbcType=BIGINT},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=BIGINT},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
remarks = #{record.remarks,jdbcType=VARCHAR}
update t_vip_card_cust_sub_plate_info
cust_id = #{custId,jdbcType=VARCHAR},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
card_type = #{cardType,jdbcType=INTEGER},
order_state = #{orderState,jdbcType=INTEGER},
park_in_time = #{parkInTime,jdbcType=TIMESTAMP},
park_out_time = #{parkOutTime,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
create_empid = #{createEmpid,jdbcType=BIGINT},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=BIGINT},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
remarks = #{remarks,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update t_vip_card_cust_sub_plate_info
set cust_id = #{custId,jdbcType=VARCHAR},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
card_type = #{cardType,jdbcType=INTEGER},
order_state = #{orderState,jdbcType=INTEGER},
park_in_time = #{parkInTime,jdbcType=TIMESTAMP},
park_out_time = #{parkOutTime,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
create_empid = #{createEmpid,jdbcType=BIGINT},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=BIGINT},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
remarks = #{remarks,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}