diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs
index fb9ec9227..7dc28ac73 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs
@@ -207,45 +207,6 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
{
return View();
}
-
- ///
- /// 分配专业和班级
- ///
- ///
- [HttpGet]
- public ActionResult FormClass()
- {
- return View();
- }
- ///
- /// 分配宿舍
- ///
- ///
- [HttpGet]
- public ActionResult FormRoom()
- {
- return View();
- }
- ///
- /// 床位管理
- ///
- ///
- [HttpGet]
- public ActionResult IndexBed()
- {
- return View();
- }
- ///
- /// 床位管理
- ///
- ///
- [HttpGet]
- public ActionResult FormBed()
- {
- return View();
- }
-
-
#endregion
#region 获取数据
@@ -531,9 +492,7 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
{
accommodationIBLL.SyncData();
return Success("同步成功");
-
-
- //public ActionResult DormitoryAdd(string a,string )
+ }
#endregion
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 d1569482a..b272638c4 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
@@ -756,7 +756,26 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
}
}
+ public void SyncData()
+ {
+ try
+ {
+ accommodationService.SyncData();
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+
+ }
+ }
#endregion
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationIBLL.cs
index 8fc202a97..0f72b5a99 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationIBLL.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationIBLL.cs
@@ -97,6 +97,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
void Automatic_allocation_accommodation(bool noNation, bool noPlace);
+ void SyncData();
object GetDormitoryList();
object GetUnitList(string ParentID);
object GetFloorList(string parentID);