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