修复了不能拉取项目列表的问题
parent
a7c55ae318
commit
6c10e7d523
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue