This commit is contained in:
parent
88bbff3b8f
commit
de5d3738d7
File diff suppressed because it is too large
Load Diff
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue