Exemple #1
0
        public IEnumerable <Sasse> GetSasseListAllByErrorAndLang(GetSasseListAllByErrorAndLangRequestApi getSasseListAllByErrorAndLangRequestApi)
        {
            var sb = new StringBuilder();

            sb.Append($"sasse.errorno >= {getSasseListAllByErrorAndLangRequestApi.error}");
            if (getSasseListAllByErrorAndLangRequestApi.langcd != null)
            {
                sb.AppendFormatWithEscape(" AND sasse.trmgrlang = '{0}'", getSasseListAllByErrorAndLangRequestApi.langcd);
            }
            var where = sb.ToString();
            return(this.sasseRepository.GetList(where, getSasseListAllByErrorAndLangRequestApi.batchsize, getSasseListAllByErrorAndLangRequestApi.fldlist));
        }
Exemple #2
0
 public IEnumerable <Sasse> GetSasseListAllByErrorAndLang(GetSasseListAllByErrorAndLangRequestApi getSasseListAllByErrorAndLangRequestApi)
 {
     return(this.sasseService.GetSasseListAllByErrorAndLang(getSasseListAllByErrorAndLangRequestApi));
 }