知识库左边树数据异常
This commit is contained in:
parent
13934c1da9
commit
b835ce3f73
|
@ -1516,9 +1516,18 @@
|
|||
</select>
|
||||
|
||||
<select id="selectDevelopDocResource" resultType="java.util.Map">
|
||||
SELECT tdr.id, tdr.name as title, tdr.type, tda.attr_value as doc FROM tb_data_resource tdr right join
|
||||
tb_data_attr tda on tdr.id=tda.data_resource_id
|
||||
where tdr.del_flag != 1 and tda.attr_type='技术文档'
|
||||
SELECT DISTINCT
|
||||
tdr.id,
|
||||
tdr.NAME AS title,
|
||||
tdr.type,
|
||||
tda.attr_value AS doc
|
||||
FROM
|
||||
tb_data_resource tdr
|
||||
RIGHT JOIN tb_data_attr tda ON tdr.id = tda.data_resource_id
|
||||
WHERE
|
||||
tdr.del_flag != 1
|
||||
AND tda.del_flag = 0
|
||||
AND tda.attr_type = '技术文档'
|
||||
</select>
|
||||
|
||||
<select id="resourceInstallationOrDataResourceDetails" parameterType="java.util.Map" resultType="java.util.Map">
|
||||
|
|
Loading…
Reference in New Issue