修改统计单位为分钟

This commit is contained in:
zhonghua.li
2026-02-03 21:42:00 +08:00
parent aca05abd73
commit ec16419f1f
6 changed files with 44 additions and 17 deletions

View File

@@ -64,7 +64,7 @@ public class AudioManagementStatisticsServiceImpl extends ServiceImpl<AudioManag
statistics.setDealershipName(dealershipNameObj != null ? dealershipNameObj.toString() : "未知门店");
// 设置门店录音统计数据
Object totalDurationObj = stat.get("total_duration_seconds");
Object totalDurationObj = stat.get("total_duration_minutes");
if (totalDurationObj != null) {
statistics.setDealershipTotalDuration(Long.valueOf(totalDurationObj.toString()));
} else {
@@ -100,7 +100,7 @@ public class AudioManagementStatisticsServiceImpl extends ServiceImpl<AudioManag
statistics.setSalesName(salesNameObj != null ? salesNameObj.toString() : "未知销售");
// 设置销售人员录音统计数据
Object salesTotalDurationObj = salesStat.get("total_duration_seconds");
Object salesTotalDurationObj = salesStat.get("total_duration_minutes");
if (salesTotalDurationObj != null) {
statistics.setSalesTotalDuration(Long.valueOf(salesTotalDurationObj.toString()));
} else {
@@ -144,7 +144,7 @@ public class AudioManagementStatisticsServiceImpl extends ServiceImpl<AudioManag
statistics.setProjectName(projectNameObj != null ? projectNameObj.toString() : "未知项目");
// 设置项目录音统计数据
Object projectTotalDurationObj = projectStat.get("total_duration_seconds");
Object projectTotalDurationObj = projectStat.get("total_duration_minutes");
if (projectTotalDurationObj != null) {
statistics.setProjectTotalDuration(Long.valueOf(projectTotalDurationObj.toString()));
} else {