增加开始和结束时间字段显示

beetlsql3-dev
Mlxa0324 2 years ago
parent a26b55f24f
commit 7943667181

@ -25,64 +25,70 @@ public class QuestionLogSummaryAnalysisVO extends BaseEntity {
/**
*
*/
@ExcelProperty(value = "名称", index = 1)
@ExcelProperty(value = "名称")
private String questionSettingName;
@ExcelProperty(value = "开始时间")
private String startTime;
@ExcelProperty(value = "结束时间")
private String endTime;
/**
*
*/
@ExcelProperty(value = "题目总数", index = 2)
@ExcelProperty(value = "题目总数")
private String questionTotalCount;
/**
*
*/
@ExcelProperty(value = "合计场次", index = 3)
@ExcelProperty(value = "合计场次")
private String totalSettingCount;
/**
*
*/
@ExcelProperty(value = "平均答对数量", index = 4)
@ExcelProperty(value = "平均答对数量")
private String avgCorrectCount;
/**
*
*/
@ExcelProperty(value = "平均答错数量", index = 5)
@ExcelProperty(value = "平均答错数量")
private String avgWrongCount;
/**
*
*/
@ExcelProperty(value = "学生平均分数", index = 6)
@ExcelProperty(value = "学生平均分数")
private String avgStudentScore;
/**
*
*/
@ExcelProperty(value = "总班级数", index = 7)
@ExcelProperty(value = "总班级数")
private String totalSchoolClassCount;
/**
*
*/
@ExcelProperty(value = "平均做题数量", index = 8)
@ExcelProperty(value = "平均做题数量")
private String avgQuestionLogSummaryStudentDoCount;
/**
*
*/
@ExcelProperty(value = "平均正确率", index = 9)
@ExcelProperty(value = "平均正确率")
private String avgQuestionLogSummarySuccessRate;
/**
*
*/
@ExcelProperty(value = "平均通过率", index = 10)
@ExcelProperty(value = "平均通过率")
private String avgQuestionLogSummaryIsPass;
/**
*
*/
@ExcelProperty(value = "平均用时(秒)", index = 11)
@ExcelProperty(value = "平均用时(秒)")
private String avgFinishSecondTime;
/**
*
*/
@ExcelProperty(value = "平均用时 时间格式", index = 12)
@ExcelProperty(value = "平均用时 时间格式")
private String avgFinishTime;
public void setAvgFinishSecondTime(String avgFinishSecondTime) {

@ -875,6 +875,8 @@ analysisPageQuery
from (
select
ta.teacher_open_course_question_setting_name as question_setting_name,
ta.teacher_open_course_question_start_time as start_time,
ta.teacher_open_course_question_end_time as end_time,
ta.teacher_open_course_question_setting_type as question_setting_type,
count((ab.resources_question_snapshot_id)) as question_total_count,
count(distinct(ta.teacher_open_course_question_setting_id)) as total_setting_count,
@ -902,7 +904,9 @@ analysisPageQuery
AND ta.teacher_open_course_question_setting_name is not null
group by
ta.teacher_open_course_question_setting_name,
ta.teacher_open_course_question_setting_type
ta.teacher_open_course_question_setting_type,
ta.teacher_open_course_question_start_time,
ta.teacher_open_course_question_end_time
) z
analysisAvg

Loading…
Cancel
Save