|
@@ -1277,7 +1277,8 @@ CREATE TABLE `bi_app_fugai` (
|
|
`net_name` varchar(20) DEFAULT NULL COMMENT '网系',
|
|
`net_name` varchar(20) DEFAULT NULL COMMENT '网系',
|
|
`cloud_flag` varchar(20) DEFAULT NULL COMMENT '应用对应资源是否上云1为上云,0为不上云',
|
|
`cloud_flag` varchar(20) DEFAULT NULL COMMENT '应用对应资源是否上云1为上云,0为不上云',
|
|
`organ_name` varchar(200) DEFAULT NULL COMMENT '区域',
|
|
`organ_name` varchar(200) DEFAULT NULL COMMENT '区域',
|
|
- `itm_hardware_resources_areacode` varchar(100) DEFAULT NULL COMMENT '设备区域'
|
|
|
|
|
|
+ `itm_hardware_resources_areacode` varchar(100) DEFAULT NULL COMMENT '设备区域',
|
|
|
|
+ `on_line` varchar(255) DEFAULT NULL
|
|
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
|
|
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
|
|
|
|
|
|
TRUNCATE table bi_app_fugai;
|
|
TRUNCATE table bi_app_fugai;
|
|
@@ -1294,7 +1295,8 @@ c.name as app_type_name,
|
|
d.net_name as net_name,
|
|
d.net_name as net_name,
|
|
e.cloud_flag as cloud_flag,
|
|
e.cloud_flag as cloud_flag,
|
|
f.`SHORT_NAME` as organ_name,
|
|
f.`SHORT_NAME` as organ_name,
|
|
-e.itm_hardware_resources_areacode as itm_hardware_resources_areacode
|
|
|
|
|
|
+e.itm_hardware_resources_areacode as itm_hardware_resources_areacode,
|
|
|
|
+b.on_line as on_line
|
|
from (
|
|
from (
|
|
select distinct date_format(dt_d,'%Y%m%d') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
select distinct date_format(dt_d,'%Y%m%d') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
left join itm_app b
|
|
left join itm_app b
|
|
@@ -1321,7 +1323,8 @@ c.name as app_type_name,
|
|
d.net_name as net_name,
|
|
d.net_name as net_name,
|
|
e.cloud_flag as cloud_flag,
|
|
e.cloud_flag as cloud_flag,
|
|
f.`SHORT_NAME` as organ_name,
|
|
f.`SHORT_NAME` as organ_name,
|
|
-e.itm_hardware_resources_areacode as itm_hardware_resources_areacode
|
|
|
|
|
|
+e.itm_hardware_resources_areacode as itm_hardware_resources_areacode,
|
|
|
|
+b.on_line as on_line
|
|
from (
|
|
from (
|
|
select distinct date_format(dt_d,'%Y%m') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
select distinct date_format(dt_d,'%Y%m') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
left join itm_app b
|
|
left join itm_app b
|
|
@@ -1348,7 +1351,8 @@ c.name as app_type_name,
|
|
d.net_name as net_name,
|
|
d.net_name as net_name,
|
|
e.cloud_flag as cloud_flag,
|
|
e.cloud_flag as cloud_flag,
|
|
f.`SHORT_NAME` as organ_name,
|
|
f.`SHORT_NAME` as organ_name,
|
|
-e.itm_hardware_resources_areacode as itm_hardware_resources_areacode
|
|
|
|
|
|
+e.itm_hardware_resources_areacode as itm_hardware_resources_areacode,
|
|
|
|
+b.on_line as on_line
|
|
from (
|
|
from (
|
|
select distinct date_format(dt_d,'%Y') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
select distinct date_format(dt_d,'%Y') as thedvalue from bi_m_date where dt_d >= '2021-01-01' and dt_d < '2023-11-09') a
|
|
left join itm_app b
|
|
left join itm_app b
|