with t as
(
  select b.* from Base_Department b where ParentId = 'cce4152c-3483-4334-b68d-155da627bca0' 
  union all
  select a.* from Base_Department a join t b on a.ParentId=b.DepartmentId
)
select * from t

  

相关文章:

  • 2021-08-03
  • 2021-11-23
  • 2021-12-19
  • 2021-09-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-09-16
  • 2021-11-30
相关资源
相似解决方案