From 89b928115c2309c6548b096b4d71c0dedbcaa2db Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 17 一月 2025 16:02:55 +0800
Subject: [PATCH] 远程报错修改

---
 WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
index 45346d9..398516b 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
@@ -1,5 +1,6 @@
 锘縰sing DevExpress.Utils;
 using DevExpress.XtraEditors;
+using Yw.Basic;
 
 namespace HStation.WinFrmUI.Basic
 {
@@ -22,7 +23,7 @@
 
         private List<SysTypeTreeListViewModel> _allBindingList = null;
 
-        private Yw.BLL.SysTypeStd _bll = null;
+        private Yw.BLL.SysType _bll = null;
 
         private Yw.BLL.SysModule _Modulebll = null;
 
@@ -40,12 +41,11 @@
         public async void SetBindingData()
         {
             _allBindingList = new List<SysTypeTreeListViewModel>();
-            _bll = new Yw.BLL.SysTypeStd();
-            var alllist = await _bll.GetLogicalTreeList();
+            var alllist = await SysTypeHelper.GetSysTypeTreeList();
             if (alllist == null) return;
             foreach (var item in alllist)
             {
-                var module = new SysTypeTreeListViewModel(item);
+                var module = new SysTypeTreeListViewModel(item.Module);
                 _allBindingList.Add(module);
                 foreach (var child in item.Children)
                 {

--
Gitblit v1.9.3