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, recharge_amount, Fixed_disc, subsidy_disc, remarks, data_state, create_emp_id,
create_name, create_date, modify_emp_id, modify_name, modify_date, org_id
delete from t_activity_abcbank_discount_desc
where id = #{id,jdbcType=BIGINT}
delete from t_activity_abcbank_discount_desc
SELECT LAST_INSERT_ID()
insert into t_activity_abcbank_discount_desc (disc_no, recharge_amount, Fixed_disc,
subsidy_disc, remarks, data_state,
create_emp_id, create_name, create_date,
modify_emp_id, modify_name, modify_date,
org_id)
values (#{discNo,jdbcType=VARCHAR}, #{rechargeAmount,jdbcType=BIGINT}, #{fixedDisc,jdbcType=INTEGER},
#{subsidyDisc,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},
#{orgId,jdbcType=BIGINT})
SELECT LAST_INSERT_ID()
insert into t_activity_abcbank_discount_desc
disc_no,
recharge_amount,
Fixed_disc,
subsidy_disc,
remarks,
data_state,
create_emp_id,
create_name,
create_date,
modify_emp_id,
modify_name,
modify_date,
org_id,
#{discNo,jdbcType=VARCHAR},
#{rechargeAmount,jdbcType=BIGINT},
#{fixedDisc,jdbcType=INTEGER},
#{subsidyDisc,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},
#{orgId,jdbcType=BIGINT},
update t_activity_abcbank_discount_desc
id = #{record.id,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
recharge_amount = #{record.rechargeAmount,jdbcType=BIGINT},
Fixed_disc = #{record.fixedDisc,jdbcType=INTEGER},
subsidy_disc = #{record.subsidyDisc,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},
org_id = #{record.orgId,jdbcType=BIGINT},
update t_activity_abcbank_discount_desc
set id = #{record.id,jdbcType=BIGINT},
disc_no = #{record.discNo,jdbcType=VARCHAR},
recharge_amount = #{record.rechargeAmount,jdbcType=BIGINT},
Fixed_disc = #{record.fixedDisc,jdbcType=INTEGER},
subsidy_disc = #{record.subsidyDisc,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},
org_id = #{record.orgId,jdbcType=BIGINT}
update t_activity_abcbank_discount_desc
disc_no = #{discNo,jdbcType=VARCHAR},
recharge_amount = #{rechargeAmount,jdbcType=BIGINT},
Fixed_disc = #{fixedDisc,jdbcType=INTEGER},
subsidy_disc = #{subsidyDisc,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},
org_id = #{orgId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update t_activity_abcbank_discount_desc
set disc_no = #{discNo,jdbcType=VARCHAR},
recharge_amount = #{rechargeAmount,jdbcType=BIGINT},
Fixed_disc = #{fixedDisc,jdbcType=INTEGER},
subsidy_disc = #{subsidyDisc,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},
org_id = #{orgId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}