|
|
@@ -0,0 +1,48 @@ |
|
|
|
using Learun.Application.Organization; |
|
|
|
using Learun.Application.TwoDevelopment.EducationalAdministration; |
|
|
|
using Learun.Application.TwoDevelopment.EvaluationTeach; |
|
|
|
using Learun.Util; |
|
|
|
using Nancy; |
|
|
|
using System.Collections.Generic; |
|
|
|
using Learun.Application.TwoDevelopment.Ask; |
|
|
|
|
|
|
|
namespace Learun.Application.WebApi.Modules |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// 版 本 Learun-ADMS V7.0.0 数字化智慧校园 |
|
|
|
/// Copyright (c) 2013-2018 北京泉江科技有限公司 |
|
|
|
/// 创建人:数字化智慧校园-框架开发组 |
|
|
|
/// 日 期:2018.01.04 |
|
|
|
/// 描 述:部门管理 |
|
|
|
/// </summary> |
|
|
|
public class ArrangeExamTermApi : BaseApi |
|
|
|
{ |
|
|
|
public ArrangeExamTermApi() |
|
|
|
: base("/learun/ask") |
|
|
|
{ |
|
|
|
Get["/teststulist"] = GetSutdentList; |
|
|
|
} |
|
|
|
|
|
|
|
//private ArrangeExamTermNewIBLL AeTerm = new ArrangeExamTermNewBLL(); |
|
|
|
Exam_ArrangeExamTermNewIBLL AeTerm=new Exam_ArrangeExamTermNewBLL(); |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 获取学生待考试列表 |
|
|
|
/// </summary> |
|
|
|
/// <param name="_"></param> |
|
|
|
/// <returns></returns> |
|
|
|
public Response GetSutdentList(dynamic _) |
|
|
|
{ |
|
|
|
ReqPageParam parameter = this.GetReqData<ReqPageParam>(); |
|
|
|
var data = AeTerm.GetItemPageList(parameter.pagination, parameter.queryJson); |
|
|
|
var jsonData = new |
|
|
|
{ |
|
|
|
rows = data, |
|
|
|
total = parameter.pagination.total, |
|
|
|
page = parameter.pagination.page, |
|
|
|
records = parameter.pagination.records |
|
|
|
}; |
|
|
|
return Success(jsonData); |
|
|
|
} |
|
|
|
} |
|
|
|
} |