fix 根节点pno设置为null

This commit is contained in:
2024-03-15 11:59:24 +08:00
parent 9fc0719bad
commit 1bddd5c90f

View File

@@ -35,7 +35,7 @@ public class DepartmentService : IDepartmentService
{ {
Name = x.Name, Name = x.Name,
No = x.Code, No = x.Code,
PNo = x.PCode, PNo = null,
Tenant = x.Code, Tenant = x.Code,
_Next = tops.Select(item => _Next = tops.Select(item =>
{ {