ErrorReport.cs 468 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using UFIDA.U8.UAP.Services.ReportFilterService;
  5. namespace Report
  6. {
  7. public class ErrorReport : IGetSql
  8. {
  9. public void GetSql(IFilterArgs e)
  10. {
  11. string sql = "select * from wtu..errmsg where " + e.DataSource.FilterString;
  12. e.DataSource.SQL = sql;
  13. e.DataSource.Type = CustomDataSourceTypeEnum.SQL;
  14. }
  15. }
  16. }