|
@@ -1174,11 +1174,11 @@ public class ExamControlServiceImpl implements ExamControlService {
|
|
|
}
|
|
|
|
|
|
SwitchScreenCountInfo ret=new SwitchScreenCountInfo();
|
|
|
- if(examSessionInfo.getRecordSwitchScreen()) {
|
|
|
- ret.setMaxSwitchScreenCount(examSessionInfo.getMaxSwitchScreenCount());
|
|
|
- }else {
|
|
|
- ret.setMaxSwitchScreenCount(null);
|
|
|
+ //为开启计算切屏次数的不y
|
|
|
+ if(!examSessionInfo.getRecordSwitchScreen()) {
|
|
|
+ return ret;
|
|
|
}
|
|
|
+ ret.setMaxSwitchScreenCount(examSessionInfo.getMaxSwitchScreenCount());
|
|
|
|
|
|
//更新考试记录缓存
|
|
|
int switchScreenCount = null == examRecordData.getSwitchScreenCount() ? 0 : examRecordData.getSwitchScreenCount();
|