修复了不能拉取项目列表的问题

master
ArgonarioD 2022-07-08 10:39:15 +08:00
parent a7c55ae318
commit 6c10e7d523
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,7 @@
ON project.project_id = t.task_project_id
<where>
<if test="staffId != null">
WHERE project_id IN (SELECT DISTINCT project_id FROM project_group WHERE staff_id = #{staffId} )
project_id IN (SELECT DISTINCT project_id FROM project_group WHERE staff_id = #{staffId} )
</if>
</where>
) AS T

View File

@ -47,6 +47,5 @@
GROUP BY task_type) AS t1
RIGHT JOIN (SELECT DISTINCT task_type FROM task) AS t2
ON t1.task_type = t2.task_type
</select>
</mapper>