From 87f5eb65aaaa2aaa3061a395e3f14e980dd1e034 Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 25 Feb 2022 18:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=BF=E8=88=8D=E5=BA=8A=E4=BD=8D=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Web.csproj | 44 ++++++++----------- .../Accommodation/AccommodationBLL.cs | 30 ------------- .../Accommodation/AccommodationService.cs | 2 +- 3 files changed, 19 insertions(+), 57 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj index 369f542c8..1acab8b68 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj @@ -1300,23 +1300,17 @@ - + + + - - - - - - - - + + - - @@ -5583,10 +5577,6 @@ - - - - @@ -6856,16 +6846,9 @@ - - - - - - - @@ -7584,14 +7567,23 @@ - - + + + + + + + + + + - - + + + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs index fcff22718..d63fd9665 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs @@ -400,36 +400,6 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement } } } - - - public List GetClassifyTree() - { - try - { - List list = accommodationService.GetClassifyTree(); - List treeList = new List(); - foreach (Acc_DormitoryBuildEntity item in list) - { - TreeModel node = new TreeModel - { - id = item.ID.ToString(), - text = item.Name.ToString(), - value = item.ID.ToString(), - showcheck = false, - checkstate = 0, - isexpand = false, - parentId = item.ParentID == null ? "" : item.ParentID, - title =string.IsNullOrEmpty(item.BuildType)?"":(Convert.ToInt32(item.BuildType)+1).ToString() , - - }; - - - treeList.Add(node); - - - } - - public List GetClassifyTree() { try diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs index d24c3b099..74cab8b6c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationService.cs @@ -1032,7 +1032,7 @@ a.name as ApartmentName,b.name as UnitName,c.Name as FloorName { try { - this.BaseRepository("CollegeMIS").Delete(t => t.ID == keyValue); + this.BaseRepository("CollegeMIS").Delete(t => t.ID == keyValue); UpdateCheckInNum(ParentID); } catch (Exception ex)