Sfoglia il codice sorgente

获取学生数据后续

长阳分支推送专用
ndbs 2 anni fa
parent
commit
7835e68354
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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 提交数据


Caricamento…
Annulla
Salva