Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-08-30 10:08:49 +08:00
commit 5f4118997f
1 changed files with 12 additions and 3 deletions

View File

@ -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">