Exemplo n.º 1
0
        public IEnumerable <PvShoplist> GetPvShoplistByOper(GetPvShoplistByOperRequestApi criteria)
        {
            var where = new StringBuilder();

            where.Append($"cono = {criteria.cono}");
            if (!string.IsNullOrEmpty(criteria.oper2))
            {
                where.AppendFormatWithEscape(" AND pv_shoplist.oper2 = '{0}'", criteria.oper2);
            }

            return(this.pvShoplistRepository.GetList(where.ToString(), true, criteria.batchsize, criteria.fldlist));
        }
Exemplo n.º 2
0
 public IEnumerable <PvShoplist> GetPvShoplistByOper(GetPvShoplistByOperRequestApi criteria)
 {
     return(this.pvShoplistServiceService.GetPvShoplistByOper(criteria));
 }