|
@@ -270,11 +270,7 @@
|
|
|
where a.dict_type = 'firehydrant'
|
|
|
GROUP BY a.dict_value
|
|
|
union all
|
|
|
- select '林场' name,count(*) value from centerdata_t_forest_grid_level a
|
|
|
- left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
- where 1=1 AND a.forest_grid_level='1' ${params.dataScope}
|
|
|
- union all
|
|
|
- select '植树计划' name,count(*) value from centerdata_t_forest_afforestation a
|
|
|
+ select '植树造林计划' name,count(*) value from centerdata_t_forest_afforestation a
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
|
union all
|
|
@@ -282,10 +278,6 @@
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
|
union all
|
|
|
- select '防火队' name,count(*) value from centerdata_t_forest_fireteam a
|
|
|
- left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
- where 1=1 ${params.dataScope}
|
|
|
- union all
|
|
|
select '珍稀古树' name,count(*) value from centerdata_t_forest_trees a
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
@@ -298,19 +290,15 @@
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 AND a.forest_grid_level='3' ${params.dataScope}
|
|
|
union all
|
|
|
- select '泡沫液' name,count(*) value from centerdata_t_firecontrol_foam_liquid a
|
|
|
- left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
- where 1=1 ${params.dataScope}
|
|
|
- union all
|
|
|
select '水源信息' name,count(*) value from centerdata_t_forest_channel a
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
|
union all
|
|
|
- select '植树造林-植树区域' name,count(*) value from centerdata_t_forest_afforestationarea a
|
|
|
+ select '植树造林区域' name,count(*) value from centerdata_t_forest_afforestationarea a
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
|
union all
|
|
|
- select '野生动物-动物监测' name,count(*) value from centerdata_t_forest_animal a
|
|
|
+ select '野生动物监测' name,count(*) value from centerdata_t_forest_animal a
|
|
|
left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
|
|
|
where 1=1 ${params.dataScope}
|
|
|
union all
|