select id, org_type, weather_area_code, premises_area, ownership, outside_area, org_physical_defense_construction_id, askari, askari_certificate, business_library
_type, duty_mode, remote_control, self_service_bank, lobby_equipment, wall_penetrating_equipment, bank_physical_defense_construction_id, create_time, update_time, create_by, update_by, org_id,hd_camera_count,total_camera_count
from sys_org_extend
insert into sys_org_extend
org_type,
weather_area_code,
premises_area,
ownership,
outside_area,
org_physical_defense_construction_id,
askari,
askari_certificate,
business_library
_type,
duty_mode,
remote_control,
self_service_bank,
lobby_equipment,
wall_penetrating_equipment,
bank_physical_defense_construction_id,
create_time,
update_time,
create_by,
update_by,
org_id,
#{orgType},
#{weatherAreaCode},
#{premisesArea},
#{ownership},
#{outsideArea},
#{orgPhysicalDefenseConstructionId},
#{askari},
#{askariCertificate},
#{businessLibrary
Type},
#{dutyMode},
#{remoteControl},
#{selfServiceBank},
#{lobbyEquipment},
#{wallPenetratingEquipment},
#{bankPhysicalDefenseConstructionId},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{orgId},
update sys_org_extend
org_type =
#{orgType},
weather_area_code =
#{weatherAreaCode},
premises_area =
#{premisesArea},
ownership =
#{ownership},
outside_area =
#{outsideArea},
org_physical_defense_construction_id =
#{orgPhysicalDefenseConstructionId},
askari =
#{askari},
askari_certificate =
#{askariCertificate},
business_library
_type =
#{businessLibrary
Type},
duty_mode =
#{dutyMode},
remote_control =
#{remoteControl},
self_service_bank =
#{selfServiceBank},
lobby_equipment =
#{lobbyEquipment},
wall_penetrating_equipment =
#{wallPenetratingEquipment},
bank_physical_defense_construction_id =
#{bankPhysicalDefenseConstructionId},
create_time =
#{createTime},
update_time =
#{updateTime},
create_by =
#{createBy},
update_by =
#{updateBy},
org_id =
#{orgId},
where id = #{id}
delete
from sys_org_extend where id = #{id}
delete from sys_org_extend where id in
#{id}