|
@@ -17,8 +17,7 @@ import com.qmth.themis.business.dto.AuthDto;
|
|
|
import com.qmth.themis.business.dto.ExpireTimeDTO;
|
|
|
import com.qmth.themis.business.dto.MqDto;
|
|
|
import com.qmth.themis.business.dto.cache.TEStudentCacheDto;
|
|
|
-import com.qmth.themis.business.dto.response.TEExamActivityDto;
|
|
|
-import com.qmth.themis.business.dto.response.TEExamDto;
|
|
|
+import com.qmth.themis.business.dto.response.TEExamActivityWaitDto;
|
|
|
import com.qmth.themis.business.dto.response.TEExamResultDto;
|
|
|
import com.qmth.themis.business.dto.response.TEExamWaitDto;
|
|
|
import com.qmth.themis.business.entity.TBOrg;
|
|
@@ -339,17 +338,16 @@ public class TEStudentController {
|
|
|
ExamActivityCacheBean examActivityCacheBean, Long examStudentId) {
|
|
|
ExamCourseCacheBean examCourseCacheBean = teExamCourseService
|
|
|
.getExamCourseCacheBean(ec.getId(), examStudentCacheBean.getCourseCode());
|
|
|
- TEExamActivityDto teExamActivityDto = new TEExamActivityDto(ec, examActivityCacheBean, examStudentCacheBean,
|
|
|
+ TEExamActivityWaitDto teExamActivityWaitDto = new TEExamActivityWaitDto(ec, examActivityCacheBean, examStudentCacheBean,
|
|
|
examStudentId, examCourseCacheBean, ExamRecordCacheUtil.getStartTime(recordId),
|
|
|
ExamRecordCacheUtil.getEndTime(recordId), ExamRecordCacheUtil.getOpeningSeconds(recordId),
|
|
|
ExamRecordCacheUtil.getMinDurationSeconds(recordId),
|
|
|
ExamRecordCacheUtil.getMaxDurationSeconds(recordId), ExamRecordCacheUtil.getForceFinish(recordId));
|
|
|
Gson gson = new Gson();
|
|
|
ExamActivityUnFinishBean examActivityUnFinishBean = gson
|
|
|
- .fromJson(gson.toJson(teExamActivityDto), ExamActivityUnFinishBean.class);
|
|
|
+ .fromJson(gson.toJson(teExamActivityWaitDto), ExamActivityUnFinishBean.class);
|
|
|
examActivityUnFinishBean.setRecordId(recordId);
|
|
|
- return new ExamUnFinishBean(ec.getId(), ec.getName(), ec.getPreNotice(), ec.getPreNoticeStaySeconds(),
|
|
|
- ec.getPostNotice(), examActivityUnFinishBean);
|
|
|
+ return new ExamUnFinishBean(ec.getId(), ec.getName(), examActivityUnFinishBean);
|
|
|
}
|
|
|
|
|
|
/**
|