public IEnumerable <Oeds> GetOedsListAllByConoAndWhse( GetOedsListAllByConoAndWhseRequestApi getGetOedsListAllByConoAndWhseRequestApi) { var where = new StringBuilder(); where.Append($"oeds.cono = {this.oedsRepository.Cono}"); if (!string.IsNullOrEmpty(getGetOedsListAllByConoAndWhseRequestApi.whse)) { where.AppendFormatWithEscape(" AND oeds.whse = '{0}'", getGetOedsListAllByConoAndWhseRequestApi.whse); } return(this.oedsRepository.GetList( where.ToString(), getGetOedsListAllByConoAndWhseRequestApi.batchsize, getGetOedsListAllByConoAndWhseRequestApi.fldlist)); }
public IEnumerable <Oeds> GetOedsListAllByConoAndWhse(GetOedsListAllByConoAndWhseRequestApi getOedsListAllByConoAndWhseRequestApi) { return(this.oedsService.GetOedsListAllByConoAndWhse(getOedsListAllByConoAndWhseRequestApi)); }