Browse Source

fix bug:delete the user ,the project list of admin will lost the projects of this user #5301 (#5302)

pull/3/MERGE
fanwq 4 years ago committed by GitHub
parent
commit
87588ca9f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml

2
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml

@ -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

Loading…
Cancel
Save