Quellcode durchsuchen

获取学生数据后续

长阳分支推送专用
ndbs vor 2 Jahren
Ursprung
Commit
7835e68354
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/AccommodationController.cs Datei anzeigen

@@ -266,6 +266,10 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
public ActionResult GetDormStu(string keyValue)
{
var data = accommodationIBLL.GetDromStu(keyValue).OrderBy(x => x.Class);
if (data.Count() <= 0)
{
return Fail("获取学生失败,未发现可编辑的学生");
}
return Success(data);
}

@@ -425,7 +429,7 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
var data = accommodationIBLL.GetClassNo(keyValue);
return Success(data);
}
#endregion

#region 提交数据


Laden…
Abbrechen
Speichern