コード例 #1
0
 public List <V_EmployeeSurveyApp> GetEmployeeSurveyAppByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] datetimes)
 {
     if (datetimes.Count() > 1)
     {
         IQueryable <V_EmployeeSurveyApp> returnList;
         using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll())
         {
             returnList = getBll.GetEmployeeSurveyAppByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, datetimes);
             return(returnList.Count() > 0 ? returnList.ToList() : null);
         }
     }
     return(null);
 }
コード例 #2
0
ファイル: EmployeeAppService.cs プロジェクト: JuRogn/OA
 public List<V_EmployeeSurveyApp> GetEmployeeSurveyAppByCheckstateAndDate(int pageCount, int pageIndex, int pageSize, string checkstate, DateTime[] datetimes)
 {
     if (datetimes.Count() > 1)
     {
         IQueryable<V_EmployeeSurveyApp> returnList;
         using (EmployeeSurveyAppBll getBll = new EmployeeSurveyAppBll())
         {
             
             returnList = getBll.GetEmployeeSurveyAppByCheckstateAndDate(pageCount, pageIndex, pageSize, checkstate, datetimes);
             return returnList.Count() > 0 ? returnList.ToList() : null;
         }
     }
     return null;
 }