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; } }
public bool EmployeeCancelLeaveDelete(string[] IDs) { using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL()) { int rslt = bll.EmployeeCancelLeaveDelete(IDs); return (rslt > 0); } }
public T_HR_EMPLOYEECANCELLEAVE GetEmployeeCancelLeaveByID(string id) { using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL()) { return bll.GetEmployeeCancelLeaveByID(id); } }
public string EmployeeCancelLeaveUpdate(T_HR_EMPLOYEECANCELLEAVE obj) { using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL()) { return bll.EmployeeCancelLeaveUpdate(obj); } }
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(); } }
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); } }
public CalculateLeaveCancelResponse CalculateLeaveCancelHours(CalculateLeaveCancelRequest request) { using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL()) { return bll.CalculateLeaveCancelHours(request); } }
public T_HR_EMPLOYEECANCELLEAVE GetEmployeeCancelLeaveByID(string id) { using (EmployeeCancelLeaveBLL bll = new EmployeeCancelLeaveBLL()) { //bll.UpdateCheckState("", "", "4c0e292a-3a39-4b31-b65d-502074858a5c", "2"); return bll.GetEmployeeCancelLeaveByID(id); } }