From 90865b0dbca3f3a872065bb202e321ca4d021058 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期四, 16 一月 2025 09:25:32 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- 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