Exemplo n.º 1
0
 /// <summary>
 /// 作者:Kylin
 /// 时间:2014.07.31
 /// 描述:查询学员学习累积进度详情
 /// </summary>
 /// <param name="branchId"></param>
 /// <param name="searchDate"></param>
 /// <param name="productSCode"></param>
 /// <param name="rateCourses"></param>
 /// <returns></returns>
 public static List<StudyProgressDetail> GetStudyProgressDetailTotal(int branchId, DateTime searchDate, string productSCode, decimal rateCourses)
 {
     using (var edb = new EmeEntities(dbRead))
     {
         return edb.GetStudyProgressDetail(branchId, searchDate, productSCode, rateCourses).Select(p => new StudyProgressDetail()
         {
             BranchId = p.BranchId,
             SaId = p.SaId,
             SaName = p.SaName,
             ActiveNum = p.ActiveNum,
             FreezeNum = p.FreezeNum,
             HighStandardNum = p.HighStandardNum,
             HighUsualNum = p.HighUsualNum,
             OprDate = searchDate,
             ProductSCode = productSCode,
             RateCourses = rateCourses
         }).ToList();
     }
 }