public IEnumerable <Arbcb> GetArbcbList(GetArbcbListRequestApi getArbcbListRequestApi) { var where = new StringBuilder(); where.Append($"arbcb.cono = {this.arbcbRepository.Cono}"); if (!string.IsNullOrEmpty(getArbcbListRequestApi.batch)) { where.AppendFormatWithEscape(" and arbcb.batch begins '{0}'", getArbcbListRequestApi.batch); } if (!string.IsNullOrEmpty(getArbcbListRequestApi.operinit)) { where.AppendFormatWithEscape(" AND arbcb.operinit = '{0}'", getArbcbListRequestApi.operinit); } return(this.arbcbRepository.GetList( where.ToString(), getArbcbListRequestApi.batchsize, getArbcbListRequestApi.fldlist)); }
public IEnumerable <Arbcb> GetArbcbList(GetArbcbListRequestApi getArbcbListRequestApi) { return(this.arbcbService.GetArbcbList(getArbcbListRequestApi)); }