This commit is contained in:
dinggang 2022-10-13 22:02:20 +08:00
parent 88bbff3b8f
commit de5d3738d7
2 changed files with 1341 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -168,11 +168,14 @@
FROM
t_ability_application taa
, tb_data_resource tdr
, sys_user su
WHERE
taa.resource_id = tdr.id
AND tdr.del_flag = 0
AND tdr.type = '应用资源'
AND taa.user_id = su.id
AND su.dept_id != ''
AND su.dept_id IS NOT NULL
UNION
SELECT
@ -182,12 +185,17 @@
t_ability_application taa
, tb_data_resource tdr
, tb_data_attr tda
, sys_user su
WHERE
taa.resource_id = tdr.id
AND tdr.id = tda.data_resource_id
AND tdr.del_flag = 0
AND tda.del_flag = 0
AND tdr.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
</select>