예제 #1
0
 public List<T_HR_SALARYSYSTEM> GetSalarySystemWithPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string userID, string CheckState)
 {
     using (SalarySystemBLL bll = new SalarySystemBLL())
     {
         IQueryable<T_HR_SALARYSYSTEM> q = bll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, userID, CheckState);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }
예제 #2
0
 public void SalarySystemUpdate(T_HR_SALARYSYSTEM obj)
 {
     using (SalarySystemBLL bll = new SalarySystemBLL())
     {
         bll.SalarySystemUpdate(obj);
     }
 }
예제 #3
0
 public int SalarySystemDelete(string[] ids)
 {
     using (SalarySystemBLL bll = new SalarySystemBLL())
     {
         return bll.SalarySystemDelete(ids);
     }
 }
예제 #4
0
 public T_HR_SALARYSYSTEM GetSalarySystemByID(string ID)
 {
     using (SalarySystemBLL bll = new SalarySystemBLL())
     {
         return bll.GetSalarySystemByID(ID);
     }
 }