mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
This commit is contained in:
parent
5b6c6ac2b9
commit
9005b3c359
@ -162,13 +162,11 @@
|
||||
|
||||
<select id="queryAllProject" resultType="org.apache.dolphinscheduler.dao.entity.Project">
|
||||
select
|
||||
<include refid="baseSqlV2">
|
||||
<property name="alias" value="p"/>
|
||||
</include>
|
||||
from t_ds_project p
|
||||
<include refid="baseSql"/>
|
||||
from t_ds_project
|
||||
where 1 = 1
|
||||
<if test="userId != 0">
|
||||
right join t_ds_relation_project_user rpu on p.id = rpu.project_id
|
||||
where rpu.user_id = #{userId}
|
||||
and user_id = #{userId}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
Loading…
Reference in New Issue
Block a user