id, org_id, area_id, area_type, org_area_type
SELECT LAST_INSERT_ID()
insert into sys_org_area (org_id, area_id, area_type,
org_area_type)
values
(#{orgId,jdbcType=BIGINT}, #{blockId.areaId,jdbcType=BIGINT}, #{blockId.areaType,jdbcType=INTEGER},
#{blockId.orgAreaType,jdbcType=INTEGER})
delete from sys_org_area
where org_id = #{orgId,jdbcType=BIGINT}
delete from sys_org_area
where area_id = #{areaId,jdbcType=BIGINT}