IBiSnapshotApplication.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. using Hotline.Share.Dtos;
  2. using Hotline.Share.Dtos.Snapshot;
  3. using Microsoft.AspNetCore.Http;
  4. using SqlSugar;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Hotline.Application.Snapshot.Contracts;
  11. public interface IBiSnapshotApplication
  12. {
  13. /// <summary>
  14. /// 热点类型小统计
  15. /// </summary>
  16. /// <param name="dto"></param>
  17. /// <returns></returns>
  18. ISugarQueryable<HotspotStatisticsOutDto> GetHotspotStatistics(HotspotStatisticsInDto dto);
  19. ISugarQueryable<HotspotStatisticsDetailsOutDto> HotspotStatisticsDetail(HotspotStatisticsDetailsInDto dto);
  20. IList<RedPackStatisticsOutDto> GetRedPackAuditStatistics(RedPackStatisticsInDto dto);
  21. ISugarQueryable<RedPackStatisticsDetailsOutDto> GetRedPackAuditStatisticsDetails(RedPackStatisticsDetailsInDto dto);
  22. Task<SnapshotStatisticsOutDto> GetSnapshotStatisticsAsync(SnapshotStatisticsInDto dto, CancellationToken token);
  23. ISugarQueryable<SnapshotStatisticsDetailOutDto> GetSnapshotStatisticsDetail(SnapshotStatisticsDetailInDto dto);
  24. /// <summary>
  25. /// 办件统计-随手拍
  26. /// </summary>
  27. /// <param name="dto"></param>
  28. /// <returns></returns>
  29. ISugarQueryable<SnapshotProcessingStatisticsOutDto> GetSnapshotProcessingStatistics(SnapshotProcessingStatisticsInDto dto);
  30. /// <summary>
  31. /// 办件统计明细-随手拍
  32. /// </summary>
  33. /// <param name="dto"></param>
  34. /// <returns></returns>
  35. ISugarQueryable<SnapshotProcessingStatisticsDetailsOutDto> GetSnapshotProcessingStatisticsDetails(SnapshotProcessingStatisticsDetailsInDto dto);
  36. /// <summary>
  37. /// 网格员办理情况统计
  38. /// </summary>
  39. /// <param name="dto"></param>
  40. /// <returns></returns>
  41. ISugarQueryable<GuiderWorkStatisticsOutDto> GetGuiderWorkStatisticsAsync(GuiderWorkStatisticsInDto dto);
  42. ISugarQueryable<GuiderWorkStatisticsDetailsOutDto> GetGuiderWorkStatisticsDetails(GuiderWorkStatisticsDetailsInDto dto);
  43. ISugarQueryable<HotspotDataStatisticsOutDto> GetHotspotDataStatisticsAsync(HotspotDataStatisticsInDto dto);
  44. /// <summary>
  45. /// 网格员系统工单状态日志
  46. /// </summary>
  47. /// <param name="dto"></param>
  48. /// <returns></returns>
  49. ISugarQueryable<GuiderWorkLogsOutDto> GetGuiderWorkLogs(GuiderWorkLogsInDto dto);
  50. ISugarQueryable<DuplicateItemsOutDto> GetDuplicateItems(DuplicateItemsInDto dto);
  51. ISugarQueryable<CommunityStatisticsOutDto> GetCommunityStatistics(CommunityStatisticsInDto dto);
  52. /// <summary>
  53. /// 社区统计-详情
  54. /// </summary>
  55. /// <param name="dto"></param>
  56. /// <returns></returns>
  57. ISugarQueryable<CommunityStatisticsDetailsOutDto> GetCommunityStatisticsDetails(CommunityStatisticsDetailsInDto dto);
  58. /// <summary>
  59. /// 随手拍区域统计
  60. /// </summary>
  61. /// <param name="dto"></param>
  62. /// <returns></returns>
  63. ISugarQueryable<CountyRedPackStatisticsOutDto> GetCountyRedPackStatistics(CountyRedPackStatisticsInDto dto);
  64. /// <summary>
  65. /// 部门考核统计-随手拍
  66. /// </summary>
  67. /// <param name="dto"></param>
  68. /// <returns></returns>
  69. /// <exception cref="NotImplementedException"></exception>
  70. ISugarQueryable<SnapshotDepartmentStatisticsOutDto> GetSnapshotDepartmentStatistics(SnapshotDepartmentStatisticsInDto dto);
  71. /// <summary>
  72. /// 部门平均办理时间-随手拍
  73. /// </summary>
  74. /// <param name="dto"></param>
  75. /// <returns></returns>
  76. ISugarQueryable<SnapshotDepartmentAveTimeStatisticsOutDto> GetSnapshotDepartmentAveTimeStatistics(SnapshotDepartmentAveTimeStatisticsInDto dto);
  77. ISugarQueryable<SnapshotDepartmentAveTimeStatisticsDetailsOutDto> GetSnapshotDepartmentAveTimeStatisticsDtails(SnapshotDepartmentAveTimeStatisticsDetailsInDto dto);
  78. /// <summary>
  79. /// 检查合规统计
  80. /// </summary>
  81. /// <param name="dto"></param>
  82. /// <returns></returns>
  83. ISugarQueryable<CompliantStatisticsOutDto> GetCompliantStatistics(CompliantStatisticsInDto dto);
  84. ISugarQueryable<CompliantStatisticsDetailsOutDto> GetCompliantStatisticsDetails(CompliantStatisticsDetailsInDto dto);
  85. List<Dictionary<string, object>> GetReTransactStatistics(ReTransactStatisticsInDto dto);
  86. ISugarQueryable<ReTransactStatisticsDetailsOutDto> GetReTransactStatisticsDetail(ReTransactStatisticsDetailsInDto dto);
  87. /// <summary>
  88. /// 行业统计
  89. /// </summary>
  90. /// <param name="dto"></param>
  91. /// <returns></returns>
  92. List<Dictionary<string, object>> GetIndustryStatistics(IndustryStatisticsInDto dto);
  93. /// <summary>
  94. /// 行业统计详情
  95. /// </summary>
  96. /// <param name="dto"></param>
  97. /// <returns></returns>
  98. ISugarQueryable<IndustryStatisticsDetailsOutDto> GetIndustryStatisticsDetails(IndustryStatisticsDetailsInDto dto);
  99. /// <summary>
  100. /// 区域积分统计
  101. /// </summary>
  102. /// <param name="dto"></param>
  103. /// <returns></returns>
  104. ISugarQueryable<SnapshotCountyPointsStatisticsOutDto> GetAreaPointsStatistics(SnapshotCountyPointsStatisticsInDto dto);
  105. }