select detail_id, zone_id, postcode, create_time, update_time
from prc_zone_detail
insert into prc_zone_detail (
zone_id,postcode,
create_time
) values (
#{zoneId},#{postcode},
sysdate()
)
insert into prc_zone_detail (zone_id, postcode, create_time) values
(#{item.zoneId}, #{item.postcode}, sysdate())
update prc_zone_detail
zone_id = #{zoneId},postcode = #{postcode},
update_time = sysdate()
where detail_id = #{detailId}
delete from prc_zone_detail where detail_id in
#{detailId}
delete from prc_zone_detail where zone_id = #{zoneId}
delete d from prc_zone_detail d
inner join prc_zone z on z.zone_id = d.zone_id
where z.region_id = #{regionId}