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, card_rule_name, card_type, card_status, effect_time, expire_time, unit_price,
discount, data_status, create_date, update_date, charge_type, charge, count, customer_no,
card_no
delete from td_cl_sub_charge_information
where id = #{id,jdbcType=INTEGER}
delete from td_cl_sub_charge_information
SELECT LAST_INSERT_ID()
insert into td_cl_sub_charge_information (card_rule_name, card_type, card_status,
effect_time, expire_time, unit_price,
discount, data_status, create_date,
update_date, charge_type, charge,
count, customer_no, card_no
)
values (#{cardRuleName,jdbcType=VARCHAR}, #{cardType,jdbcType=INTEGER}, #{cardStatus,jdbcType=INTEGER},
#{effectTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=TIMESTAMP}, #{unitPrice,jdbcType=BIGINT},
#{discount,jdbcType=INTEGER}, #{dataStatus,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP},
#{updateDate,jdbcType=TIMESTAMP}, #{chargeType,jdbcType=BIGINT}, #{charge,jdbcType=BIGINT},
#{count,jdbcType=INTEGER}, #{customerNo,jdbcType=VARCHAR}, #{cardNo,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into td_cl_sub_charge_information
card_rule_name,
card_type,
card_status,
effect_time,
expire_time,
unit_price,
discount,
data_status,
create_date,
update_date,
charge_type,
charge,
count,
customer_no,
card_no,
#{cardRuleName,jdbcType=VARCHAR},
#{cardType,jdbcType=INTEGER},
#{cardStatus,jdbcType=INTEGER},
#{effectTime,jdbcType=TIMESTAMP},
#{expireTime,jdbcType=TIMESTAMP},
#{unitPrice,jdbcType=BIGINT},
#{discount,jdbcType=INTEGER},
#{dataStatus,jdbcType=INTEGER},
#{createDate,jdbcType=TIMESTAMP},
#{updateDate,jdbcType=TIMESTAMP},
#{chargeType,jdbcType=INTEGER},
#{charge,jdbcType=BIGINT},
#{count,jdbcType=INTEGER},
#{customerNo,jdbcType=VARCHAR},
#{cardNo,jdbcType=VARCHAR},
update td_cl_sub_charge_information
id = #{record.id,jdbcType=INTEGER},
card_rule_name = #{record.cardRuleName,jdbcType=VARCHAR},
card_type = #{record.cardType,jdbcType=INTEGER},
card_status = #{record.cardStatus,jdbcType=INTEGER},
effect_time = #{record.effectTime,jdbcType=TIMESTAMP},
expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
unit_price = #{record.unitPrice,jdbcType=BIGINT},
discount = #{record.discount,jdbcType=INTEGER},
data_status = #{record.dataStatus,jdbcType=INTEGER},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
update_date = #{record.updateDate,jdbcType=TIMESTAMP},
chargeType = #{record.chargetype,jdbcType=BIGINT},
charge = #{record.charge,jdbcType=BIGINT},
count = #{record.count,jdbcType=INTEGER},
customer_no = #{record.customerNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR},
update td_cl_sub_charge_information
set id = #{record.id,jdbcType=INTEGER},
card_rule_name = #{record.cardRuleName,jdbcType=VARCHAR},
card_type = #{record.cardType,jdbcType=INTEGER},
card_status = #{record.cardStatus,jdbcType=INTEGER},
effect_time = #{record.effectTime,jdbcType=TIMESTAMP},
expire_time = #{record.expireTime,jdbcType=TIMESTAMP},
unit_price = #{record.unitPrice,jdbcType=BIGINT},
discount = #{record.discount,jdbcType=INTEGER},
data_status = #{record.dataStatus,jdbcType=INTEGER},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
update_date = #{record.updateDate,jdbcType=TIMESTAMP},
chargeType = #{record.chargetype,jdbcType=BIGINT},
charge = #{record.charge,jdbcType=BIGINT},
count = #{record.count,jdbcType=INTEGER},
customer_no = #{record.customerNo,jdbcType=VARCHAR},
card_no = #{record.cardNo,jdbcType=VARCHAR}
update td_cl_sub_charge_information
card_rule_name = #{cardRuleName,jdbcType=VARCHAR},
card_type = #{cardType,jdbcType=INTEGER},
card_status = #{cardStatus,jdbcType=INTEGER},
effect_time = #{effectTime,jdbcType=TIMESTAMP},
expire_time = #{expireTime,jdbcType=TIMESTAMP},
unit_price = #{unitPrice,jdbcType=BIGINT},
discount = #{discount,jdbcType=INTEGER},
data_status = #{dataStatus,jdbcType=INTEGER},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_date = #{updateDate,jdbcType=TIMESTAMP},
chargeType = #{chargetype,jdbcType=BIGINT},
charge = #{charge,jdbcType=BIGINT},
count = #{count,jdbcType=INTEGER},
customer_no = #{customerNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update td_cl_sub_charge_information
set card_rule_name = #{cardRuleName,jdbcType=VARCHAR},
card_type = #{cardType,jdbcType=INTEGER},
card_status = #{cardStatus,jdbcType=INTEGER},
effect_time = #{effectTime,jdbcType=TIMESTAMP},
expire_time = #{expireTime,jdbcType=TIMESTAMP},
unit_price = #{unitPrice,jdbcType=BIGINT},
discount = #{discount,jdbcType=INTEGER},
data_status = #{dataStatus,jdbcType=INTEGER},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_date = #{updateDate,jdbcType=TIMESTAMP},
chargeType = #{chargetype,jdbcType=BIGINT},
charge = #{charge,jdbcType=BIGINT},
count = #{count,jdbcType=INTEGER},
customer_no = #{customerNo,jdbcType=VARCHAR},
card_no = #{cardNo,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}