获取机构用户修改

dev
cjy 2 months ago
parent c69791586d
commit e11d5b26f1

@ -220,6 +220,11 @@ public class SysOrgService:ISysOrgService
foreach (var it in treeNodes) foreach (var it in treeNodes)
{ {
var users1 = sugarClient.Queryable<SysUser>().Where(x => x.DeptId == it.Value).Select<UserSelectRes>().ToList();
if (users1.Count > 0)
{
it.UserList = users;
}
if (it.ParentId == treeNode.Value) if (it.ParentId == treeNode.Value)
{ {
treeNode.Children.Add(it); treeNode.Children.Add(it);

Loading…
Cancel
Save