。。。

This commit is contained in:
wangliwen 2022-07-18 10:30:46 +08:00
parent f5e0bac27d
commit 641fcacc17
1 changed files with 3 additions and 3 deletions

View File

@ -101,13 +101,13 @@
AND car.resource_id = res.id AND car.resource_id = res.id
AND res.id = tda.data_resource_id AND res.id = tda.data_resource_id
AND car.resource_id != 8888888880000000001 AND car.resource_id != 8888888880000000001
<!-- AND tda.attr_type = '组件类型'--> AND (tda.attr_type = '组件类型' OR tda.attr_type ='应用状态')
<!-- AND (res.type = '组件服务' OR res.type = '应用资源')-->
AND tda.del_flag = 0 AND tda.del_flag = 0
AND car.user_id = #{userId} AND car.user_id = #{userId}
AND res.dept_id = #{deptId} AND res.dept_id = #{deptId}
AND car.del_flag = 0 AND car.del_flag = 0
AND EXISTS (SELECT 1 FROM tb_data_resource WHERE tb_data_resource.id = car.resource_id AND AND EXISTS (SELECT 1 FROM tb_data_resource WHERE tb_data_resource.id = car.resource_id)
(tb_data_resource.type = '组件服务' OR tb_data_resource.type = '应用资源'))
UNION ( UNION (
SELECT SELECT
car.id AS "id", car.id AS "id",