|
@@ -1308,8 +1308,7 @@ public class ExamController extends ControllerSupport {
|
|
|
User accessUser = getAccessUser();
|
|
|
StudentCacheBean studentCache = CacheHelper.getStudent(accessUser.getUserId());
|
|
|
Long orgId = studentCache.getOrgId();
|
|
|
- ExamOrgPropertyCacheBean ipLimitProperty = CacheHelper.getExamOrgProperty(examId, orgId,
|
|
|
- "IP_LIMIT");
|
|
|
+ ExamPropertyCacheBean ipLimitProperty = CacheHelper.getExamProperty(examId, "IP_LIMIT");
|
|
|
|
|
|
Map<String, Object> map = Maps.newHashMap();
|
|
|
|
|
@@ -1335,7 +1334,7 @@ public class ExamController extends ControllerSupport {
|
|
|
}
|
|
|
realIp = realIp.trim();
|
|
|
|
|
|
- ExamOrgPropertyCacheBean ipAddressesProperty = CacheHelper.getExamOrgProperty(examId, orgId,
|
|
|
+ ExamPropertyCacheBean ipAddressesProperty = CacheHelper.getExamProperty(examId,
|
|
|
"IP_ADDRESSES");
|
|
|
|
|
|
String ipAddresses = null;
|