コード例 #1
0
ファイル: CRMWebService.asmx.cs プロジェクト: xty3019/CRM
        public List <Model.CustomServices> SelectMsgByCSID(int cusid)
        {
            StringBuilder str = new StringBuilder();

            str.Append(" and a.CSID=" + cusid);

            BLL.CustomServices          bllbookinfo = new BLL.CustomServices();
            List <Model.CustomServices> list        = bllbookinfo.GetModelList(str.ToString(), str.ToString(), 1, 1);

            return(list);
        }
コード例 #2
0
ファイル: CRMWebService.asmx.cs プロジェクト: xty3019/CRM
        public List <Model.CustomServices> SlectAllMsgTwo(int size, int pageindex)
        {
            StringBuilder str = new StringBuilder();



            str.Append("and CSState=2");

            BLL.Customers bookinfoBLL = new BLL.Customers();

            BLL.CustomServices          bllbookinfo = new BLL.CustomServices();
            List <Model.CustomServices> list        = bllbookinfo.GetModelList(str.ToString(), str.ToString(), size, pageindex);

            return(list);
        }
コード例 #3
0
ファイル: CRMWebService.asmx.cs プロジェクト: xty3019/CRM
        public List <Model.CustomServices> SlectAllMsg(string CusName, int STID, int size, int pageindex)
        {
            StringBuilder str = new StringBuilder();

            if (!string.IsNullOrEmpty(CusName))
            {
                str.AppendFormat(" and d.CusName like '%{0}%' ", CusName);
            }
            if (STID > 0)
            {
                str.AppendFormat(" and a.STID  ={0} ", STID);
            }

            str.Append(" and CSState=1");
            BLL.Customers bookinfoBLL = new BLL.Customers();

            BLL.CustomServices          bllbookinfo = new BLL.CustomServices();
            List <Model.CustomServices> list        = bllbookinfo.GetModelList(str.ToString(), str.ToString(), size, pageindex);

            return(list);
        }