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_card_no, pl_no, car_number, eff_date, exp_date, push_state, data_state,
remark, record_no, org_id, org_name
delete from t_vip_area_card_cust_info_rel
where id = #{id,jdbcType=BIGINT}
delete from t_vip_area_card_cust_info_rel
SELECT LAST_INSERT_ID()
insert into t_vip_area_card_cust_info_rel (cust_card_no, pl_no, car_number,
eff_date, exp_date, push_state,
data_state, remark, record_no,
org_id, org_name)
values (#{custCardNo,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR},
#{effDate,jdbcType=TIMESTAMP}, #{expDate,jdbcType=TIMESTAMP}, #{pushState,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{recordNo,jdbcType=VARCHAR},
#{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into t_vip_area_card_cust_info_rel
cust_card_no,
pl_no,
car_number,
eff_date,
exp_date,
push_state,
data_state,
remark,
record_no,
org_id,
org_name,
#{custCardNo,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{carNumber,jdbcType=VARCHAR},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{pushState,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{recordNo,jdbcType=VARCHAR},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
update t_vip_area_card_cust_info_rel
id = #{record.id,jdbcType=BIGINT},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
push_state = #{record.pushState,jdbcType=INTEGER},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
record_no = #{record.recordNo,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR},
update t_vip_area_card_cust_info_rel
set id = #{record.id,jdbcType=BIGINT},
cust_card_no = #{record.custCardNo,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
car_number = #{record.carNumber,jdbcType=VARCHAR},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
push_state = #{record.pushState,jdbcType=INTEGER},
data_state = #{record.dataState,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
record_no = #{record.recordNo,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=BIGINT},
org_name = #{record.orgName,jdbcType=VARCHAR}
update t_vip_area_card_cust_info_rel
cust_card_no = #{custCardNo,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
push_state = #{pushState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
record_no = #{recordNo,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update t_vip_area_card_cust_info_rel
set cust_card_no = #{custCardNo,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
car_number = #{carNumber,jdbcType=VARCHAR},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
push_state = #{pushState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
record_no = #{recordNo,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}