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)); }
public IEnumerable <PvShoplist> GetPvShoplistByOper(GetPvShoplistByOperRequestApi criteria) { return(this.pvShoplistServiceService.GetPvShoplistByOper(criteria)); }