机构树形排序

This commit is contained in:
zhaokaiyao@91isoft.com
2021-09-28 08:58:23 +08:00
parent f3b8466c5f
commit 4e2278a987
2 changed files with 2 additions and 2 deletions
@@ -45,7 +45,7 @@
left join ts_user u
on i.id=u.institution_id
<if test="userName == null">
where i.parent_id not in (select id from ts_institution)
where i.parent_id not in (select id from ts_institution) order by i.name
</if>
<if test="userName != null">