Ejemplo n.º 1
0
 public void UpdateAttendRecordByEvectionAndLeaveRd(string strCompanyID, string strCurMonth)
 {
     using (AttendanceRecordBLL bllAttRd = new AttendanceRecordBLL())
     {
         bllAttRd.UpdateAttendRecordByEvectionAndLeaveRd(strCompanyID, strCurMonth);
     }
 }
Ejemplo n.º 2
0
        public string CompulsoryInitialization(string objType, string objId, DateTime dtStar, DateTime dtEnd)
        {
            string smtmsg = string.Empty;
            using (AttendanceRecordBLL bll = new AttendanceRecordBLL())
            {
                smtmsg=bll.CompulsoryInitialization(objType, objId, dtStar, dtEnd,"2");

                return smtmsg;
            }
        }
Ejemplo n.º 3
0
        public List<T_HR_ATTENDANCERECORD> GetAttendanceRdListByMultSearch(string sType, string sValue, string strOwnerID, string strEmployeeID, string strAttendDateFrom,
            string strAttendDateTo, string strSortKey, int pageIndex, int pageSize, ref int pageCount)
        {
            using (AttendanceRecordBLL bll = new AttendanceRecordBLL())
            {
                var ents = bll.GetAttendanceRdListByMultSearch(sType, sValue, strOwnerID, strEmployeeID, strAttendDateFrom, strAttendDateTo, strSortKey, pageIndex, pageSize, ref pageCount);

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

                return ents.ToList();
            }
        }
Ejemplo n.º 4
0
        public string RemoveAttendanceRecord(string strAttendRdId)
        {

            using (AttendanceRecordBLL bll = new AttendanceRecordBLL())
            {
                return bll.DeleteAttRd(strAttendRdId);
            }
        }
Ejemplo n.º 5
0
 public List<V_ATTENDANCERECORD> GetAttendanceRecordByEmployeeID(string employeeID, string date)
 {
     using (AttendanceRecordBLL bll = new AttendanceRecordBLL())
     {
         return bll.GetAttendanceRecordByEmployeeID(employeeID, date);
     }
 }