예제 #1
0
        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));
        }
예제 #2
0
 public IEnumerable <Arbcb> GetArbcbList(GetArbcbListRequestApi getArbcbListRequestApi)
 {
     return(this.arbcbService.GetArbcbList(getArbcbListRequestApi));
 }