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, disc_no, disc_name, begin_time, end_time, pay_type, day_limit_num, month_limit_num,
all_limit_fee, residue_limit_fee, order_min_fee, order_max_fee, order_fee, disc_type,
third_disc, org_id, disc_state, auditor_status, remarks, data_state, create_emp_id,
create_name, create_date, modify_emp_id, modify_name, modify_date, no_pass_pay_switch,
app_pay_switch, h5_pay_switch
delete from t_activity_third_discount
where id = #{id,jdbcType=BIGINT}
delete from t_activity_third_discount
SELECT LAST_INSERT_ID()
insert into t_activity_third_discount (disc_no, disc_name, begin_time,
end_time, pay_type, day_limit_num,
month_limit_num, all_limit_fee, residue_limit_fee,
order_min_fee, order_max_fee, order_fee,
disc_type, third_disc, org_id,
disc_state, auditor_status, remarks,
data_state, create_emp_id, create_name,
create_date, modify_emp_id, modify_name,
modify_date, no_pass_pay_switch, app_pay_switch,
h5_pay_switch)
values (#{discNo,jdbcType=VARCHAR}, #{discName,jdbcType=VARCHAR}, #{beginTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP}, #{payType,jdbcType=INTEGER}, #{dayLimitNum,jdbcType=INTEGER},
#{monthLimitNum,jdbcType=INTEGER}, #{allLimitFee,jdbcType=BIGINT}, #{residueLimitFee,jdbcType=BIGINT},
#{orderMinFee,jdbcType=BIGINT}, #{orderMaxFee,jdbcType=BIGINT}, #{orderFee,jdbcType=BIGINT},
#{discType,jdbcType=INTEGER}, #{thirdDisc,jdbcType=INTEGER}, #{orgId,jdbcType=BIGINT},
#{discState,jdbcType=INTEGER}, #{auditorStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modifyEmpId,jdbcType=VARCHAR}, #{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP}, #{noPassPaySwitch,jdbcType=INTEGER}, #{appPaySwitch,jdbcType=INTEGER},
#{h5PaySwitch,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into t_activity_third_discount
disc_no,
disc_name,
begin_time,
end_time,
pay_type,
day_limit_num,
month_limit_num,
all_limit_fee,
residue_limit_fee,
order_min_fee,
order_max_fee,
order_fee,
disc_type,
third_disc,
org_id,
disc_state,
auditor_status,
remarks,
data_state,
create_emp_id,
create_name,
create_date,
modify_emp_id,
modify_name,
modify_date,
no_pass_pay_switch,
app_pay_switch,
h5_pay_switch,
#{discNo,jdbcType=VARCHAR},
#{discName,jdbcType=VARCHAR},
#{beginTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP},
#{payType,jdbcType=INTEGER},
#{dayLimitNum,jdbcType=INTEGER},
#{monthLimitNum,jdbcType=INTEGER},
#{allLimitFee,jdbcType=BIGINT},
#{residueLimitFee,jdbcType=BIGINT},
#{orderMinFee,jdbcType=BIGINT},
#{orderMaxFee,jdbcType=BIGINT},
#{orderFee,jdbcType=BIGINT},
#{discType,jdbcType=INTEGER},
#{thirdDisc,jdbcType=INTEGER},
#{orgId,jdbcType=BIGINT},
#{discState,jdbcType=INTEGER},
#{auditorStatus,jdbcType=INTEGER},
#{remarks,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR},
#{modifyName,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{noPassPaySwitch,jdbcType=INTEGER},
#{appPaySwitch,jdbcType=INTEGER},
#{h5PaySwitch,jdbcType=INTEGER},
update t_activity_third_discount
id = #{record.id,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
disc_name = #{record.discName,jdbcType=VARCHAR},
begin_time = #{record.beginTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
pay_type = #{record.payType,jdbcType=INTEGER},
day_limit_num = #{record.dayLimitNum,jdbcType=INTEGER},
month_limit_num = #{record.monthLimitNum,jdbcType=INTEGER},
all_limit_fee = #{record.allLimitFee,jdbcType=BIGINT},
residue_limit_fee = #{record.residueLimitFee,jdbcType=BIGINT},
order_min_fee = #{record.orderMinFee,jdbcType=BIGINT},
order_max_fee = #{record.orderMaxFee,jdbcType=BIGINT},
order_fee = #{record.orderFee,jdbcType=BIGINT},
disc_type = #{record.discType,jdbcType=INTEGER},
third_disc = #{record.thirdDisc,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
disc_state = #{record.discState,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
remarks = #{record.remarks,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
no_pass_pay_switch = #{record.noPassPaySwitch,jdbcType=INTEGER},
app_pay_switch = #{record.appPaySwitch,jdbcType=INTEGER},
h5_pay_switch = #{record.h5PaySwitch,jdbcType=INTEGER},
update t_activity_third_discount
set id = #{record.id,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
disc_name = #{record.discName,jdbcType=VARCHAR},
begin_time = #{record.beginTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
pay_type = #{record.payType,jdbcType=INTEGER},
day_limit_num = #{record.dayLimitNum,jdbcType=INTEGER},
month_limit_num = #{record.monthLimitNum,jdbcType=INTEGER},
all_limit_fee = #{record.allLimitFee,jdbcType=BIGINT},
residue_limit_fee = #{record.residueLimitFee,jdbcType=BIGINT},
order_min_fee = #{record.orderMinFee,jdbcType=BIGINT},
order_max_fee = #{record.orderMaxFee,jdbcType=BIGINT},
order_fee = #{record.orderFee,jdbcType=BIGINT},
disc_type = #{record.discType,jdbcType=INTEGER},
third_disc = #{record.thirdDisc,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=BIGINT},
disc_state = #{record.discState,jdbcType=INTEGER},
auditor_status = #{record.auditorStatus,jdbcType=INTEGER},
remarks = #{record.remarks,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_name = #{record.createName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_name = #{record.modifyName,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
no_pass_pay_switch = #{record.noPassPaySwitch,jdbcType=INTEGER},
app_pay_switch = #{record.appPaySwitch,jdbcType=INTEGER},
h5_pay_switch = #{record.h5PaySwitch,jdbcType=INTEGER}
update t_activity_third_discount
disc_no = #{discNo,jdbcType=VARCHAR},
disc_name = #{discName,jdbcType=VARCHAR},
begin_time = #{beginTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
pay_type = #{payType,jdbcType=INTEGER},
day_limit_num = #{dayLimitNum,jdbcType=INTEGER},
month_limit_num = #{monthLimitNum,jdbcType=INTEGER},
all_limit_fee = #{allLimitFee,jdbcType=BIGINT},
residue_limit_fee = #{residueLimitFee,jdbcType=BIGINT},
order_min_fee = #{orderMinFee,jdbcType=BIGINT},
order_max_fee = #{orderMaxFee,jdbcType=BIGINT},
order_fee = #{orderFee,jdbcType=BIGINT},
disc_type = #{discType,jdbcType=INTEGER},
third_disc = #{thirdDisc,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
disc_state = #{discState,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
remarks = #{remarks,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
no_pass_pay_switch = #{noPassPaySwitch,jdbcType=INTEGER},
app_pay_switch = #{appPaySwitch,jdbcType=INTEGER},
h5_pay_switch = #{h5PaySwitch,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update t_activity_third_discount
set disc_no = #{discNo,jdbcType=VARCHAR},
disc_name = #{discName,jdbcType=VARCHAR},
begin_time = #{beginTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
pay_type = #{payType,jdbcType=INTEGER},
day_limit_num = #{dayLimitNum,jdbcType=INTEGER},
month_limit_num = #{monthLimitNum,jdbcType=INTEGER},
all_limit_fee = #{allLimitFee,jdbcType=BIGINT},
residue_limit_fee = #{residueLimitFee,jdbcType=BIGINT},
order_min_fee = #{orderMinFee,jdbcType=BIGINT},
order_max_fee = #{orderMaxFee,jdbcType=BIGINT},
order_fee = #{orderFee,jdbcType=BIGINT},
disc_type = #{discType,jdbcType=INTEGER},
third_disc = #{thirdDisc,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=BIGINT},
disc_state = #{discState,jdbcType=INTEGER},
auditor_status = #{auditorStatus,jdbcType=INTEGER},
remarks = #{remarks,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_name = #{createName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_name = #{modifyName,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
no_pass_pay_switch = #{noPassPaySwitch,jdbcType=INTEGER},
app_pay_switch = #{appPaySwitch,jdbcType=INTEGER},
h5_pay_switch = #{h5PaySwitch,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}