Beispiel #1
0
 public T_HR_LEFTOFFICE GetLeftOfficeByEmployeeIDAndPostID(string EmployeeID, string Postid)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         return bll.GetLeftOfficeByEmployeeIDAndPostID(EmployeeID, Postid);
     }
 }
Beispiel #2
0
 public T_HR_LEFTOFFICE GetLeftOfficeByID(string dimissionID)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         return bll.GetLeftOfficeByID(dimissionID);
     }
 }
Beispiel #3
0
 public int LeftOfficeDelete(string[] dimissionIDs)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         int rslt = bll.LeftOfficeDelete(dimissionIDs);
         return rslt;
     }
 }
Beispiel #4
0
 public void LeftOfficeUpdate(T_HR_LEFTOFFICE entity, ref string strMsg)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         bll.LeftOfficeUpdate(entity, ref  strMsg);
     }
 }
Beispiel #5
0
 public List<V_LEFTOFFICEVIEW> LeftOfficeViewsPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, DateTime dtStart, DateTime dtEnd, ref int pageCount, string userID, string CheckState)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         IQueryable<V_LEFTOFFICEVIEW> q = bll.LeftOfficeViewsPaging(pageIndex, pageSize, sort, filterString, paras, dtStart, dtEnd, ref pageCount, userID, CheckState);
         if (q != null)
         {
             return q.Count() > 0 ? q.ToList() : null;
         }
         else
         {
             return null;
         }
     }
     // return q.Count() > 0 ? q.ToList() : null;
 }
Beispiel #6
0
 public byte[] ExportLeftOfficeViews(string filterString, IList<object> paras, DateTime dtStart, DateTime dtEnd, string userID, string CheckState)
 {
     using (LeftOfficeBLL bll = new LeftOfficeBLL())
     {
         return bll.ExportLeftOfficeViews(filterString, paras, dtStart, dtEnd, userID, CheckState);
     }
 }