后台统计-活跃统计-英语2区

This commit is contained in:
khalil
2025-04-21 14:44:45 +08:00
parent 894f835f12
commit a40caa9d07
2 changed files with 8 additions and 0 deletions

View File

@@ -38,4 +38,9 @@ public class DailyActiveUserStat {
@ApiModelProperty("土耳其区详细")
private String trCountDetail;
@ApiModelProperty("英语2区")
private Integer en2Count;
@ApiModelProperty("英语2区详细")
private String en2CountDetail;
}

View File

@@ -99,6 +99,9 @@ public class DauStatService {
stat.setTrCount(partitionCountStat(recordList, PartitionEnum.TURKEY.getId()));
stat.setTrCountDetail(JSON.toJSONString(partitionRegionStat(recordList, PartitionEnum.TURKEY.getId(), regionInfoMap)));
stat.setEn2Count(partitionCountStat(recordList, PartitionEnum.ENGLISH2.getId()));
stat.setEn2CountDetail(JSON.toJSONString(partitionRegionStat(recordList, PartitionEnum.ENGLISH2.getId(), regionInfoMap)));
statMapper.insert(stat);
}