Exemplo n.º 1
0
 public string GetRepayApplyMasterXMLString(string formid, ref string RepayCode)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         return(repayBLL.GetXmlString(formid, ref RepayCode));
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 10
0
 public string GetRepayApplyMasterXMLString(string formid, ref string RepayCode)
 {
     using (RepayApplyMasterBLL repayBLL = new RepayApplyMasterBLL())
     {
         return repayBLL.GetXmlString(formid, ref RepayCode);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
         }
     }
 }