|
@@ -4,8 +4,8 @@ import cn.com.qmth.examcloud.support.cache.bean.AppCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.BasePaperCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.CourseCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamRecordPropertyCacheBean;
|
|
|
-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.PrivilegeRolesCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.RootOrgPrivilegesCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.SmsAssemblyCacheBean;
|
|
@@ -149,10 +149,10 @@ public class CacheHelper {
|
|
|
* @param orgId
|
|
|
* @return
|
|
|
*/
|
|
|
- public static OrgExamConfigCacheBean getOrgExamConfig(Long examId, Long orgId) {
|
|
|
- return ObjectRedisCacheProcessor.get("E_ORG_EXAM_CONF:", new Object[]{examId, orgId},
|
|
|
- OrgExamConfigCacheBean.class, "EC-CORE-EXAMWORK",
|
|
|
- "cn.com.qmth.examcloud.core.examwork.service.cache.OrgExamConfigCache");
|
|
|
+ public static ExamOrgSettingsCacheBean getExamOrgSettings(Long examId, Long orgId) {
|
|
|
+ return ObjectRedisCacheProcessor.get("E_EXAM_ORG_SETTINGS:", new Object[]{examId, orgId},
|
|
|
+ ExamOrgSettingsCacheBean.class, "EC-CORE-EXAMWORK",
|
|
|
+ "cn.com.qmth.examcloud.core.examwork.service.cache.ExamOrgSettingsCache");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -163,10 +163,10 @@ public class CacheHelper {
|
|
|
* @param orgId
|
|
|
* @return
|
|
|
*/
|
|
|
- public static OrgExamPropertyCacheBean getOrgExamProperty(Long examId, Long orgId, String key) {
|
|
|
- return ObjectRedisCacheProcessor.get("E_ORG_EXAM_PROP:", new Object[]{examId, orgId, key},
|
|
|
- OrgExamConfigCacheBean.class, "EC-CORE-EXAMWORK",
|
|
|
- "cn.com.qmth.examcloud.core.examwork.service.cache.OrgExamPropertyCache");
|
|
|
+ public static ExamOrgPropertyCacheBean getExamOrgProperty(Long examId, Long orgId, String key) {
|
|
|
+ return ObjectRedisCacheProcessor.get("E_EXAM_ORG_PROP:", new Object[]{examId, orgId, key},
|
|
|
+ ExamOrgSettingsCacheBean.class, "EC-CORE-EXAMWORK",
|
|
|
+ "cn.com.qmth.examcloud.core.examwork.service.cache.ExamOrgPropertyCache");
|
|
|
}
|
|
|
|
|
|
}
|