public IEnumerable <Sasgl> GetSasglListAllByState(GetSasglListAllByStateRequestApi getGetSasglListAllByStateRequestApi) { var where = new StringBuilder(); where.Append($"sasgl.cono = {this.sasglRepository.Cono}"); if (!string.IsNullOrEmpty(getGetSasglListAllByStateRequestApi.state)) { where.AppendFormatWithEscape(" AND sasgl.state = '{0}'", getGetSasglListAllByStateRequestApi.state); } return(this.sasglRepository.GetList( where.ToString(), getGetSasglListAllByStateRequestApi.batchsize, getGetSasglListAllByStateRequestApi.fldlist)); }
public IEnumerable <Sasgl> GetSasglListAllByState(GetSasglListAllByStateRequestApi GetSasglListAllByStateRequestApi) { return(this.sasglService.GetSasglListAllByState(GetSasglListAllByStateRequestApi)); }