CIM组件统计改为开发组件

This commit is contained in:
lizhicheng 2022-10-18 10:00:46 +08:00
parent c02702e70e
commit 7c4b941031
1 changed files with 2 additions and 2 deletions

View File

@ -1647,7 +1647,7 @@
MATCH (type) AGAINST ( '应用资源' IN BOOLEAN MODE)
UNION
SELECT
( CASE tda.attr_value WHEN '智能算法' THEN '组件' WHEN '图层服务' THEN '图层' ELSE '其他' END ) AS "type",
( CASE tda.attr_value WHEN '开发组件' THEN '组件' WHEN '图层服务' THEN '图层' ELSE '其他' END ) AS "type",
COUNT( tdr.id ) AS "count"
FROM
tb_data_resource tdr,
@ -1659,7 +1659,7 @@
AND tdr.dept_id = #{deptId}
AND MATCH (tdr.type) AGAINST ( '组件服务' IN BOOLEAN MODE)
AND tda.attr_type = '组件类型'
AND tda.attr_value IN ( '智能算法', '图层服务' )
AND tda.attr_value IN ( '开发组件', '图层服务' )
GROUP BY
tda.attr_value
</select>