|
@@ -93,8 +93,8 @@ import cn.com.qmth.examcloud.core.oe.admin.api.ExamRecordCloudService;
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.request.CheckExamIsStartedReq;
|
|
|
import cn.com.qmth.examcloud.core.oe.admin.api.response.CheckExamIsStartedResp;
|
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
|
-import cn.com.qmth.examcloud.support.cache.bean.OrgExamConfigCacheBean;
|
|
|
-import cn.com.qmth.examcloud.support.cache.bean.OrgExamPropertyCacheBean;
|
|
|
+import cn.com.qmth.examcloud.support.cache.bean.ExamOrgSettingsCacheBean;
|
|
|
+import cn.com.qmth.examcloud.support.cache.bean.ExamOrgPropertyCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.StudentCacheBean;
|
|
|
import cn.com.qmth.examcloud.task.api.DataSyncCloudService;
|
|
|
import cn.com.qmth.examcloud.task.api.request.SyncExamReq;
|
|
@@ -663,7 +663,7 @@ public class ExamController extends ControllerSupport {
|
|
|
|
|
|
@ApiOperation(value = "查询考生的考试批次配置")
|
|
|
@GetMapping("examConfigFromCache4StudentSession/{examId}")
|
|
|
- public OrgExamConfigCacheBean getExamConfigFromCacheByStudentSession(
|
|
|
+ public ExamOrgSettingsCacheBean getExamConfigFromCacheByStudentSession(
|
|
|
@PathVariable Long examId) {
|
|
|
|
|
|
User accessUser = getAccessUser();
|
|
@@ -676,7 +676,7 @@ public class ExamController extends ControllerSupport {
|
|
|
StudentCacheBean student = CacheHelper.getStudent(studentId);
|
|
|
Long orgId = student.getOrgId();
|
|
|
|
|
|
- OrgExamConfigCacheBean orgExamConfig = CacheHelper.getOrgExamConfig(examId, orgId);
|
|
|
+ ExamOrgSettingsCacheBean orgExamConfig = CacheHelper.getExamOrgSettings(examId, orgId);
|
|
|
return orgExamConfig;
|
|
|
}
|
|
|
|
|
@@ -699,7 +699,7 @@ public class ExamController extends ControllerSupport {
|
|
|
|
|
|
Map<String, String> map = Maps.newHashMap();
|
|
|
for (String key : keyArray) {
|
|
|
- OrgExamPropertyCacheBean orgExamProperty = CacheHelper.getOrgExamProperty(examId, orgId,
|
|
|
+ ExamOrgPropertyCacheBean orgExamProperty = CacheHelper.getExamOrgProperty(examId, orgId,
|
|
|
key);
|
|
|
map.put(key, orgExamProperty.getValue());
|
|
|
}
|