瀏覽代碼

宿舍缺失代码

临城职教中职
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();
}

/// <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

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


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

#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

}


+ 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 SyncData();
object GetDormitoryList();
object GetUnitList(string ParentID);
object GetFloorList(string parentID);


Loading…
取消
儲存