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, white_r_no, white_r_name, match_type, charge_type, car_color, car_num, car_owner,
sex, address, card_id, phone, white_r_state, auditor_status, remark, data_state,
create_empid, create_name, create_date, modify_empid, modify_name, modify_date, eff_date,
exp_date, max_charge_fee, report_fee_type, org_id
delete from tb_r_whitelist_rule
where id = #{id,jdbcType=BIGINT}
delete from tb_r_whitelist_rule
SELECT LAST_INSERT_ID()
insert into tb_r_whitelist_rule (white_r_no, white_r_name, match_type,
charge_type, car_color, car_num,
car_owner, sex, address,
card_id, phone, white_r_state,
auditor_status, remark, data_state,
create_empid, create_name, create_date,
modify_empid, modify_name, modify_date,
eff_date, exp_date, max_charge_fee,
report_fee_type, org_id)
values (#{whiteRNo,jdbcType=VARCHAR}, #{whiteRName,jdbcType=VARCHAR}, #{matchType,jdbcType=INTEGER},
#{chargeType,jdbcType=INTEGER}, #{carColor,jdbcType=VARCHAR}, #{carNum,jdbcType=VARCHAR},
#{carOwner,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR},
#{cardId,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{whiteRState,jdbcType=INTEGER},
#{auditorStatus,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR}, #{createName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR}, #{modifyName,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP},
#{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{maxChargeFee,jdbcType=BIGINT},
#{reportFeeType,jdbcType=INTEGER}, #{orgId,jdbcType=BIGINT})
SELECT LAST_INSERT_ID()
insert into tb_r_whitelist_rule
white_r_no,
white_r_name,
match_type,
charge_type,
car_color,
car_num,
car_owner,
sex,
address,
card_id,
phone,
white_r_state,
auditor_status,
remark,
data_state,
create_empid,
create_name,
create_date,
modify_empid,
modify_name,
modify_date,
eff_date,
exp_date,
max_charge_fee,
report_fee_type,
org_id,
#{whiteRNo,jdbcType=VARCHAR},
#{whiteRName,jdbcType=VARCHAR},
#{matchType,jdbcType=INTEGER},
#{chargeType,jdbcType=INTEGER},
#{carColor,jdbcType=VARCHAR},
#{carNum,jdbcType=VARCHAR},
#{carOwner,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER},
#{address,jdbcType=VARCHAR},
#{cardId,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{whiteRState,jdbcType=INTEGER},
#{auditorStatus,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR},
#{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{maxChargeFee,jdbcType=BIGINT},
#{reportFeeType,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT},
update tb_r_whitelist_rule
id = #{record.id,jdbcType=BIGINT},
white_r_no = #{record.whiteRNo,jdbcType=VARCHAR},
white_r_name = #{record.whiteRName,jdbcType=VARCHAR},
match_type = #{record.matchType,jdbcType=INTEGER},
charge_type = #{record.chargeType,jdbcType=INTEGER},
car_color = #{record.carColor,jdbcType=VARCHAR},
car_num = #{record.carNum,jdbcType=VARCHAR},
car_owner = #{record.carOwner,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
address = #{record.address,jdbcType=VARCHAR},
card_id = #{record.cardId,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
white_r_state = #{record.whiteRState,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
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},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
max_charge_fee = #{record.maxChargeFee,jdbcType=BIGINT},
report_fee_type = #{record.reportFeeType,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
update tb_r_whitelist_rule
set id = #{record.id,jdbcType=BIGINT},
white_r_no = #{record.whiteRNo,jdbcType=VARCHAR},
white_r_name = #{record.whiteRName,jdbcType=VARCHAR},
match_type = #{record.matchType,jdbcType=INTEGER},
charge_type = #{record.chargeType,jdbcType=INTEGER},
car_color = #{record.carColor,jdbcType=VARCHAR},
car_num = #{record.carNum,jdbcType=VARCHAR},
car_owner = #{record.carOwner,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
address = #{record.address,jdbcType=VARCHAR},
card_id = #{record.cardId,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
white_r_state = #{record.whiteRState,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
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},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
max_charge_fee = #{record.maxChargeFee,jdbcType=BIGINT},
report_fee_type = #{record.reportFeeType,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT}
update tb_r_whitelist_rule
white_r_no = #{whiteRNo,jdbcType=VARCHAR},
white_r_name = #{whiteRName,jdbcType=VARCHAR},
match_type = #{matchType,jdbcType=INTEGER},
charge_type = #{chargeType,jdbcType=INTEGER},
car_color = #{carColor,jdbcType=VARCHAR},
car_num = #{carNum,jdbcType=VARCHAR},
car_owner = #{carOwner,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
address = #{address,jdbcType=VARCHAR},
card_id = #{cardId,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
white_r_state = #{whiteRState,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
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},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
max_charge_fee = #{maxChargeFee,jdbcType=BIGINT},
report_fee_type = #{reportFeeType,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update tb_r_whitelist_rule
set white_r_no = #{whiteRNo,jdbcType=VARCHAR},
white_r_name = #{whiteRName,jdbcType=VARCHAR},
match_type = #{matchType,jdbcType=INTEGER},
charge_type = #{chargeType,jdbcType=INTEGER},
car_color = #{carColor,jdbcType=VARCHAR},
car_num = #{carNum,jdbcType=VARCHAR},
car_owner = #{carOwner,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
address = #{address,jdbcType=VARCHAR},
card_id = #{cardId,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
white_r_state = #{whiteRState,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
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},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
max_charge_fee = #{maxChargeFee,jdbcType=BIGINT},
report_fee_type = #{reportFeeType,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}