Пример #1
0
        public List<T_HR_EMPLOYEELEVELDAYCOUNT> GetEmployeeLevelDayCountRdListByMultSearchByTime(string strOwnerID, string strEmployeeID,
            string strSortKey, int pageIndex, int pageSize, ref int pageCount, DateTime startTime, DateTime endTime)
        {
            using (EmployeeLevelDayCountBLL bllEmployeeleveldaycount = new EmployeeLevelDayCountBLL())
            {
                var ents = bllEmployeeleveldaycount.GetEmployeeLevelDayCountRdListByMultSearch(strOwnerID, strEmployeeID, strSortKey, pageIndex, pageSize, ref pageCount, startTime, endTime).ToList();

                if (ents == null)
                {
                    return null;
                }

                return ents.ToList();
            }
        }
Пример #2
0
        public List<T_HR_EMPLOYEELEVELDAYCOUNT> GetEmployeeLevelDayCountRdListByMultSearch(string sOrgType, string sValue, string strLeaveType, string strOwnerID, string strEmployeeID, string strEfficDateFrom,
            string strEfficDateTo, string strSortKey, int pageIndex, int pageSize, ref int pageCount)
        {
            using (EmployeeLevelDayCountBLL bllEmployeeleveldaycount = new EmployeeLevelDayCountBLL())
            {
                var ents = bllEmployeeleveldaycount.GetEmployeeLevelDayCountRdListByMultSearch(sOrgType, sValue, strLeaveType, strOwnerID, strEmployeeID, strEfficDateFrom, strEfficDateTo, strSortKey, pageIndex, pageSize, ref pageCount).ToList();

                if (ents == null)
                {
                    return null;
                }

                return ents.ToList();
            }
        }