select c.city_id, c.name, c.pinyin, c.adcode, c.citycode, cc.name cityName from rl_city c
left join rl_city_code cc on c.citycode = cc.code
insert into rl_city
name,pinyin,adcode,citycode,#{name},#{pinyin},#{adcode},#{citycode},
update rl_city
name = #{name},pinyin = #{pinyin},adcode = #{adcode},citycode = #{citycode},
where city_id = #{cityId}
delete from rl_city where city_id = #{cityId}
delete from rl_city where city_id in
#{cityId}