ソースを参照

宿舍缺失代码

临城职教中职
ndbs 2年前
コミット
154f7b20e4
3個のファイルの変更21行の追加42行の削除
  1. +1
    -42
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs
  2. +19
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationIBLL.cs

+ 1
- 42
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(); return View();
} }

/// <summary>
/// 分配专业和班级
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult FormClass()
{
return View();
}
/// <summary>
/// 分配宿舍
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult FormRoom()
{
return View();
}
/// <summary>
/// 床位管理
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult IndexBed()
{
return View();
}
/// <summary>
/// 床位管理
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult FormBed()
{
return View();
}

#endregion #endregion


#region 获取数据 #region 获取数据
@@ -531,9 +492,7 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
{ {
accommodationIBLL.SyncData(); accommodationIBLL.SyncData();
return Success("同步成功"); return Success("同步成功");


//public ActionResult DormitoryAdd(string a,string )
}


#endregion #endregion




+ 19
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Accommodation/AccommodationBLL.cs ファイルの表示

@@ -757,7 +757,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 #endregion


} }


+ 1
- 0
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 Automatic_allocation_accommodation(bool noNation, bool noPlace);
void SyncData();
object GetDormitoryList(); object GetDormitoryList();
object GetUnitList(string ParentID); object GetUnitList(string ParentID);
object GetFloorList(string parentID); object GetFloorList(string parentID);


読み込み中…
キャンセル
保存