示例#1
0
        public IEnumerable <FileRetent> GetTWLFileRetentions(int batchsize = 0, string fldlist = "")
        {
            var getTWLFileRetentionsApi = new GetTWLFileRetentionsApi()
            {
                batchsize = batchsize,
                fldlist   = fldlist
            };

            return(this.fileRetentService.GetTWLFileRetentions(getTWLFileRetentionsApi));
        }
示例#2
0
        public IEnumerable <FileRetent> GetTWLFileRetentions(GetTWLFileRetentionsApi getTWLFileRetentionsApi)
        {
            var sb = new StringBuilder();

            if (!string.IsNullOrWhiteSpace(getTWLFileRetentionsApi.fileName))
            {
                sb.AppendFormatWithEscape("file_retent.file_name = '{0}'", getTWLFileRetentionsApi.fileName);
            }
            var where = sb.ToString();
            return(this.fileRetentRepository.GetList(where, getTWLFileRetentionsApi.batchsize, getTWLFileRetentionsApi.fldlist));
        }
示例#3
0
 public IEnumerable <FileRetent> GetTWLFileRetentions(GetTWLFileRetentionsApi getTWLFileRetentionsApi)
 {
     return(this.fileRetentService.GetTWLFileRetentions(getTWLFileRetentionsApi));
 }