|
@@ -83,7 +83,11 @@ public class ManagementDetailService {
|
|
for (Map<String, Object> map : cityTslForMonth) {
|
|
for (Map<String, Object> map : cityTslForMonth) {
|
|
int dayId = Integer.parseInt(map.get("day_id").toString());
|
|
int dayId = Integer.parseInt(map.get("day_id").toString());
|
|
// 注意这里用的是赋值而不是add
|
|
// 注意这里用的是赋值而不是add
|
|
- result.get(map.get("compl_area_local").toString()).set(dayId - 1, map.get("num"));
|
|
|
|
|
|
+ // 20240930 增加逻辑,跳过省中心
|
|
|
|
+ String comp = map.get("compl_area_local").toString();
|
|
|
|
+ if (!"省中心".equals(comp)) {
|
|
|
|
+ result.get(comp).set(dayId - 1, map.get("num"));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
List<Map<String, Object>> allTslForMonth = managementDetailMapper.selectAllTslForMonth(day);
|
|
List<Map<String, Object>> allTslForMonth = managementDetailMapper.selectAllTslForMonth(day);
|
|
// 全省每日投诉量
|
|
// 全省每日投诉量
|
|
@@ -95,7 +99,11 @@ public class ManagementDetailService {
|
|
List<Map<String, Object>> cityAllForMonth = managementDetailMapper.selectCityAllForMonth(day);
|
|
List<Map<String, Object>> cityAllForMonth = managementDetailMapper.selectCityAllForMonth(day);
|
|
// 各地市投诉总量
|
|
// 各地市投诉总量
|
|
for (Map<String, Object> map : cityAllForMonth) {
|
|
for (Map<String, Object> map : cityAllForMonth) {
|
|
- result.get(map.get("compl_area_local").toString()).add(map.get("num"));
|
|
|
|
|
|
+ // 20240930 增加逻辑,跳过省中心
|
|
|
|
+ String comp = map.get("compl_area_local").toString();
|
|
|
|
+ if (!"省中心".equals(comp)) {
|
|
|
|
+ result.get(comp).add(map.get("num"));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 全省总量
|
|
// 全省总量
|
|
int total = managementDetailMapper.selectAllForMonth(day);
|
|
int total = managementDetailMapper.selectAllForMonth(day);
|
|
@@ -229,7 +237,11 @@ public class ManagementDetailService {
|
|
for (Map<String, Object> map : cityTslForMonth) {
|
|
for (Map<String, Object> map : cityTslForMonth) {
|
|
int dayId = Integer.parseInt(map.get("day_id").toString());
|
|
int dayId = Integer.parseInt(map.get("day_id").toString());
|
|
// 注意这里用的是赋值而不是add
|
|
// 注意这里用的是赋值而不是add
|
|
- result.get(map.get("compl_area_local").toString()).set(dayId - 1, map.get("num"));
|
|
|
|
|
|
+ // 20240930 增加逻辑,跳过省中心
|
|
|
|
+ String comp = map.get("compl_area_local").toString();
|
|
|
|
+ if (!"省中心".equals(comp)) {
|
|
|
|
+ result.get(comp).set(dayId - 1, map.get("num"));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
List<Map<String, Object>> allTslForMonth = mobileComplaintMapper.selectAll3GjwGroupByDayForMonth(day);
|
|
List<Map<String, Object>> allTslForMonth = mobileComplaintMapper.selectAll3GjwGroupByDayForMonth(day);
|
|
// 全省每日投诉量
|
|
// 全省每日投诉量
|
|
@@ -242,7 +254,10 @@ public class ManagementDetailService {
|
|
// 各地市投诉总量
|
|
// 各地市投诉总量
|
|
for (Map<String, Object> map : cityAllForMonth) {
|
|
for (Map<String, Object> map : cityAllForMonth) {
|
|
// 20240602 修改为set
|
|
// 20240602 修改为set
|
|
- result.get(map.get("compl_area_local").toString()).set(dayIndex, map.get("num"));
|
|
|
|
|
|
+ String comp = map.get("compl_area_local").toString();
|
|
|
|
+ if (!"省中心".equals(comp)) {
|
|
|
|
+ result.get(comp).set(dayIndex, map.get("num"));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 全省总量,
|
|
// 全省总量,
|
|
int total = mobileComplaintMapper.selectAll3GjwForMonth(day);
|
|
int total = mobileComplaintMapper.selectAll3GjwForMonth(day);
|