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, rule_collect_id, rule_id, fee_type, car_type, loop_type, rule_fee_limit, cross_period_strategy,
create_time, update_time, create_by, update_by
delete from td_cl_rule
where id = #{id,jdbcType=BIGINT}
delete from td_cl_rule
SELECT LAST_INSERT_ID()
insert into td_cl_rule (rule_collect_id, rule_id, fee_type,
car_type, loop_type, rule_fee_limit,
cross_period_strategy, create_time, update_time,
create_by, update_by)
values (#{ruleCollectId,jdbcType=VARCHAR}, #{ruleId,jdbcType=VARCHAR}, #{feeType,jdbcType=INTEGER},
#{carType,jdbcType=INTEGER}, #{loopType,jdbcType=INTEGER}, #{ruleFeeLimit,jdbcType=INTEGER},
#{crossPeriodStrategy,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into td_cl_rule
rule_collect_id,
rule_id,
fee_type,
car_type,
loop_type,
rule_fee_limit,
cross_period_strategy,
create_time,
update_time,
create_by,
update_by,
#{ruleCollectId,jdbcType=VARCHAR},
#{ruleId,jdbcType=VARCHAR},
#{feeType,jdbcType=INTEGER},
#{carType,jdbcType=INTEGER},
#{loopType,jdbcType=INTEGER},
#{ruleFeeLimit,jdbcType=INTEGER},
#{crossPeriodStrategy,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{updateBy,jdbcType=VARCHAR},
update td_cl_rule
id = #{record.id,jdbcType=BIGINT},
rule_collect_id = #{record.ruleCollectId,jdbcType=VARCHAR},
rule_id = #{record.ruleId,jdbcType=VARCHAR},
fee_type = #{record.feeType,jdbcType=INTEGER},
car_type = #{record.carType,jdbcType=INTEGER},
loop_type = #{record.loopType,jdbcType=INTEGER},
rule_fee_limit = #{record.ruleFeeLimit,jdbcType=INTEGER},
cross_period_strategy = #{record.crossPeriodStrategy,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
create_by = #{record.createBy,jdbcType=VARCHAR},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update td_cl_rule
set id = #{record.id,jdbcType=BIGINT},
rule_collect_id = #{record.ruleCollectId,jdbcType=VARCHAR},
rule_id = #{record.ruleId,jdbcType=VARCHAR},
fee_type = #{record.feeType,jdbcType=INTEGER},
car_type = #{record.carType,jdbcType=INTEGER},
loop_type = #{record.loopType,jdbcType=INTEGER},
rule_fee_limit = #{record.ruleFeeLimit,jdbcType=INTEGER},
cross_period_strategy = #{record.crossPeriodStrategy,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
create_by = #{record.createBy,jdbcType=VARCHAR},
update_by = #{record.updateBy,jdbcType=VARCHAR}
update td_cl_rule
rule_collect_id = #{ruleCollectId,jdbcType=VARCHAR},
rule_id = #{ruleId,jdbcType=VARCHAR},
fee_type = #{feeType,jdbcType=INTEGER},
car_type = #{carType,jdbcType=INTEGER},
loop_type = #{loopType,jdbcType=INTEGER},
rule_fee_limit = #{ruleFeeLimit,jdbcType=INTEGER},
cross_period_strategy = #{crossPeriodStrategy,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update td_cl_rule
set rule_collect_id = #{ruleCollectId,jdbcType=VARCHAR},
rule_id = #{ruleId,jdbcType=VARCHAR},
fee_type = #{feeType,jdbcType=INTEGER},
car_type = #{carType,jdbcType=INTEGER},
loop_type = #{loopType,jdbcType=INTEGER},
rule_fee_limit = #{ruleFeeLimit,jdbcType=INTEGER},
cross_period_strategy = #{crossPeriodStrategy,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}