|
@@ -231,23 +231,6 @@ public class ExamCloudServiceProvider extends ControllerSupport implements ExamC
|
|
|
bean.setRootOrgId(exam.getRootOrgId());
|
|
|
bean.setExamLimit(exam.getExamLimit());
|
|
|
|
|
|
- Long orgId = req.getOrgId();
|
|
|
- if (null != orgId) {
|
|
|
- ExamSpecialSettingsEntity examOrgEntity = examSpecialSettingsRepo
|
|
|
- .findByExamIdAndOrgIdAndCourseIdIsNullAndStudentIdIsNull(exam.getId(), orgId);
|
|
|
- if (null != examOrgEntity) {
|
|
|
- if (null != examOrgEntity.getBeginTime()) {
|
|
|
- bean.setBeginTime(examOrgEntity.getBeginTime());
|
|
|
- }
|
|
|
- if (null != examOrgEntity.getEndTime()) {
|
|
|
- bean.setEndTime(examOrgEntity.getEndTime());
|
|
|
- }
|
|
|
- if (null != examOrgEntity.getExamLimit()) {
|
|
|
- bean.setExamLimit(examOrgEntity.getExamLimit());
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
return examResp;
|
|
|
}
|
|
|
|