示例#1
0
文件: RepayApply.cs 项目: jjg0519/OA
 public List <T_FB_REPAYAPPLYDETAIL> GetPersonAccountListByMultSearchForMobile(string employeeID, string companyID)
 {
     using (PersonAccountBLL repayBLL = new PersonAccountBLL())
     {
         string        strFilter  = string.Empty;
         List <object> paras      = new List <object>();
         string        strSortKey = "PERSONACCOUNTID";
         if (!string.IsNullOrEmpty(companyID))
         {
             if (!string.IsNullOrEmpty(strFilter))
             {
                 strFilter += " and ";
             }
             strFilter += "@" + paras.Count().ToString() + ".Contains(OWNERCOMPANYID) ";
             paras.Add(companyID);
         }
         if (!string.IsNullOrEmpty(employeeID))
         {
             if (!string.IsNullOrEmpty(strFilter))
             {
                 strFilter += " and ";
             }
             strFilter += "@" + paras.Count().ToString() + ".Contains(OWNERID) ";
             paras.Add(employeeID);
         }
         return(PersonAccountBLL.GetAllPersonAccountRdListByMultSearchForMobile(strFilter, paras, strSortKey, employeeID).ToList());
     }
 }
示例#2
0
文件: RepayApply.cs 项目: JuRogn/OA
 public List<T_FB_REPAYAPPLYDETAIL> GetPersonAccountListByMultSearchForMobile(string employeeID, string companyID)
 {
     using (PersonAccountBLL repayBLL = new PersonAccountBLL())
     {
         string strFilter = string.Empty;
         List<object> paras = new List<object>();
         string strSortKey = "PERSONACCOUNTID";
         if (!string.IsNullOrEmpty(companyID))
         {
             if (!string.IsNullOrEmpty(strFilter))
             {
                 strFilter += " and ";
             }
             strFilter += "@" + paras.Count().ToString() + ".Contains(OWNERCOMPANYID) ";
             paras.Add(companyID);
         }
         if (!string.IsNullOrEmpty(employeeID))
         {
             if (!string.IsNullOrEmpty(strFilter))
             {
                 strFilter += " and ";
             }
             strFilter += "@" + paras.Count().ToString() + ".Contains(OWNERID) ";
             paras.Add(employeeID);
         }
         return PersonAccountBLL.GetAllPersonAccountRdListByMultSearchForMobile(strFilter, paras, strSortKey,employeeID).ToList();
     }
    
 }
示例#3
0
文件: RepayApply.cs 项目: jjg0519/OA
 public List <T_FB_PERSONACCOUNT> GetPersonAccountListByMultSearch(string strFilter, List <object> objArgs, string strSortKey)
 {
     return(PersonAccountBLL.GetAllPersonAccountRdListByMultSearch(strFilter, objArgs, strSortKey).ToList());
 }