示例#1
0
 public bool LendOrReturn(T_OA_LICENSEUSER licenseObj, string action)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         return(licenseReturnBll.LendOrReturn(licenseObj, action));
     }
 }
示例#2
0
 public List <T_OA_LICENSEUSER> GetBorrowAppList(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string lendFlag, LoginUserInfo loginUserInfo)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         IQueryable <T_OA_LICENSEUSER> borrowAppList = licenseReturnBll.GetLicenseBorrowAppListQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, lendFlag, loginUserInfo.userID);
         return(borrowAppList != null?borrowAppList.ToList() : null);
     }
 }
示例#3
0
 public bool LendOrReturn(T_OA_LICENSEUSER licenseObj, string action)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         return licenseReturnBll.LendOrReturn(licenseObj, action);
     }
 }
示例#4
0
 public List<T_OA_LICENSEUSER> GetBorrowAppList(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string lendFlag, LoginUserInfo loginUserInfo)
 {
     using (LicenseReturnBll licenseReturnBll = new LicenseReturnBll())
     {
         IQueryable<T_OA_LICENSEUSER> borrowAppList = licenseReturnBll.GetLicenseBorrowAppListQueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, lendFlag, loginUserInfo.userID);
         return borrowAppList != null ? borrowAppList.ToList() : null;
     }  
 }