he2802 1 년 전
부모
커밋
2405acaf25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

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

@@ -1784,9 +1784,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
         if (classPeriodSectionVo.getSectionType() == 2 || classPeriodSectionVo.getSectionType() == 3) {
             //默认加上直播
             UserPeriodItemExportVo exportVo = new UserPeriodItemExportVo();
-            exportVo.setSectionType(2);
             exportVo.setStatus(0); //直播未参与
             exportVo.setDurationTime(classPeriodSectionVo.getRealDuration());
+            exportVo.setSectionType(classPeriodSectionVo.getSectionType());
             studyList.add(exportVo);
             Long startTime = null;
             Long endTime = null;