Пример #1
0
 public List<T_FB_BORROWAPPLYDETAIL> GetInfo()
 {
     BorrowApplyDetailBLL bll = new BorrowApplyDetailBLL();
     List<T_FB_BORROWAPPLYDETAIL> detailList = null;
     detailList = bll.GetInfo();
     return (detailList != null && detailList.Count() > 0) ? detailList : null;
 }
Пример #2
0
        public T_FB_BORROWAPPLYDETAIL GetInfoById(string masterId)
        {
            BorrowApplyDetailBLL   bll        = new BorrowApplyDetailBLL();
            T_FB_BORROWAPPLYDETAIL DetialList = bll.GetInfoById(masterId);

            return(DetialList != null ? DetialList : null);
        }
Пример #3
0
        public List <T_FB_BORROWAPPLYDETAIL> GetInfo()
        {
            BorrowApplyDetailBLL          bll        = new BorrowApplyDetailBLL();
            List <T_FB_BORROWAPPLYDETAIL> detailList = null;

            detailList = bll.GetInfo();
            return((detailList != null && detailList.Count() > 0) ? detailList : null);
        }
Пример #4
0
        public List <T_FB_BORROWAPPLYDETAIL> GetBorrowApplyDetailByMasterID(List <object> objBorrowApplyMasterId)
        {
            List <T_FB_BORROWAPPLYDETAIL> entRdlist = new List <T_FB_BORROWAPPLYDETAIL>();

            using (BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
            {
                entRdlist = bllBorrowApplyDetail.GetBorrowApplyDetailByMasterID(objBorrowApplyMasterId);
                return(entRdlist);
            }
        }
Пример #5
0
        public T_FB_BORROWAPPLYDETAIL GetBorrowApplyDetailByID(string strBorrowApplyDetailId)
        {
            T_FB_BORROWAPPLYDETAIL entRd = new T_FB_BORROWAPPLYDETAIL();

            using (BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
            {
                entRd = bllBorrowApplyDetail.GetBorrowApplyDetailByID(strBorrowApplyDetailId);
                return(entRd);
            }
        }
Пример #6
0
        public List <T_FB_BORROWAPPLYDETAIL> GetBorrowApplyDetailListByMultSearch(string strFilter, List <object> objArgs,
                                                                                  string strSortKey, int pageIndex, int pageSize, ref int pageCount)
        {
            IList <T_FB_BORROWAPPLYDETAIL> entList = new List <T_FB_BORROWAPPLYDETAIL>();

            using (BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
            {
                entList = bllBorrowApplyDetail.GetBorrowApplyDetailRdListByMultSearch(strFilter, objArgs, strSortKey, pageIndex, pageSize, ref pageCount).ToList();
                return(entList.Count() > 0 ? entList.ToList() : null);
            }
        }
Пример #7
0
        public IQueryable <T_FB_BORROWAPPLYDETAIL> GetBorrowApps(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userId, List <string> guidStringList, string checkState)
        {
            BorrowApplyDetailBLL bll = new BorrowApplyDetailBLL();
            IQueryable <T_FB_BORROWAPPLYDETAIL> infoMasterList = null;

            infoMasterList = bll.GetBorrowApps(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState);
            if (infoMasterList != null && infoMasterList.Count() > 0)
            {
                return(infoMasterList);
            }
            else
            {
                return(null);
            }
        }
Пример #8
0
        public IQueryable<T_FB_BORROWAPPLYDETAIL> GetBorrowApps(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userId, List<string> guidStringList, string checkState)
        {
            BorrowApplyDetailBLL bll = new BorrowApplyDetailBLL();
            IQueryable<T_FB_BORROWAPPLYDETAIL> infoMasterList = null;
            infoMasterList = bll.GetBorrowApps(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userId, guidStringList, checkState);
            if (infoMasterList != null && infoMasterList.Count() > 0)
            {
                return infoMasterList;
            }
            else
            {
                return null;
            }


        }
Пример #9
0
 public T_FB_BORROWAPPLYDETAIL GetInfoById(string masterId)
 {
     BorrowApplyDetailBLL bll = new BorrowApplyDetailBLL();
     T_FB_BORROWAPPLYDETAIL DetialList = bll.GetInfoById(masterId);
     return DetialList != null ? DetialList : null;
 }
Пример #10
0
 public List<T_FB_BORROWAPPLYDETAIL> GetBorrowApplyDetailListByMultSearch(string strFilter, List<object> objArgs,
     string strSortKey, int pageIndex, int pageSize, ref int pageCount)
 {
     IList<T_FB_BORROWAPPLYDETAIL> entList = new List<T_FB_BORROWAPPLYDETAIL>();
     using(BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
     {
         entList = bllBorrowApplyDetail.GetBorrowApplyDetailRdListByMultSearch(strFilter, objArgs, strSortKey, pageIndex, pageSize, ref pageCount).ToList();
         return entList.Count() > 0 ? entList.ToList() : null;
     }
 }
Пример #11
0
 public List<T_FB_BORROWAPPLYDETAIL> GetBorrowApplyDetailByMasterID(List<object> objBorrowApplyMasterId)
 {
     List<T_FB_BORROWAPPLYDETAIL> entRdlist = new List<T_FB_BORROWAPPLYDETAIL>();
     using(BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
     {
         entRdlist = bllBorrowApplyDetail.GetBorrowApplyDetailByMasterID(objBorrowApplyMasterId);
         return entRdlist;
     }
 }
Пример #12
0
 public T_FB_BORROWAPPLYDETAIL GetBorrowApplyDetailByID(string strBorrowApplyDetailId)
 {
     T_FB_BORROWAPPLYDETAIL entRd = new T_FB_BORROWAPPLYDETAIL();
     using(BorrowApplyDetailBLL bllBorrowApplyDetail = new BorrowApplyDetailBLL())
     {
         entRd = bllBorrowApplyDetail.GetBorrowApplyDetailByID(strBorrowApplyDetailId);
         return entRd;
     }
 }