|
@@ -270,7 +270,7 @@ public class CacheHelper implements CacheConstants {
|
|
|
* @author WANGWEI
|
|
|
*/
|
|
|
public static OrgCacheBean getOrg(Long orgId) {
|
|
|
- return ObjectRedisCacheProcessor.get("B_ORG:", new Object[]{orgId}, OrgCacheBean.class,
|
|
|
+ return ObjectRedisCacheProcessor.get(CACHE_B_ORG, new Object[]{orgId}, OrgCacheBean.class,
|
|
|
"EC-CORE-BASIC", "cn.com.qmth.examcloud.core.basic.service.cache.OrgCache");
|
|
|
}
|
|
|
|
|
@@ -282,7 +282,7 @@ public class CacheHelper implements CacheConstants {
|
|
|
* @author WANGWEI
|
|
|
*/
|
|
|
public static RootOrgCacheBean getRootOrg(String domain) {
|
|
|
- return ObjectRedisCacheProcessor.get("B_ROOT_ORG:", new Object[]{domain},
|
|
|
+ return ObjectRedisCacheProcessor.get(CACHE_B_ROOT_ORG, new Object[]{domain},
|
|
|
RootOrgCacheBean.class, "EC-CORE-BASIC",
|
|
|
"cn.com.qmth.examcloud.core.basic.service.cache.RootOrgCache");
|
|
|
}
|
|
@@ -296,7 +296,7 @@ public class CacheHelper implements CacheConstants {
|
|
|
* @author WANGWEI
|
|
|
*/
|
|
|
public static OrgPropertyCacheBean getOrgProperty(Long orgId, String key) {
|
|
|
- return ObjectRedisCacheProcessor.get("B_ORG_PROP:", new Object[]{orgId, key},
|
|
|
+ return ObjectRedisCacheProcessor.get(CACHE_B_ORG_PROP, new Object[]{orgId, key},
|
|
|
OrgPropertyCacheBean.class, "EC-CORE-BASIC",
|
|
|
"cn.com.qmth.examcloud.core.basic.service.cache.OrgPropertyCache");
|
|
|
}
|
|
@@ -310,7 +310,7 @@ public class CacheHelper implements CacheConstants {
|
|
|
* @author WANGWEI
|
|
|
*/
|
|
|
public static ThirdPartyAccessCacheBean getThirdPartyAccess(Long rootOrgId, String appId) {
|
|
|
- return ObjectRedisCacheProcessor.get("B_THIRD_PARTY_ACCESS:",
|
|
|
+ return ObjectRedisCacheProcessor.get(CACHE_B_THIRD_PARTY_ACCESS,
|
|
|
new Object[]{rootOrgId, appId}, ThirdPartyAccessCacheBean.class, "EC-CORE-BASIC",
|
|
|
"cn.com.qmth.examcloud.core.basic.service.cache.ThirdPartyAccessCache");
|
|
|
}
|
|
@@ -323,7 +323,7 @@ public class CacheHelper implements CacheConstants {
|
|
|
* @author WANGWEI
|
|
|
*/
|
|
|
public static ExamStudentCacheBean getExamStudent(Long examStudentId) {
|
|
|
- return ObjectRedisCacheProcessor.get("OE_ES:", new Object[]{examStudentId},
|
|
|
+ return ObjectRedisCacheProcessor.get(CACHE_OE_EXAM_STUDENT, new Object[]{examStudentId},
|
|
|
ExamStudentCacheBean.class, "EC-CORE-OE-ADMIN",
|
|
|
"cn.com.qmth.examcloud.core.oe.admin.service.cache.ExamStudentCache");
|
|
|
}
|