未验证 提交 87588ca9 编写于 作者: F fanwq 提交者: GitHub

fix bug:delete the user ,the project list of admin will lost the projects of...

fix bug:delete the user ,the project list of admin will lost the projects of this user #5301 (#5302)
上级 6dbbf6d5
......@@ -59,7 +59,7 @@
(SELECT COUNT(*) FROM t_ds_process_definition def, t_ds_process_instance inst WHERE def.id =
inst.process_definition_id AND def.project_id = p.id AND inst.state=1 ) as inst_running_count
from t_ds_project p
join t_ds_user u on u.id=p.user_id
left join t_ds_user u on u.id=p.user_id
where 1=1
<if test="userId != 0">
and p.id in
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册