ALTER VIEW [dbo].[view_TreeLevel] AS WITH cte AS ( SELECT a.ModuleID , a.Module_Name , a.Module_Description , a.Module_FatherID , a.Module_Url , a.Module_Order, 1 Level FROM TT_TreeView a WHERE a.Module_FatherID=0 UNION ALL SELECT b.ModuleID , b.Modu…