修改统计单位为分钟
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user