Exemple #1
0
 public List<T_HR_EMPLOYEECANCELLEAVE> GetEmployeeLeaveRdListsByLeaveRecordID(string strLeaveRecordID, string strCheckState)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         List<T_HR_EMPLOYEECANCELLEAVE> rslt = bll.GetEmployeeLeaveRdListsByLeaveRecordID(strLeaveRecordID, strCheckState);
         return rslt;
     }
 }
Exemple #2
0
 public bool EmployeeCancelLeaveDelete(string[] IDs)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         int rslt = bll.EmployeeCancelLeaveDelete(IDs);
         return (rslt > 0);
     }
 }
Exemple #3
0
 public T_HR_EMPLOYEECANCELLEAVE GetEmployeeCancelLeaveByID(string id)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         return bll.GetEmployeeCancelLeaveByID(id);
     }
 }
Exemple #4
0
 public string EmployeeCancelLeaveUpdate(T_HR_EMPLOYEECANCELLEAVE obj)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         return bll.EmployeeCancelLeaveUpdate(obj);
     }
 }
Exemple #5
0
        public List<T_HR_EMPLOYEECANCELLEAVE> EmployeeCancelLeavePaging(int pageIndex, int pageSize, string sort, string filterString, List<object> paras, ref int pageCount, string strCheckState, string strOwnerID)
        {
            using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
            {
                var ents = bll.EmployeeCancelLeavePaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, strCheckState, strOwnerID);
                if (ents == null)
                {
                    return null;
                }

                return ents.ToList();
            }
        }
Exemple #6
0
 public string GetRealCancelLeaveDayByEmployeeIdAndDate(string strCancelLeaveId, string strEmployeeID, DateTime dtCancelLeaveStartTime,
     DateTime dtCancelLeaveEndTime, ref decimal dCancelLeaveDay, ref decimal dCancelLeaveTime, ref decimal dCancelLeaveTotalTime)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         return bll.GetRealCancelLeaveDayByEmployeeIdAndDate(strCancelLeaveId, strEmployeeID, dtCancelLeaveStartTime, dtCancelLeaveEndTime, ref dCancelLeaveDay, ref dCancelLeaveTime, ref dCancelLeaveTotalTime);
     }
 }
Exemple #7
0
 public CalculateLeaveCancelResponse CalculateLeaveCancelHours(CalculateLeaveCancelRequest request)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         return bll.CalculateLeaveCancelHours(request);
     }
 }
Exemple #8
0
 public T_HR_EMPLOYEECANCELLEAVE GetEmployeeCancelLeaveByID(string id)
 {
     using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL())
     {
         //bll.UpdateCheckState("", "", "4c0e292a-3a39-4b31-b65d-502074858a5c", "2");
         return bll.GetEmployeeCancelLeaveByID(id);
     }
 }