|
@@ -511,59 +511,59 @@ INSERT INTO `adm_ems_device_component` (`device_code`, `compo_code`, `compo_tag`
|
|
|
|
|
|
|
|
|
-- 区域&标签关系表
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-101','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-102','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-103','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-104','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-105','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-106','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-107','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-108','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-109','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-110','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-111','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-112','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-113','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-114','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-115','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-116','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-117','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-118','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','B-119','Area_00');
|
|
|
-
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-CD','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-DKC','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-HC','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-WXP','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-WZA','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','321283124S3001_CW-XK','Area_00');
|
|
|
-
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-101','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-102','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-103','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-104','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-105','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-106','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-107','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-108','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-109','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-110','Area_01');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-111','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-112','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-113','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-114','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-115','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-116','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-117','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-118','Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3','N-119','Area_00');
|
|
|
-
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-CD', 'Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-DKC', 'Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-HC', 'Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-WXP', 'Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-WZA', 'Area_00');
|
|
|
-insert into adm_obj_tag_rel (`tag_type`,`obj_code`,`tag_code`) VALUES ('3', '321283124S3002_CW-XK', 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-101', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-102', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-103', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-104', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-105', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-106', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-107', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-108', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-109', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-110', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-111', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-112', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-113', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-114', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-115', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-116', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-117', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-118', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('B-119', 1, 'Area_00');
|
|
|
+
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-CD', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-DKC', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-HC', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-WXP', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-WZA', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3001_CW-XK', 1, 'Area_00');
|
|
|
+
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-101', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-102', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-103', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-104', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-105', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-106', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-107', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-108', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-109', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-110', 1, 'Area_01');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-111', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-112', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-113', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-114', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-115', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-116', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-117', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-118', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('N-119', 1, 'Area_00');
|
|
|
+
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-CD', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-DKC', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-HC', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-WXP', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-WZA', 1, 'Area_00');
|
|
|
+insert into adm_obj_tag_rel (`obj_code`, `obj_type`, `tag_code`) VALUES ('321283124S3002_CW-XK', 1, 'Area_00');
|
|
|
|
|
|
-- 服务区用电属性数据
|
|
|
INSERT INTO adm_area_elec_attr (`area_code`, `price_code`, `req_capacity_flag`, `trans_capacity`, `req_quantity`) VALUES ('321283124S3001', '4001', 1, 630, NULL);
|