修正错误的字段
This commit is contained in:
@@ -141,5 +141,6 @@ hikari:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ public class Result<T> {
|
|||||||
/**
|
/**
|
||||||
* 状态码
|
* 状态码
|
||||||
*/
|
*/
|
||||||
private int code=0;
|
private int code=200;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 消息提示
|
* 消息提示
|
||||||
|
|||||||
@@ -64,10 +64,18 @@ public class AudioManagementStatistics implements Serializable {
|
|||||||
@Schema(description = "销售人员录音总时长(分钟)")
|
@Schema(description = "销售人员录音总时长(分钟)")
|
||||||
@TableField("personal_total_duration")
|
@TableField("personal_total_duration")
|
||||||
private Long salesTotalDuration;
|
private Long salesTotalDuration;
|
||||||
|
|
||||||
|
@Schema(description = "销售人员录音总时长统计(汇总,不映射到数据库)")
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Long salesTotalDurationStatistic;
|
||||||
|
|
||||||
@Schema(description = "销售人员录音数量")
|
@Schema(description = "销售人员录音数量")
|
||||||
@TableField("personal_recording_count")
|
@TableField("personal_recording_count")
|
||||||
private Integer salesRecordingCount;
|
private Integer salesRecordingCount;
|
||||||
|
|
||||||
|
@Schema(description = "销售人员录音数量统计(汇总,不映射到数据库)")
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Integer salesRecordingCountStatistic;
|
||||||
|
|
||||||
@Schema(description = "销售人员录音平均时长(分钟)")
|
@Schema(description = "销售人员录音平均时长(分钟)")
|
||||||
@TableField("personal_avg_duration")
|
@TableField("personal_avg_duration")
|
||||||
|
|||||||
@@ -258,12 +258,12 @@ public class AudioManagementStatisticsServiceImpl extends ServiceImpl<AudioManag
|
|||||||
for (AudioManagementStatistics stat : statisticsList) {
|
for (AudioManagementStatistics stat : statisticsList) {
|
||||||
// 设置总录音时长(汇总)
|
// 设置总录音时长(汇总)
|
||||||
if (totalDuration != null) {
|
if (totalDuration != null) {
|
||||||
stat.setSalesTotalDuration(totalDuration);
|
stat.setSalesTotalDurationStatistic(totalDuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置总录音数量(汇总)
|
// 设置总录音数量(汇总)
|
||||||
if (totalCount != null) {
|
if (totalCount != null) {
|
||||||
stat.setSalesRecordingCount(totalCount);
|
stat.setSalesRecordingCountStatistic(totalCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置平均录音时长(汇总)
|
// 设置平均录音时长(汇总)
|
||||||
|
|||||||
Reference in New Issue
Block a user