-- 安全评价机构业务范围与专业能力配备标准 数据初始化
-- 行业code参照 IndustryEnum 枚举，专业能力code参照 ProfessionalCapabilityEnum 枚举
-- 专业能力配备标准拆解为单条记录，每条记录对应一个专业能力及人员数量要求

INSERT INTO `industry_professional_standards`
(`id`, `industry_code`, `professional_capability_code`, `professional_capability_name`, `person_num`, `delete_enum`, `tenant_id`, `version`, `create_time`, `update_time`, `env`)
VALUES
-- ========== 煤炭开采业 (COAL_MINING) ==========
(1,  'COAL_MINING', 'SAFETY',              '安全',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(2,  'COAL_MINING', 'MECHANICAL',          '机械',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(3,  'COAL_MINING', 'ELECTRICAL',          '电气',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(4,  'COAL_MINING', 'MINING',              '采矿',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(5,  'COAL_MINING', 'VENTILATION',         '通风',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(6,  'COAL_MINING', 'GEOLOGY',             '地质',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(7,  'COAL_MINING', 'MINE_CONSTRUCTION',   '矿建',     1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 金属、非金属矿及其他矿采选业 (METAL_NONMETAL_MINING) ==========
(8,  'METAL_NONMETAL_MINING', 'SAFETY',              '安全',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(9,  'METAL_NONMETAL_MINING', 'MECHANICAL',          '机械',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(10, 'METAL_NONMETAL_MINING', 'ELECTRICAL',          '电气',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(11, 'METAL_NONMETAL_MINING', 'MINING',              '采矿',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(12, 'METAL_NONMETAL_MINING', 'VENTILATION',         '通风',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(13, 'METAL_NONMETAL_MINING', 'GEOLOGY',             '地质',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(14, 'METAL_NONMETAL_MINING', 'HYDRAULIC_STRUCTURE', '水工结构', 1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 陆地石油和天然气开采业 (ONSHORE_OIL_GAS) ==========
(15, 'ONSHORE_OIL_GAS', 'SAFETY',                '安全', 1, 'false', NULL, 0, NOW(), NOW(), NULL),
(16, 'ONSHORE_OIL_GAS', 'MECHANICAL',            '机械', 1, 'false', NULL, 0, NOW(), NOW(), NULL),
(17, 'ONSHORE_OIL_GAS', 'ELECTRICAL',            '电气', 1, 'false', NULL, 0, NOW(), NOW(), NULL),
(18, 'ONSHORE_OIL_GAS', 'OIL_PRODUCTION',        '采油', 1, 'false', NULL, 0, NOW(), NOW(), NULL),
(19, 'ONSHORE_OIL_GAS', 'STORAGE_AND_TRANSPORT', '储运', 1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 陆上油气管道运输业 (ONSHORE_OIL_GAS_PIPELINE) ==========
(20, 'ONSHORE_OIL_GAS_PIPELINE', 'OIL_GAS_STORAGE_TRANSPORT', '油气储运', 2, 'false', NULL, 0, NOW(), NOW(), NULL),
(21, 'ONSHORE_OIL_GAS_PIPELINE', 'EQUIPMENT',                '设备',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(22, 'ONSHORE_OIL_GAS_PIPELINE', 'INSTRUMENT',               '仪表',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(23, 'ONSHORE_OIL_GAS_PIPELINE', 'ELECTRICAL',               '电气',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(24, 'ONSHORE_OIL_GAS_PIPELINE', 'ANTICORROSION',            '防腐',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(25, 'ONSHORE_OIL_GAS_PIPELINE', 'SAFETY',                   '安全',     1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 石油加工业，化学原料、化学品及医药制造业 (PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL) ==========
(26, 'PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL', 'CHEMICAL_PROCESS',       '化工工艺',   2, 'false', NULL, 0, NOW(), NOW(), NULL),
(27, 'PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL', 'CHEMICAL_MECHANICAL',    '化工机械',   2, 'false', NULL, 0, NOW(), NOW(), NULL),
(28, 'PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL', 'INSTRUMENT_AUTOMATION',  '仪表自动化', 2, 'false', NULL, 0, NOW(), NOW(), NULL),
(29, 'PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL', 'ELECTRICAL',             '电气',       2, 'false', NULL, 0, NOW(), NOW(), NULL),
(30, 'PETROCHEMICAL_CHEMICAL_PHARMACEUTICAL', 'SAFETY',                 '安全',       2, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 烟花爆竹制造业和仓储业 (FIREWORKS_FIRECRACKERS) ==========
(31, 'FIREWORKS_FIRECRACKERS', 'EXPLOSIVES',  '火炸药（爆炸技术）', 1, 'false', NULL, 0, NOW(), NOW(), NULL),
(32, 'FIREWORKS_FIRECRACKERS', 'MECHANICAL',  '机械',              1, 'false', NULL, 0, NOW(), NOW(), NULL),
(33, 'FIREWORKS_FIRECRACKERS', 'ELECTRICAL',  '电气',              1, 'false', NULL, 0, NOW(), NOW(), NULL),
(34, 'FIREWORKS_FIRECRACKERS', 'SAFETY',      '安全',              1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 金属冶炼 (METAL_SMELTING) ==========
(35, 'METAL_SMELTING', 'SAFETY',           '安全',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(36, 'METAL_SMELTING', 'MECHANICAL',       '机械',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(37, 'METAL_SMELTING', 'ELECTRICAL',       '电气',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(38, 'METAL_SMELTING', 'METALLURGY',       '冶金',     1, 'false', NULL, 0, NOW(), NOW(), NULL),
(39, 'METAL_SMELTING', 'NONFERROUS_METAL', '有色金属', 1, 'false', NULL, 0, NOW(), NOW(), NULL),

-- ========== 民用爆炸物品行业 (CIVIL_EXPLOSIVES) ==========
(40, 'CIVIL_EXPLOSIVES', 'EXPLOSIVES', '火炸药（爆炸技术）', 10, 'false', NULL, 0, NOW(), NOW(), NULL),
(41, 'CIVIL_EXPLOSIVES', 'MECHANICAL', '机械',               2, 'false', NULL, 0, NOW(), NOW(), NULL),
(42, 'CIVIL_EXPLOSIVES', 'ELECTRICAL', '电气',               2, 'false', NULL, 0, NOW(), NOW(), NULL),
(43, 'CIVIL_EXPLOSIVES', 'SAFETY',     '安全',               2, 'false', NULL, 0, NOW(), NOW(), NULL);
