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, type, cust_card_no, card_no, parent_cust_card_no, car_number, phone, msg_state,
res_code, res_message, idertifier, card_res, buy_type, num, discount_amount, act_amount,
total_amount, card_free_time, card_free_surplus_time, eff_date, exp_date, data_state,
remark, create_empid, create_name, create_date, modify_empid, modify_name, modify_date,
org_id, org_name
delete from t_vip_area_card_cust_info
where id = #{id,jdbcType=BIGINT}
delete from t_vip_area_card_cust_info
SELECT LAST_INSERT_ID()
insert into t_vip_area_card_cust_info (type, cust_card_no, card_no,
parent_cust_card_no, car_number, phone,
msg_state, res_code, res_message,
idertifier, card_res, buy_type,
num, discount_amount, act_amount,
total_amount, card_free_time, card_free_surplus_time,
eff_date, exp_date, data_state,
remark, create_empid, create_name,
create_date, modify_empid, modify_name,
modify_date, org_id, org_name
)
values (#{type,jdbcType=INTEGER}, #{custCardNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR},
#{parentCustCardNo,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
#{msgState,jdbcType=INTEGER}, #{resCode,jdbcType=VARCHAR}, #{resMessage,jdbcType=VARCHAR},
#{idertifier,jdbcType=VARCHAR}, #{cardRes,jdbcType=INTEGER}, #{buyType,jdbcType=INTEGER},
#{num,jdbcType=INTEGER}, #{discountAmount,jdbcType=BIGINT}, #{actAmount,jdbcType=BIGINT},
#{totalAmount,jdbcType=BIGINT}, #{cardFreeTime,jdbcType=INTEGER}, #{cardFreeSurplusTime,jdbcType=INTEGER},
#{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{dataState,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR}, #{createEmpid,jdbcType=VARCHAR}, #{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=VARCHAR}, #{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into t_vip_area_card_cust_info
type,
cust_card_no,
card_no,
parent_cust_card_no,
car_number,
phone,
msg_state,
res_code,
res_message,
idertifier,
card_res,
buy_type,
num,
discount_amount,
act_amount,
total_amount,
card_free_time,
card_free_surplus_time,
eff_date,
exp_date,
data_state,
remark,
create_empid,
create_name,
create_date,
modify_empid,
modify_name,
modify_date,
org_id,
org_name,
#{type,jdbcType=INTEGER},
#{custCardNo,jdbcType=VARCHAR},
#{cardNo,jdbcType=VARCHAR},
#{parentCustCardNo,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{msgState,jdbcType=INTEGER},
#{resCode,jdbcType=VARCHAR},
#{resMessage,jdbcType=VARCHAR},
#{idertifier,jdbcType=VARCHAR},
#{cardRes,jdbcType=INTEGER},
#{buyType,jdbcType=INTEGER},
#{num,jdbcType=INTEGER},
#{discountAmount,jdbcType=BIGINT},
#{actAmount,jdbcType=BIGINT},
#{totalAmount,jdbcType=BIGINT},
#{cardFreeTime,jdbcType=INTEGER},
#{cardFreeSurplusTime,jdbcType=INTEGER},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{dataState,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createEmpid,jdbcType=VARCHAR},
#{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR},
#{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
update t_vip_area_card_cust_info
id = #{record.id,jdbcType=BIGINT},
type = #{record.type,jdbcType=INTEGER},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
parent_cust_card_no = #{record.parentCustCardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
msg_state = #{record.msgState,jdbcType=INTEGER},
res_code = #{record.resCode,jdbcType=VARCHAR},
res_message = #{record.resMessage,jdbcType=VARCHAR},
idertifier = #{record.idertifier,jdbcType=VARCHAR},
card_res = #{record.cardRes,jdbcType=INTEGER},
buy_type = #{record.buyType,jdbcType=INTEGER},
num = #{record.num,jdbcType=INTEGER},
discount_amount = #{record.discountAmount,jdbcType=BIGINT},
act_amount = #{record.actAmount,jdbcType=BIGINT},
total_amount = #{record.totalAmount,jdbcType=BIGINT},
card_free_time = #{record.cardFreeTime,jdbcType=INTEGER},
card_free_surplus_time = #{record.cardFreeSurplusTime,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
update t_vip_area_card_cust_info
set id = #{record.id,jdbcType=BIGINT},
type = #{record.type,jdbcType=INTEGER},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
parent_cust_card_no = #{record.parentCustCardNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
msg_state = #{record.msgState,jdbcType=INTEGER},
res_code = #{record.resCode,jdbcType=VARCHAR},
res_message = #{record.resMessage,jdbcType=VARCHAR},
idertifier = #{record.idertifier,jdbcType=VARCHAR},
card_res = #{record.cardRes,jdbcType=INTEGER},
buy_type = #{record.buyType,jdbcType=INTEGER},
num = #{record.num,jdbcType=INTEGER},
discount_amount = #{record.discountAmount,jdbcType=BIGINT},
act_amount = #{record.actAmount,jdbcType=BIGINT},
total_amount = #{record.totalAmount,jdbcType=BIGINT},
card_free_time = #{record.cardFreeTime,jdbcType=INTEGER},
card_free_surplus_time = #{record.cardFreeSurplusTime,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR}
update t_vip_area_card_cust_info
type = #{type,jdbcType=INTEGER},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
parent_cust_card_no = #{parentCustCardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
msg_state = #{msgState,jdbcType=INTEGER},
res_code = #{resCode,jdbcType=VARCHAR},
res_message = #{resMessage,jdbcType=VARCHAR},
idertifier = #{idertifier,jdbcType=VARCHAR},
card_res = #{cardRes,jdbcType=INTEGER},
buy_type = #{buyType,jdbcType=INTEGER},
num = #{num,jdbcType=INTEGER},
discount_amount = #{discountAmount,jdbcType=BIGINT},
act_amount = #{actAmount,jdbcType=BIGINT},
total_amount = #{totalAmount,jdbcType=BIGINT},
card_free_time = #{cardFreeTime,jdbcType=INTEGER},
card_free_surplus_time = #{cardFreeSurplusTime,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update t_vip_area_card_cust_info
set type = #{type,jdbcType=INTEGER},
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
parent_cust_card_no = #{parentCustCardNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
msg_state = #{msgState,jdbcType=INTEGER},
res_code = #{resCode,jdbcType=VARCHAR},
res_message = #{resMessage,jdbcType=VARCHAR},
idertifier = #{idertifier,jdbcType=VARCHAR},
card_res = #{cardRes,jdbcType=INTEGER},
buy_type = #{buyType,jdbcType=INTEGER},
num = #{num,jdbcType=INTEGER},
discount_amount = #{discountAmount,jdbcType=BIGINT},
act_amount = #{actAmount,jdbcType=BIGINT},
total_amount = #{totalAmount,jdbcType=BIGINT},
card_free_time = #{cardFreeTime,jdbcType=INTEGER},
card_free_surplus_time = #{cardFreeSurplusTime,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}