This commit is contained in:
parent
88bbff3b8f
commit
de5d3738d7
File diff suppressed because it is too large
Load Diff
|
@ -167,12 +167,15 @@
|
||||||
'应用资源' AS "type"
|
'应用资源' AS "type"
|
||||||
FROM
|
FROM
|
||||||
t_ability_application taa
|
t_ability_application taa
|
||||||
,tb_data_resource tdr
|
, tb_data_resource tdr
|
||||||
|
, sys_user su
|
||||||
WHERE
|
WHERE
|
||||||
taa.resource_id = tdr.id
|
taa.resource_id = tdr.id
|
||||||
AND tdr.del_flag = 0
|
AND tdr.del_flag = 0
|
||||||
AND tdr.type = '应用资源'
|
AND tdr.type = '应用资源'
|
||||||
|
AND taa.user_id = su.id
|
||||||
|
AND su.dept_id != ''
|
||||||
|
AND su.dept_id IS NOT NULL
|
||||||
UNION
|
UNION
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -180,14 +183,19 @@
|
||||||
tda.attr_value AS "type"
|
tda.attr_value AS "type"
|
||||||
FROM
|
FROM
|
||||||
t_ability_application taa
|
t_ability_application taa
|
||||||
,tb_data_resource tdr
|
, tb_data_resource tdr
|
||||||
,tb_data_attr tda
|
, tb_data_attr tda
|
||||||
|
, sys_user su
|
||||||
WHERE
|
WHERE
|
||||||
taa.resource_id = tdr.id
|
taa.resource_id = tdr.id
|
||||||
AND tdr.id = tda.data_resource_id
|
AND tdr.id = tda.data_resource_id
|
||||||
AND tdr.del_flag = 0
|
AND tdr.del_flag = 0
|
||||||
|
AND tda.del_flag = 0
|
||||||
AND tdr.type = '组件服务'
|
AND tdr.type = '组件服务'
|
||||||
AND tda.attr_type = '组件类型'
|
AND tda.attr_type = '组件类型'
|
||||||
|
AND taa.user_id = su.id
|
||||||
|
AND su.dept_id != ''
|
||||||
|
AND su.dept_id IS NOT NULL
|
||||||
GROUP BY tda.attr_value
|
GROUP BY tda.attr_value
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue