1
This commit is contained in:
@@ -532,5 +532,26 @@ namespace BLL
|
||||
APITrainRecordService.InsertTrainRecord(getTestPlan);
|
||||
}
|
||||
}
|
||||
|
||||
#region 获取考试试题类型列表
|
||||
/// <summary>
|
||||
/// 获取考试试题类型列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.TestPlanTrainingItem> getTestTraining()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
var getDataLists = (from x in db.Training_TestTraining
|
||||
orderby x.TrainingCode
|
||||
select new Model.TestPlanTrainingItem
|
||||
{
|
||||
TrainingTypeId = x.TrainingId,
|
||||
TrainingTypeName = x.TrainingName,
|
||||
}).ToList();
|
||||
return getDataLists;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user