Example #1
0
 public string GetRepayApplyMasterXMLString(string formid, ref string RepayCode)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         return(repayBLL.GetXmlString(formid, ref RepayCode));
     }
 }
Example #2
0
 public void UptRepayApplyMasterAndDetailForMobile(string strActionType, T_FB_REPAYAPPLYMASTER repayMaster,
                                                   List <T_FB_REPAYAPPLYDETAIL> repayDetail, ref string strMsg)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         repayBLL.UptRepayApplyMasterAndDetailForMobile(strActionType, repayMaster, repayDetail, ref strMsg);
     }
 }
Example #3
0
 public T_FB_REPAYAPPLYMASTER GetRepayApplyMasterByID(string strRepayApplyMasterId)
 {
     T_FB_REPAYAPPLYMASTER entRd = new T_FB_REPAYAPPLYMASTER();
     using(RepayApplyMasterBLL bllRepayApplyMaster = new RepayApplyMasterBLL())
     {
         entRd = bllRepayApplyMaster.GetRepayApplyMasterByID(strRepayApplyMasterId);
         return entRd;
     }
 }
Example #4
0
        public T_FB_REPAYAPPLYMASTER GetRepayApplyMasterByID(string strRepayApplyMasterId)
        {
            T_FB_REPAYAPPLYMASTER entRd = new T_FB_REPAYAPPLYMASTER();

            using (RepayApplyMasterBLL bllRepayApplyMaster = new RepayApplyMasterBLL())
            {
                entRd = bllRepayApplyMaster.GetRepayApplyMasterByID(strRepayApplyMasterId);
                return(entRd);
            }
        }
Example #5
0
        public bool AddRepayApplyMasterAndDetailForMobile(T_FB_REPAYAPPLYMASTER repayMaster, List <T_FB_REPAYAPPLYDETAIL> repayDetail, ref string strMsg)
        {
            bool re;

            using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
            {
                re = repayBLL.AddRepayApplyMasterAndDetailForMobile(repayMaster, repayDetail, ref strMsg);
                return(re);
            }
        }
Example #6
0
        public bool AddRepayApplyMasterAndDetail(T_FB_REPAYAPPLYMASTER repayMaster, List <T_FB_REPAYAPPLYDETAIL> repayDetail)
        {
            bool re;

            using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
            {
                re = repayBLL.AddRepayApplyMasterAndDetail(repayMaster, repayDetail);
                return(re);
            }
        }
Example #7
0
 public bool UptRepayApplyCheckState(T_FB_REPAYAPPLYMASTER entity, List <T_FB_REPAYAPPLYDETAIL> repayDetail)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         bool   re   = true;
         string sMsg = repayBLL.UptRepayApplyCheckState(entity, repayDetail);
         if (!string.IsNullOrEmpty(sMsg))
         {
             re = false;
         }
         return(re);
     }
 }
Example #8
0
 public bool DelRepayApplyMasterAndDetail(List <string> repayMasterID)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         foreach (string obj in repayMasterID)
         {
             if (!repayBLL.DelRepayApplyMasterAndDetail(obj))
             {
                 return(false);
             }
         }
         return(true);
     }
 }
Example #9
0
        public List <T_FB_REPAYAPPLYMASTER> GetRepayApplyMasterListByMultSearch(string userID, string strDateStart, string strDateEnd,
                                                                                string checkState, string strFilter, List <object> objArgs, string strSortKey, int pageIndex, int pageSize, ref int pageCount)
        {
            IQueryable <T_FB_REPAYAPPLYMASTER> entIq;
            IList <T_FB_REPAYAPPLYMASTER>      entList = new List <T_FB_REPAYAPPLYMASTER>();

            using (RepayApplyMasterBLL bllRepayApplyMaster = new RepayApplyMasterBLL())
            {
                entIq = bllRepayApplyMaster.GetRepayApplyMasterRdListByMultSearch(userID, strDateStart, strDateEnd,
                                                                                  checkState, strFilter, objArgs, strSortKey, pageIndex, pageSize, ref pageCount);
                if (entIq != null)
                {
                    entList = entIq.ToList();
                    return(entList.Count() > 0 ? entList.ToList() : null);
                }
                else
                {
                    return(null);
                }
            }
        }
Example #10
0
 public string GetRepayApplyMasterXMLString(string formid, ref string RepayCode)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         return repayBLL.GetXmlString(formid, ref RepayCode);
     }
 }
Example #11
0
 public void UptRepayApplyMasterAndDetailForMobile(string strActionType, T_FB_REPAYAPPLYMASTER repayMaster,
     List<T_FB_REPAYAPPLYDETAIL> repayDetail, ref string strMsg)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         repayBLL.UptRepayApplyMasterAndDetailForMobile(strActionType, repayMaster, repayDetail, ref strMsg);
     }
 }
Example #12
0
 public bool AddRepayApplyMasterAndDetailForMobile(T_FB_REPAYAPPLYMASTER repayMaster, List<T_FB_REPAYAPPLYDETAIL> repayDetail,ref string strMsg)
 {
     bool re;
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         re = repayBLL.AddRepayApplyMasterAndDetailForMobile(repayMaster, repayDetail,ref strMsg);
         return re;
     }
 }
Example #13
0
 public bool UptRepayApplyCheckState(T_FB_REPAYAPPLYMASTER entity, List<T_FB_REPAYAPPLYDETAIL> repayDetail)
 {
     using(RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         bool re = true;
         string sMsg = repayBLL.UptRepayApplyCheckState(entity, repayDetail);
         if(!string.IsNullOrEmpty(sMsg))
         {
             re = false;
         }
         return re;
     }
 }
Example #14
0
 public bool DelRepayApplyMasterAndDetail(List<string> repayMasterID)
 {
     using(RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         foreach (string obj in repayMasterID)
         {
             if (!repayBLL.DelRepayApplyMasterAndDetail(obj))
             {
                 return false;
             }
         }
         return true;
     }
 }
Example #15
0
 public bool AddRepayApplyMasterAndDetail(T_FB_REPAYAPPLYMASTER repayMaster, List<T_FB_REPAYAPPLYDETAIL> repayDetail)
 {
     bool re;
     using(RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         re = repayBLL.AddRepayApplyMasterAndDetail(repayMaster, repayDetail);
         return re;
     }
 }
Example #16
0
 public List<T_FB_REPAYAPPLYMASTER> GetRepayApplyMasterListByMultSearch(string userID, string strDateStart, string strDateEnd,
     string checkState, string strFilter, List<object> objArgs, string strSortKey, int pageIndex, int pageSize, ref int pageCount)
 {
     IQueryable<T_FB_REPAYAPPLYMASTER> entIq;
     IList<T_FB_REPAYAPPLYMASTER> entList = new List<T_FB_REPAYAPPLYMASTER>();
     using(RepayApplyMasterBLL bllRepayApplyMaster = new RepayApplyMasterBLL())
     {
         entIq = bllRepayApplyMaster.GetRepayApplyMasterRdListByMultSearch(userID, strDateStart, strDateEnd,
                 checkState, strFilter, objArgs, strSortKey, pageIndex, pageSize, ref pageCount);
         if (entIq != null)
         {
             entList = entIq.ToList();
             return entList.Count() > 0 ? entList.ToList() : null;
         }
         else
         {
             return null;
         }
     }
 }