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, card_no, car_number, card_res, car_type, price, num, discount_amount,
disc_no, disc_rule_no, total_amount, eff_date, exp_date, is_support_renew, remark,
data_state, check_status, create_empid, create_name, create_date, modify_empid, modify_name,
modify_date, parent_cust_card_no, cust_name, cust_phone
delete from t_vip_card_cust_info
where id = #{id,jdbcType=BIGINT}
delete from t_vip_card_cust_info
SELECT LAST_INSERT_ID()
insert into t_vip_card_cust_info (cust_id, cust_card_no, card_no,
car_number, card_res, car_type,
price, num, discount_amount,
disc_no, disc_rule_no, total_amount,
eff_date, exp_date, is_support_renew,
remark, data_state, check_status,
create_empid, create_name, create_date,
modify_empid, modify_name, modify_date,
parent_cust_card_no, cust_name, cust_phone
)
values (#{custId,jdbcType=VARCHAR}, #{custCardNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR}, #{cardRes,jdbcType=INTEGER}, #{carType,jdbcType=INTEGER},
#{price,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}, #{discountAmount,jdbcType=BIGINT},
#{discNo,jdbcType=VARCHAR}, #{discRuleNo,jdbcType=VARCHAR}, #{totalAmount,jdbcType=BIGINT},
#{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{isSupportRenew,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{checkStatus,jdbcType=INTEGER},
#{createEmpid,jdbcType=BIGINT}, #{createName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=BIGINT}, #{modifyName,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP},
#{parentCustCardNo,jdbcType=VARCHAR}, #{custName,jdbcType=VARCHAR}, #{custPhone,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into t_vip_card_cust_info
cust_id,
cust_card_no,
card_no,
car_number,
card_res,
car_type,
price,
num,
discount_amount,
disc_no,
disc_rule_no,
total_amount,
eff_date,
exp_date,
is_support_renew,
remark,
data_state,
check_status,
create_empid,
create_name,
create_date,
modify_empid,
modify_name,
modify_date,
parent_cust_card_no,
cust_name,
cust_phone,
#{custId,jdbcType=VARCHAR},
#{custCardNo,jdbcType=VARCHAR},
#{cardNo,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{cardRes,jdbcType=INTEGER},
#{carType,jdbcType=INTEGER},
#{price,jdbcType=BIGINT},
#{num,jdbcType=INTEGER},
#{discountAmount,jdbcType=BIGINT},
#{discNo,jdbcType=VARCHAR},
#{discRuleNo,jdbcType=VARCHAR},
#{totalAmount,jdbcType=BIGINT},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{isSupportRenew,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{checkStatus,jdbcType=INTEGER},
#{createEmpid,jdbcType=BIGINT},
#{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=BIGINT},
#{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{parentCustCardNo,jdbcType=VARCHAR},
#{custName,jdbcType=VARCHAR},
#{custPhone,jdbcType=VARCHAR},
update t_vip_card_cust_info
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
card_res = #{record.cardRes,jdbcType=INTEGER},
car_type = #{record.carType,jdbcType=INTEGER},
price = #{record.price,jdbcType=BIGINT},
num = #{record.num,jdbcType=INTEGER},
discount_amount = #{record.discountAmount,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
disc_rule_no = #{record.discRuleNo,jdbcType=VARCHAR},
total_amount = #{record.totalAmount,jdbcType=BIGINT},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
is_support_renew = #{record.isSupportRenew,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
check_status = #{record.checkStatus,jdbcType=INTEGER},
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},
parent_cust_card_no = #{record.parentCustCardNo,jdbcType=VARCHAR},
cust_name = #{record.custName,jdbcType=VARCHAR},
cust_phone = #{record.custPhone,jdbcType=VARCHAR},
update t_vip_card_cust_info
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
card_res = #{record.cardRes,jdbcType=INTEGER},
car_type = #{record.carType,jdbcType=INTEGER},
price = #{record.price,jdbcType=BIGINT},
num = #{record.num,jdbcType=INTEGER},
discount_amount = #{record.discountAmount,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
disc_rule_no = #{record.discRuleNo,jdbcType=VARCHAR},
total_amount = #{record.totalAmount,jdbcType=BIGINT},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
is_support_renew = #{record.isSupportRenew,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
check_status = #{record.checkStatus,jdbcType=INTEGER},
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},
parent_cust_card_no = #{record.parentCustCardNo,jdbcType=VARCHAR},
cust_name = #{record.custName,jdbcType=VARCHAR},
cust_phone = #{record.custPhone,jdbcType=VARCHAR}
update t_vip_card_cust_info
cust_id = #{custId,jdbcType=VARCHAR},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
card_res = #{cardRes,jdbcType=INTEGER},
car_type = #{carType,jdbcType=INTEGER},
price = #{price,jdbcType=BIGINT},
num = #{num,jdbcType=INTEGER},
discount_amount = #{discountAmount,jdbcType=BIGINT},
disc_no = #{discNo,jdbcType=VARCHAR},
disc_rule_no = #{discRuleNo,jdbcType=VARCHAR},
total_amount = #{totalAmount,jdbcType=BIGINT},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
is_support_renew = #{isSupportRenew,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
check_status = #{checkStatus,jdbcType=INTEGER},
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},
parent_cust_card_no = #{parentCustCardNo,jdbcType=VARCHAR},
cust_name = #{custName,jdbcType=VARCHAR},
cust_phone = #{custPhone,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update t_vip_card_cust_info
set cust_id = #{custId,jdbcType=VARCHAR},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
card_res = #{cardRes,jdbcType=INTEGER},
car_type = #{carType,jdbcType=INTEGER},
price = #{price,jdbcType=BIGINT},
num = #{num,jdbcType=INTEGER},
discount_amount = #{discountAmount,jdbcType=BIGINT},
disc_no = #{discNo,jdbcType=VARCHAR},
disc_rule_no = #{discRuleNo,jdbcType=VARCHAR},
total_amount = #{totalAmount,jdbcType=BIGINT},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
is_support_renew = #{isSupportRenew,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
check_status = #{checkStatus,jdbcType=INTEGER},
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},
parent_cust_card_no = #{parentCustCardNo,jdbcType=VARCHAR},
cust_name = #{custName,jdbcType=VARCHAR},
cust_phone = #{custPhone,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}