Beispiel #1
0
        public IEnumerable <OrderInfo> GetListByPage(string tel, string name, string wechatId, int pageSize, int pageIndex)
        {
            OrderSecification oSpec = new OrderSecification(new OrderInfo {
                Csr_Tel_J = tel, Csr_Tel_S = tel, Csr_Name_J = tel, Csr_Name_S = name, WechatId = wechatId
            });

            return(_orderInfoRepository.GetBySpec(oSpec, pageIndex, pageSize, a => a.UniqueId, true));
        }
Beispiel #2
0
        public IEnumerable <OrderInfo> GetList(string tel, string name, string wechatId)
        {
            OrderSecification oSpec = new OrderSecification(new OrderInfo {
                Csr_Tel_J = tel, Csr_Tel_S = tel, Csr_Name_J = tel, Csr_Name_S = name, WechatId = wechatId
            });

            return(_orderInfoRepository.GetBySpec(oSpec));
        }