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, static_date, static_date_str, org_id, area_id, area_name, pl_no, pl_name, berth_num,
order_num, total_fee, act_fee, dicount_fee, app_num, wx_num, platform_num, site_num,
ali_fee, ali_charge_num, wx_fee, wx_charge_num, cash_fee, cash_charge_num, balance_fee,
balance_charge_num, year_card_fee, month_card_fee, season_card_fee, half_year_card_fee,
day_card_fee, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id,
modfiy_emp_name, modfiy_date, remark, pl_type
delete from income_statistic_vip_card_day
where id = #{id,jdbcType=BIGINT}
delete from income_statistic_vip_card_day
SELECT LAST_INSERT_ID()
insert into income_statistic_vip_card_day (static_date, static_date_str, org_id,
area_id, area_name, pl_no,
pl_name, berth_num, order_num,
total_fee, act_fee, dicount_fee,
app_num, wx_num, platform_num,
site_num, ali_fee, ali_charge_num,
wx_fee, wx_charge_num, cash_fee,
cash_charge_num, balance_fee, balance_charge_num,
year_card_fee, month_card_fee, season_card_fee,
half_year_card_fee, day_card_fee, data_state,
create_emp_id, create_emp_name, create_date,
modfiy_emp_id, modfiy_emp_name, modfiy_date,
remark, pl_type)
values (#{staticDate,jdbcType=DATE}, #{staticDateStr,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER},
#{areaId,jdbcType=VARCHAR}, #{areaName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR}, #{berthNum,jdbcType=INTEGER}, #{orderNum,jdbcType=INTEGER},
#{totalFee,jdbcType=BIGINT}, #{actFee,jdbcType=BIGINT}, #{dicountFee,jdbcType=BIGINT},
#{appNum,jdbcType=INTEGER}, #{wxNum,jdbcType=INTEGER}, #{platformNum,jdbcType=INTEGER},
#{siteNum,jdbcType=INTEGER}, #{aliFee,jdbcType=BIGINT}, #{aliChargeNum,jdbcType=INTEGER},
#{wxFee,jdbcType=BIGINT}, #{wxChargeNum,jdbcType=INTEGER}, #{cashFee,jdbcType=BIGINT},
#{cashChargeNum,jdbcType=INTEGER}, #{balanceFee,jdbcType=BIGINT}, #{balanceChargeNum,jdbcType=INTEGER},
#{yearCardFee,jdbcType=BIGINT}, #{monthCardFee,jdbcType=BIGINT}, #{seasonCardFee,jdbcType=BIGINT},
#{halfYearCardFee,jdbcType=BIGINT}, #{dayCardFee,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR}, #{plType,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into income_statistic_vip_card_day
static_date,
static_date_str,
org_id,
area_id,
area_name,
pl_no,
pl_name,
berth_num,
order_num,
total_fee,
act_fee,
dicount_fee,
app_num,
wx_num,
platform_num,
site_num,
ali_fee,
ali_charge_num,
wx_fee,
wx_charge_num,
cash_fee,
cash_charge_num,
balance_fee,
balance_charge_num,
year_card_fee,
month_card_fee,
season_card_fee,
half_year_card_fee,
day_card_fee,
data_state,
create_emp_id,
create_emp_name,
create_date,
modfiy_emp_id,
modfiy_emp_name,
modfiy_date,
remark,
pl_type,
#{staticDate,jdbcType=DATE},
#{staticDateStr,jdbcType=VARCHAR},
#{orgId,jdbcType=INTEGER},
#{areaId,jdbcType=VARCHAR},
#{areaName,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{berthNum,jdbcType=INTEGER},
#{orderNum,jdbcType=INTEGER},
#{totalFee,jdbcType=BIGINT},
#{actFee,jdbcType=BIGINT},
#{dicountFee,jdbcType=BIGINT},
#{appNum,jdbcType=INTEGER},
#{wxNum,jdbcType=INTEGER},
#{platformNum,jdbcType=INTEGER},
#{siteNum,jdbcType=INTEGER},
#{aliFee,jdbcType=BIGINT},
#{aliChargeNum,jdbcType=INTEGER},
#{wxFee,jdbcType=BIGINT},
#{wxChargeNum,jdbcType=INTEGER},
#{cashFee,jdbcType=BIGINT},
#{cashChargeNum,jdbcType=INTEGER},
#{balanceFee,jdbcType=BIGINT},
#{balanceChargeNum,jdbcType=INTEGER},
#{yearCardFee,jdbcType=BIGINT},
#{monthCardFee,jdbcType=BIGINT},
#{seasonCardFee,jdbcType=BIGINT},
#{halfYearCardFee,jdbcType=BIGINT},
#{dayCardFee,jdbcType=BIGINT},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR},
#{modfiyEmpName,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
#{plType,jdbcType=INTEGER},
update income_statistic_vip_card_day
id = #{record.id,jdbcType=BIGINT},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=INTEGER},
area_id = #{record.areaId,jdbcType=VARCHAR},
area_name = #{record.areaName,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_num = #{record.berthNum,jdbcType=INTEGER},
order_num = #{record.orderNum,jdbcType=INTEGER},
total_fee = #{record.totalFee,jdbcType=BIGINT},
act_fee = #{record.actFee,jdbcType=BIGINT},
dicount_fee = #{record.dicountFee,jdbcType=BIGINT},
app_num = #{record.appNum,jdbcType=INTEGER},
wx_num = #{record.wxNum,jdbcType=INTEGER},
platform_num = #{record.platformNum,jdbcType=INTEGER},
site_num = #{record.siteNum,jdbcType=INTEGER},
ali_fee = #{record.aliFee,jdbcType=BIGINT},
ali_charge_num = #{record.aliChargeNum,jdbcType=INTEGER},
wx_fee = #{record.wxFee,jdbcType=BIGINT},
wx_charge_num = #{record.wxChargeNum,jdbcType=INTEGER},
cash_fee = #{record.cashFee,jdbcType=BIGINT},
cash_charge_num = #{record.cashChargeNum,jdbcType=INTEGER},
balance_fee = #{record.balanceFee,jdbcType=BIGINT},
balance_charge_num = #{record.balanceChargeNum,jdbcType=INTEGER},
year_card_fee = #{record.yearCardFee,jdbcType=BIGINT},
month_card_fee = #{record.monthCardFee,jdbcType=BIGINT},
season_card_fee = #{record.seasonCardFee,jdbcType=BIGINT},
half_year_card_fee = #{record.halfYearCardFee,jdbcType=BIGINT},
day_card_fee = #{record.dayCardFee,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
pl_type = #{record.plType,jdbcType=INTEGER},
update income_statistic_vip_card_day
set id = #{record.id,jdbcType=BIGINT},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
org_id = #{record.orgId,jdbcType=INTEGER},
area_id = #{record.areaId,jdbcType=VARCHAR},
area_name = #{record.areaName,jdbcType=VARCHAR},
pl_no = #{record.plNo,jdbcType=VARCHAR},
pl_name = #{record.plName,jdbcType=VARCHAR},
berth_num = #{record.berthNum,jdbcType=INTEGER},
order_num = #{record.orderNum,jdbcType=INTEGER},
total_fee = #{record.totalFee,jdbcType=BIGINT},
act_fee = #{record.actFee,jdbcType=BIGINT},
dicount_fee = #{record.dicountFee,jdbcType=BIGINT},
app_num = #{record.appNum,jdbcType=INTEGER},
wx_num = #{record.wxNum,jdbcType=INTEGER},
platform_num = #{record.platformNum,jdbcType=INTEGER},
site_num = #{record.siteNum,jdbcType=INTEGER},
ali_fee = #{record.aliFee,jdbcType=BIGINT},
ali_charge_num = #{record.aliChargeNum,jdbcType=INTEGER},
wx_fee = #{record.wxFee,jdbcType=BIGINT},
wx_charge_num = #{record.wxChargeNum,jdbcType=INTEGER},
cash_fee = #{record.cashFee,jdbcType=BIGINT},
cash_charge_num = #{record.cashChargeNum,jdbcType=INTEGER},
balance_fee = #{record.balanceFee,jdbcType=BIGINT},
balance_charge_num = #{record.balanceChargeNum,jdbcType=INTEGER},
year_card_fee = #{record.yearCardFee,jdbcType=BIGINT},
month_card_fee = #{record.monthCardFee,jdbcType=BIGINT},
season_card_fee = #{record.seasonCardFee,jdbcType=BIGINT},
half_year_card_fee = #{record.halfYearCardFee,jdbcType=BIGINT},
day_card_fee = #{record.dayCardFee,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
pl_type = #{record.plType,jdbcType=INTEGER}
update income_statistic_vip_card_day
static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=INTEGER},
area_id = #{areaId,jdbcType=VARCHAR},
area_name = #{areaName,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_num = #{berthNum,jdbcType=INTEGER},
order_num = #{orderNum,jdbcType=INTEGER},
total_fee = #{totalFee,jdbcType=BIGINT},
act_fee = #{actFee,jdbcType=BIGINT},
dicount_fee = #{dicountFee,jdbcType=BIGINT},
app_num = #{appNum,jdbcType=INTEGER},
wx_num = #{wxNum,jdbcType=INTEGER},
platform_num = #{platformNum,jdbcType=INTEGER},
site_num = #{siteNum,jdbcType=INTEGER},
ali_fee = #{aliFee,jdbcType=BIGINT},
ali_charge_num = #{aliChargeNum,jdbcType=INTEGER},
wx_fee = #{wxFee,jdbcType=BIGINT},
wx_charge_num = #{wxChargeNum,jdbcType=INTEGER},
cash_fee = #{cashFee,jdbcType=BIGINT},
cash_charge_num = #{cashChargeNum,jdbcType=INTEGER},
balance_fee = #{balanceFee,jdbcType=BIGINT},
balance_charge_num = #{balanceChargeNum,jdbcType=INTEGER},
year_card_fee = #{yearCardFee,jdbcType=BIGINT},
month_card_fee = #{monthCardFee,jdbcType=BIGINT},
season_card_fee = #{seasonCardFee,jdbcType=BIGINT},
half_year_card_fee = #{halfYearCardFee,jdbcType=BIGINT},
day_card_fee = #{dayCardFee,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
pl_type = #{plType,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update income_statistic_vip_card_day
set static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
org_id = #{orgId,jdbcType=INTEGER},
area_id = #{areaId,jdbcType=VARCHAR},
area_name = #{areaName,jdbcType=VARCHAR},
pl_no = #{plNo,jdbcType=VARCHAR},
pl_name = #{plName,jdbcType=VARCHAR},
berth_num = #{berthNum,jdbcType=INTEGER},
order_num = #{orderNum,jdbcType=INTEGER},
total_fee = #{totalFee,jdbcType=BIGINT},
act_fee = #{actFee,jdbcType=BIGINT},
dicount_fee = #{dicountFee,jdbcType=BIGINT},
app_num = #{appNum,jdbcType=INTEGER},
wx_num = #{wxNum,jdbcType=INTEGER},
platform_num = #{platformNum,jdbcType=INTEGER},
site_num = #{siteNum,jdbcType=INTEGER},
ali_fee = #{aliFee,jdbcType=BIGINT},
ali_charge_num = #{aliChargeNum,jdbcType=INTEGER},
wx_fee = #{wxFee,jdbcType=BIGINT},
wx_charge_num = #{wxChargeNum,jdbcType=INTEGER},
cash_fee = #{cashFee,jdbcType=BIGINT},
cash_charge_num = #{cashChargeNum,jdbcType=INTEGER},
balance_fee = #{balanceFee,jdbcType=BIGINT},
balance_charge_num = #{balanceChargeNum,jdbcType=INTEGER},
year_card_fee = #{yearCardFee,jdbcType=BIGINT},
month_card_fee = #{monthCardFee,jdbcType=BIGINT},
season_card_fee = #{seasonCardFee,jdbcType=BIGINT},
half_year_card_fee = #{halfYearCardFee,jdbcType=BIGINT},
day_card_fee = #{dayCardFee,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
pl_type = #{plType,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}