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