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, week_num, org_id, area_id, area_name, pl_no, pl_name,
charger_num, berth_num, order_num, total_fee, act_fee, dicount_fee, arrearage_fee,
refund_fee, ali_fee, ali_charge_num, wx_fee, wx_charge_num, cash_fee, cash_charge_num,
balance_fee, balance_charge_num, 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_park_week
where id = #{id,jdbcType=BIGINT}
delete from income_statistic_park_week
SELECT LAST_INSERT_ID()
insert into income_statistic_park_week (static_date, static_date_str, week_num,
org_id, area_id, area_name,
pl_no, pl_name, charger_num,
berth_num, order_num, total_fee,
act_fee, dicount_fee, arrearage_fee,
refund_fee, ali_fee, ali_charge_num,
wx_fee, wx_charge_num, cash_fee,
cash_charge_num, balance_fee, balance_charge_num,
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}, #{weekNum,jdbcType=INTEGER},
#{orgId,jdbcType=INTEGER}, #{areaId,jdbcType=VARCHAR}, #{areaName,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{chargerNum,jdbcType=INTEGER},
#{berthNum,jdbcType=INTEGER}, #{orderNum,jdbcType=INTEGER}, #{totalFee,jdbcType=BIGINT},
#{actFee,jdbcType=BIGINT}, #{dicountFee,jdbcType=BIGINT}, #{arrearageFee,jdbcType=BIGINT},
#{refundFee,jdbcType=BIGINT}, #{aliFee,jdbcType=BIGINT}, #{aliChargeNum,jdbcType=INTEGER},
#{wxFee,jdbcType=BIGINT}, #{wxChargeNum,jdbcType=INTEGER}, #{cashFee,jdbcType=BIGINT},
#{cashChargeNum,jdbcType=INTEGER}, #{balanceFee,jdbcType=BIGINT}, #{balanceChargeNum,jdbcType=INTEGER},
#{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_park_week
static_date,
static_date_str,
week_num,
org_id,
area_id,
area_name,
pl_no,
pl_name,
charger_num,
berth_num,
order_num,
total_fee,
act_fee,
dicount_fee,
arrearage_fee,
refund_fee,
ali_fee,
ali_charge_num,
wx_fee,
wx_charge_num,
cash_fee,
cash_charge_num,
balance_fee,
balance_charge_num,
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},
#{weekNum,jdbcType=INTEGER},
#{orgId,jdbcType=INTEGER},
#{areaId,jdbcType=VARCHAR},
#{areaName,jdbcType=VARCHAR},
#{plNo,jdbcType=VARCHAR},
#{plName,jdbcType=VARCHAR},
#{chargerNum,jdbcType=INTEGER},
#{berthNum,jdbcType=INTEGER},
#{orderNum,jdbcType=INTEGER},
#{totalFee,jdbcType=BIGINT},
#{actFee,jdbcType=BIGINT},
#{dicountFee,jdbcType=BIGINT},
#{arrearageFee,jdbcType=BIGINT},
#{refundFee,jdbcType=BIGINT},
#{aliFee,jdbcType=BIGINT},
#{aliChargeNum,jdbcType=INTEGER},
#{wxFee,jdbcType=BIGINT},
#{wxChargeNum,jdbcType=INTEGER},
#{cashFee,jdbcType=BIGINT},
#{cashChargeNum,jdbcType=INTEGER},
#{balanceFee,jdbcType=BIGINT},
#{balanceChargeNum,jdbcType=INTEGER},
#{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_park_week
id = #{record.id,jdbcType=BIGINT},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
week_num = #{record.weekNum,jdbcType=INTEGER},
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},
charger_num = #{record.chargerNum,jdbcType=INTEGER},
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},
arrearage_fee = #{record.arrearageFee,jdbcType=BIGINT},
refund_fee = #{record.refundFee,jdbcType=BIGINT},
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},
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_park_week
set id = #{record.id,jdbcType=BIGINT},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
week_num = #{record.weekNum,jdbcType=INTEGER},
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},
charger_num = #{record.chargerNum,jdbcType=INTEGER},
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},
arrearage_fee = #{record.arrearageFee,jdbcType=BIGINT},
refund_fee = #{record.refundFee,jdbcType=BIGINT},
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},
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_park_week
static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
week_num = #{weekNum,jdbcType=INTEGER},
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},
charger_num = #{chargerNum,jdbcType=INTEGER},
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},
arrearage_fee = #{arrearageFee,jdbcType=BIGINT},
refund_fee = #{refundFee,jdbcType=BIGINT},
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},
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_park_week
set static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
week_num = #{weekNum,jdbcType=INTEGER},
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},
charger_num = #{chargerNum,jdbcType=INTEGER},
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},
arrearage_fee = #{arrearageFee,jdbcType=BIGINT},
refund_fee = #{refundFee,jdbcType=BIGINT},
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},
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}