|
@@ -7,6 +7,7 @@ import cn.com.qmth.examcloud.support.cache.bean.ExamOrgPropertyCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamOrgSettingsCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamRecordPropertyCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.ExamSettingsCacheBean;
|
|
|
+import cn.com.qmth.examcloud.support.cache.bean.OrgCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.PrivilegeRolesCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.QuestionCacheBean;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.RootOrgPrivilegesCacheBean;
|
|
@@ -201,15 +202,14 @@ public class CacheHelper {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 查询课程
|
|
|
+ * 查询机构
|
|
|
*
|
|
|
* @author WANGWEI
|
|
|
- * @param courseId
|
|
|
- * @param rootOrgId
|
|
|
+ * @param orgId
|
|
|
* @return
|
|
|
*/
|
|
|
- public static CourseCacheBean getOrg(Long orgId) {
|
|
|
- return ObjectRedisCacheProcessor.get("B_ORG:", new Object[]{orgId}, CourseCacheBean.class,
|
|
|
+ public static OrgCacheBean getOrg(Long orgId) {
|
|
|
+ return ObjectRedisCacheProcessor.get("B_ORG:", new Object[]{orgId}, OrgCacheBean.class,
|
|
|
"EC-CORE-BASIC", "cn.com.qmth.examcloud.core.basic.service.cache.OrgCache");
|
|
|
}
|
|
|
|