| | |
| | | CaseStatisticsBaseDTO statisticsBase(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 统计分析(基础)新版 |
| | | * 这通常用于获取基础的案例统计数据,如总数、化解成功数、化解不成功数、化解中数等 |
| | | * 新版统计逻辑: |
| | | * - 化解中包括待受理(info_process <= 2) |
| | | * - 化解成功(info_process = 3 且 medi_result = '22_00025-1') |
| | | * - 化解不成功(info_process = 3 且 medi_result = '22_00025-2') |
| | | * - 不予受理(info_process = 4) |
| | | * |
| | | * @param terms 包含统计条件的键值对,如时间范围、地区等 |
| | | * @return 返回一个对象,包含基础的案例统计数据 |
| | | */ |
| | | CaseStatisticsBaseDTO statisticsBaseProcess(@Param("terms") Map<String, Object> terms); |
| | | |
| | | |
| | | /** |
| | | * 统计一级分类下的案例类型数据 |
| | | * 这通常用于获取最顶层的案例类型分布 |
| | | * |
| | |
| | | */ |
| | | List<CaseStatisticsTypeDTO> countByCanalSecond(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 工作统计按时间分组 |
| | | * |
| | | * @param terms 包含统计条件的键值对,如时间范围 |
| | | * @return 返回一个对象,包含基础的案例统计数据 |
| | | */ |
| | | List<CaseWorkStatisticsTimeDTO> workStatisticsTime(@Param("terms") Map<String, Object> terms); |
| | | |
| | | } |