|
|
@ -59,7 +59,7 @@ |
|
|
|
(SELECT COUNT(*) FROM t_ds_process_definition def, t_ds_process_instance inst WHERE def.id = |
|
|
|
(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 |
|
|
|
inst.process_definition_id AND def.project_id = p.id AND inst.state=1 ) as inst_running_count |
|
|
|
from t_ds_project p |
|
|
|
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 |
|
|
|
where 1=1 |
|
|
|
<if test="userId != 0"> |
|
|
|
<if test="userId != 0"> |
|
|
|
and p.id in |
|
|
|
and p.id in |
|
|
|