代码提交

This commit is contained in:
liang.chao 2025-09-19 13:57:10 +08:00
parent dc25255c8e
commit 6bb405d66f
1 changed files with 3 additions and 3 deletions

View File

@ -348,7 +348,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getProSelect" resultType="com.bonus.web.domain.SelectDto"> <select id="getProSelect" resultType="com.bonus.web.domain.SelectDto">
SELECT SELECT
id, id,
pro_name AS name single_pro_name AS name
FROM FROM
da_ky_project da_ky_project
WHERE WHERE
@ -386,7 +386,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
level level
FROM da_ky_pro_files_contents FROM da_ky_pro_files_contents
WHERE id = #{id} WHERE id = #{id}
AND pro_id = 1 AND pro_id = #{proId}
UNION ALL UNION ALL
@ -397,7 +397,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM da_ky_pro_files_contents c FROM da_ky_pro_files_contents c
INNER JOIN sub_tree st ON c.parent_id = st.id INNER JOIN sub_tree st ON c.parent_id = st.id
WHERE c.level &lt;= 4 WHERE c.level &lt;= 4
AND c.pro_id = 1 AND c.pro_id = #{proId}
) )
SELECT DISTINCT id SELECT DISTINCT id
FROM sub_tree FROM sub_tree