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, card_no, card_name, car_type, card_type, area_card_type, sale_channel,
max_sport_parknum, card_buy_day, price, disc_value, is_support_renew, limit_times_flag,
limit_times, limit_duration_flag, limit_duration, card_free_time, eff_date, exp_date,
card_status, auditor_status, data_state, remark, create_empid, create_name, create_date,
modify_empid, modify_name, modify_date, org_id, org_name, buy_notes_url, pl_group_no
delete from t_vip_area_card
where id = #{id,jdbcType=BIGINT}
delete from t_vip_area_card
SELECT LAST_INSERT_ID()
insert into t_vip_area_card (type, card_no, card_name,
car_type, card_type, area_card_type,
sale_channel, max_sport_parknum, card_buy_day,
price, disc_value, is_support_renew,
limit_times_flag, limit_times, limit_duration_flag,
limit_duration, card_free_time, eff_date,
exp_date, card_status, auditor_status,
data_state, remark, create_empid,
create_name, create_date, modify_empid,
modify_name, modify_date, org_id,
org_name, buy_notes_url, pl_group_no
)
values (#{type,jdbcType=INTEGER}, #{cardNo,jdbcType=VARCHAR}, #{cardName,jdbcType=VARCHAR},
#{carType,jdbcType=INTEGER}, #{cardType,jdbcType=INTEGER}, #{areaCardType,jdbcType=INTEGER},
#{saleChannel,jdbcType=INTEGER}, #{maxSportParknum,jdbcType=INTEGER}, #{cardBuyDay,jdbcType=INTEGER},
#{price,jdbcType=BIGINT}, #{discValue,jdbcType=INTEGER}, #{isSupportRenew,jdbcType=INTEGER},
#{limitTimesFlag,jdbcType=INTEGER}, #{limitTimes,jdbcType=INTEGER}, #{limitDurationFlag,jdbcType=INTEGER},
#{limitDuration,jdbcType=INTEGER}, #{cardFreeTime,jdbcType=INTEGER}, #{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP}, #{cardStatus,jdbcType=INTEGER}, #{auditorStatus,jdbcType=INTEGER},
#{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}, #{buyNotesUrl,jdbcType=VARCHAR}, #{plGroupNo,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into t_vip_area_card
type,
card_no,
card_name,
car_type,
card_type,
area_card_type,
sale_channel,
max_sport_parknum,
card_buy_day,
price,
disc_value,
is_support_renew,
limit_times_flag,
limit_times,
limit_duration_flag,
limit_duration,
card_free_time,
eff_date,
exp_date,
card_status,
auditor_status,
data_state,
remark,
create_empid,
create_name,
create_date,
modify_empid,
modify_name,
modify_date,
org_id,
org_name,
buy_notes_url,
pl_group_no,
#{type,jdbcType=INTEGER},
#{cardNo,jdbcType=VARCHAR},
#{cardName,jdbcType=VARCHAR},
#{carType,jdbcType=INTEGER},
#{cardType,jdbcType=INTEGER},
#{areaCardType,jdbcType=INTEGER},
#{saleChannel,jdbcType=INTEGER},
#{maxSportParknum,jdbcType=INTEGER},
#{cardBuyDay,jdbcType=INTEGER},
#{price,jdbcType=BIGINT},
#{discValue,jdbcType=INTEGER},
#{isSupportRenew,jdbcType=INTEGER},
#{limitTimesFlag,jdbcType=INTEGER},
#{limitTimes,jdbcType=INTEGER},
#{limitDurationFlag,jdbcType=INTEGER},
#{limitDuration,jdbcType=INTEGER},
#{cardFreeTime,jdbcType=INTEGER},
#{effDate,jdbcType=TIMESTAMP},
#{expDate,jdbcType=TIMESTAMP},
#{cardStatus,jdbcType=INTEGER},
#{auditorStatus,jdbcType=INTEGER},
#{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},
#{buyNotesUrl,jdbcType=VARCHAR},
#{plGroupNo,jdbcType=VARCHAR},
update t_vip_area_card
id = #{record.id,jdbcType=BIGINT},
type = #{record.type,jdbcType=INTEGER},
card_no = #{record.cardNo,jdbcType=VARCHAR},
card_name = #{record.cardName,jdbcType=VARCHAR},
car_type = #{record.carType,jdbcType=INTEGER},
card_type = #{record.cardType,jdbcType=INTEGER},
area_card_type = #{record.areaCardType,jdbcType=INTEGER},
sale_channel = #{record.saleChannel,jdbcType=INTEGER},
max_sport_parknum = #{record.maxSportParknum,jdbcType=INTEGER},
card_buy_day = #{record.cardBuyDay,jdbcType=INTEGER},
price = #{record.price,jdbcType=BIGINT},
disc_value = #{record.discValue,jdbcType=INTEGER},
is_support_renew = #{record.isSupportRenew,jdbcType=INTEGER},
limit_times_flag = #{record.limitTimesFlag,jdbcType=INTEGER},
limit_times = #{record.limitTimes,jdbcType=INTEGER},
limit_duration_flag = #{record.limitDurationFlag,jdbcType=INTEGER},
limit_duration = #{record.limitDuration,jdbcType=INTEGER},
card_free_time = #{record.cardFreeTime,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
card_status = #{record.cardStatus,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
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},
buy_notes_url = #{record.buyNotesUrl,jdbcType=VARCHAR},
pl_group_no = #{record.plGroupNo,jdbcType=VARCHAR},
update t_vip_area_card
set id = #{record.id,jdbcType=BIGINT},
type = #{record.type,jdbcType=INTEGER},
card_no = #{record.cardNo,jdbcType=VARCHAR},
card_name = #{record.cardName,jdbcType=VARCHAR},
car_type = #{record.carType,jdbcType=INTEGER},
card_type = #{record.cardType,jdbcType=INTEGER},
area_card_type = #{record.areaCardType,jdbcType=INTEGER},
sale_channel = #{record.saleChannel,jdbcType=INTEGER},
max_sport_parknum = #{record.maxSportParknum,jdbcType=INTEGER},
card_buy_day = #{record.cardBuyDay,jdbcType=INTEGER},
price = #{record.price,jdbcType=BIGINT},
disc_value = #{record.discValue,jdbcType=INTEGER},
is_support_renew = #{record.isSupportRenew,jdbcType=INTEGER},
limit_times_flag = #{record.limitTimesFlag,jdbcType=INTEGER},
limit_times = #{record.limitTimes,jdbcType=INTEGER},
limit_duration_flag = #{record.limitDurationFlag,jdbcType=INTEGER},
limit_duration = #{record.limitDuration,jdbcType=INTEGER},
card_free_time = #{record.cardFreeTime,jdbcType=INTEGER},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
exp_date = #{record.expDate,jdbcType=TIMESTAMP},
card_status = #{record.cardStatus,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
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},
buy_notes_url = #{record.buyNotesUrl,jdbcType=VARCHAR},
pl_group_no = #{record.plGroupNo,jdbcType=VARCHAR}
update t_vip_area_card
type = #{type,jdbcType=INTEGER},
card_no = #{cardNo,jdbcType=VARCHAR},
card_name = #{cardName,jdbcType=VARCHAR},
car_type = #{carType,jdbcType=INTEGER},
card_type = #{cardType,jdbcType=INTEGER},
area_card_type = #{areaCardType,jdbcType=INTEGER},
sale_channel = #{saleChannel,jdbcType=INTEGER},
max_sport_parknum = #{maxSportParknum,jdbcType=INTEGER},
card_buy_day = #{cardBuyDay,jdbcType=INTEGER},
price = #{price,jdbcType=BIGINT},
disc_value = #{discValue,jdbcType=INTEGER},
is_support_renew = #{isSupportRenew,jdbcType=INTEGER},
limit_times_flag = #{limitTimesFlag,jdbcType=INTEGER},
limit_times = #{limitTimes,jdbcType=INTEGER},
limit_duration_flag = #{limitDurationFlag,jdbcType=INTEGER},
limit_duration = #{limitDuration,jdbcType=INTEGER},
card_free_time = #{cardFreeTime,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
card_status = #{cardStatus,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
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},
buy_notes_url = #{buyNotesUrl,jdbcType=VARCHAR},
pl_group_no = #{plGroupNo,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update t_vip_area_card
set type = #{type,jdbcType=INTEGER},
card_no = #{cardNo,jdbcType=VARCHAR},
card_name = #{cardName,jdbcType=VARCHAR},
car_type = #{carType,jdbcType=INTEGER},
card_type = #{cardType,jdbcType=INTEGER},
area_card_type = #{areaCardType,jdbcType=INTEGER},
sale_channel = #{saleChannel,jdbcType=INTEGER},
max_sport_parknum = #{maxSportParknum,jdbcType=INTEGER},
card_buy_day = #{cardBuyDay,jdbcType=INTEGER},
price = #{price,jdbcType=BIGINT},
disc_value = #{discValue,jdbcType=INTEGER},
is_support_renew = #{isSupportRenew,jdbcType=INTEGER},
limit_times_flag = #{limitTimesFlag,jdbcType=INTEGER},
limit_times = #{limitTimes,jdbcType=INTEGER},
limit_duration_flag = #{limitDurationFlag,jdbcType=INTEGER},
limit_duration = #{limitDuration,jdbcType=INTEGER},
card_free_time = #{cardFreeTime,jdbcType=INTEGER},
eff_date = #{effDate,jdbcType=TIMESTAMP},
exp_date = #{expDate,jdbcType=TIMESTAMP},
card_status = #{cardStatus,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
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},
buy_notes_url = #{buyNotesUrl,jdbcType=VARCHAR},
pl_group_no = #{plGroupNo,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}