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, city_id, eff_date, pl_no, area_id, rule_collect_id, create_time, pro_id, country_id,
city_name, country_name, pro_name
delete from td_cl_park_rule_collect_rel
where id = #{id,jdbcType=BIGINT}
delete from td_cl_park_rule_collect_rel
SELECT LAST_INSERT_ID()
insert into td_cl_park_rule_collect_rel (city_id, eff_date, pl_no,
area_id, rule_collect_id, create_time,
pro_id, country_id, city_name,
country_name, pro_name)
values (#{cityId,jdbcType=BIGINT}, #{effDate,jdbcType=TIMESTAMP}, #{plNo,jdbcType=VARCHAR},
#{areaId,jdbcType=BIGINT}, #{ruleCollectId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{proId,jdbcType=BIGINT}, #{countryId,jdbcType=BIGINT}, #{cityName,jdbcType=VARCHAR},
#{countryName,jdbcType=VARCHAR}, #{proName,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into td_cl_park_rule_collect_rel
city_id,
eff_date,
pl_no,
area_id,
rule_collect_id,
create_time,
pro_id,
country_id,
city_name,
country_name,
pro_name,
#{cityId,jdbcType=BIGINT},
#{effDate,jdbcType=TIMESTAMP},
#{plNo,jdbcType=VARCHAR},
#{areaId,jdbcType=BIGINT},
#{ruleCollectId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{proId,jdbcType=BIGINT},
#{countryId,jdbcType=BIGINT},
#{cityName,jdbcType=VARCHAR},
#{countryName,jdbcType=VARCHAR},
#{proName,jdbcType=VARCHAR},
update td_cl_park_rule_collect_rel
id = #{record.id,jdbcType=BIGINT},
city_id = #{record.cityId,jdbcType=BIGINT},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
pl_no = #{record.plNo,jdbcType=VARCHAR},
area_id = #{record.areaId,jdbcType=BIGINT},
rule_collect_id = #{record.ruleCollectId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
pro_id = #{record.proId,jdbcType=BIGINT},
country_id = #{record.countryId,jdbcType=BIGINT},
city_name = #{record.cityName,jdbcType=VARCHAR},
country_name = #{record.countryName,jdbcType=VARCHAR},
pro_name = #{record.proName,jdbcType=VARCHAR},
update td_cl_park_rule_collect_rel
set id = #{record.id,jdbcType=BIGINT},
city_id = #{record.cityId,jdbcType=BIGINT},
eff_date = #{record.effDate,jdbcType=TIMESTAMP},
pl_no = #{record.plNo,jdbcType=VARCHAR},
area_id = #{record.areaId,jdbcType=BIGINT},
rule_collect_id = #{record.ruleCollectId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
pro_id = #{record.proId,jdbcType=BIGINT},
country_id = #{record.countryId,jdbcType=BIGINT},
city_name = #{record.cityName,jdbcType=VARCHAR},
country_name = #{record.countryName,jdbcType=VARCHAR},
pro_name = #{record.proName,jdbcType=VARCHAR}
update td_cl_park_rule_collect_rel
city_id = #{cityId,jdbcType=BIGINT},
eff_date = #{effDate,jdbcType=TIMESTAMP},
pl_no = #{plNo,jdbcType=VARCHAR},
area_id = #{areaId,jdbcType=BIGINT},
rule_collect_id = #{ruleCollectId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
pro_id = #{proId,jdbcType=BIGINT},
country_id = #{countryId,jdbcType=BIGINT},
city_name = #{cityName,jdbcType=VARCHAR},
country_name = #{countryName,jdbcType=VARCHAR},
pro_name = #{proName,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update td_cl_park_rule_collect_rel
set city_id = #{cityId,jdbcType=BIGINT},
eff_date = #{effDate,jdbcType=TIMESTAMP},
pl_no = #{plNo,jdbcType=VARCHAR},
area_id = #{areaId,jdbcType=BIGINT},
rule_collect_id = #{ruleCollectId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
pro_id = #{proId,jdbcType=BIGINT},
country_id = #{countryId,jdbcType=BIGINT},
city_name = #{cityName,jdbcType=VARCHAR},
country_name = #{countryName,jdbcType=VARCHAR},
pro_name = #{proName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}