bug fix
This commit is contained in:
parent
17f09a69f1
commit
23bd3c44a0
|
@ -1763,17 +1763,19 @@
|
|||
END
|
||||
) AS "type"
|
||||
FROM
|
||||
(SELECT IF(d.type='组件服务', A.attr_value, d.type) AS type, d.id, d.del_flag FROM tb_data_resource d LEFT JOIN
|
||||
(SELECT IF(d.type='组件服务', A.attr_value, d.type) AS type, d.id, d.dept_id, d.del_flag FROM tb_data_resource d LEFT JOIN
|
||||
tb_data_attr a ON d.id=a.data_resource_id AND a.attr_type='组件类型' AND a.del_flag=0) tdr,
|
||||
sys_dept sd,
|
||||
sys_user su,
|
||||
t_ability_application taa
|
||||
t_ability_application taa,
|
||||
sys_dept dept
|
||||
WHERE
|
||||
1 = 1
|
||||
AND tdr.del_flag = 0
|
||||
AND taa.user_id = su.id
|
||||
AND su.dept_id = sd.id
|
||||
AND taa.resource_id = tdr.id
|
||||
AND dept.id = tdr.dept_id
|
||||
AND (tdr.type = '应用资源' OR tdr.type = '智能算法' OR tdr.type = '图层服务' OR tdr.type = '开发组件' OR
|
||||
tdr.type = '业务组件')
|
||||
<if test="approveStatus != null and approveStatus != ''">
|
||||
|
|
Loading…
Reference in New Issue