he2802 1 year ago
parent
commit
a91fdc1221

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

@@ -4529,6 +4529,8 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                     item.setChapterExamName(v2Vo.getChapterName());
                     item.setExamName(v2Vo.getExamName());
                     item.setStudyTimeTxt(DateUtils.timestampToDateFormat(itemExportVo.getStudyStartTime(),"yyyy-MM-dd HH:mm:ss")+"至"+DateUtils.timestampToDateFormat(itemExportVo.getStudyEndTime(),"yyyy-MM-dd HH:mm:ss"));
+                    long second = itemExportVo.getStudyEndTime().longValue() - itemExportVo.getStudyStartTime().longValue();
+                    item.setStudyTimeLongTxt(DateUtils.secToTime((int) second));
                     item.setScore(itemExportVo.getScore());
                     if(Validator.isNotEmpty(itemExportVo.getRightRate())){
                         item.setRate(itemExportVo.getRightRate()+"");

+ 1 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/vo/DangAnExamListExportVo.java

@@ -55,6 +55,5 @@ public class DangAnExamListExportVo {
 	@Excel(name = "总进度(题目节)")
 	private String process;
 
-	@Excel(name = "视频总进度")
-	private String videoProcess;
+
 }