| | |
| | | // 重新获取纠纷类型统计(基于完整的选择类型条件) |
| | | List<CaseStatisticsTypeDTO> caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | |
| | | // 如果基于选择类型的查询结果为空,则使用全量数据进行纠纷类型统计 |
| | | if (ObjectUtils.isEmpty(caseStatisticsTypeDTOS)) { |
| | | // 临时移除所有类型筛选条件,获取全量纠纷类型统计 |
| | | terms.remove("canal"); |
| | | terms.remove("canalSecond"); |
| | | terms.remove("canalList"); |
| | | terms.remove("canalSecondNot"); |
| | | terms.remove("canalSecondAll"); |
| | | caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | } |
| | | // // 如果基于选择类型的查询结果为空,则使用全量数据进行纠纷类型统计 |
| | | // if (ObjectUtils.isEmpty(caseStatisticsTypeDTOS)) { |
| | | // // 临时移除所有类型筛选条件,获取全量纠纷类型统计 |
| | | // terms.remove("canal"); |
| | | // terms.remove("canalSecond"); |
| | | // terms.remove("canalList"); |
| | | // terms.remove("canalSecondNot"); |
| | | // terms.remove("canalSecondAll"); |
| | | // caseStatisticsTypeDTOS = mapper.statisticsTypeFirst(terms); |
| | | // } |
| | | |
| | | if (ObjectUtils.isNotEmpty(caseStatisticsTypeDTOS)) { |
| | | sortType(caseStatisticsTypeDTOS); |