|
@@ -286,7 +286,7 @@ public class RealExamCollectionService extends Ele6RYBaseService {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * [教师]打开考试/训练集合
|
|
|
+ * [教师]打开考试、训练、练习 集合
|
|
|
*
|
|
|
* @param examCollectionId 考试集合Id
|
|
|
* @param examCollectionType 考试集合类型
|
|
@@ -362,7 +362,7 @@ public class RealExamCollectionService extends Ele6RYBaseService {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * [教师]关闭考试/训练集合
|
|
|
+ * [教师]关闭考试、训练、练习 集合
|
|
|
*
|
|
|
* @param examCollectionId 考试集合Id
|
|
|
* @param examCollectionType 考试集合类型
|
|
@@ -433,14 +433,16 @@ public class RealExamCollectionService extends Ele6RYBaseService {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 关闭所有 考试、训练、练习
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
public AjaxResult closeAll() {
|
|
|
- // SocketOldService实现
|
|
|
- // return socketOldService.closeSocket();
|
|
|
-
|
|
|
closeAllByType(RealExamCollection.Type.EXERCISE);
|
|
|
closeAllByType(RealExamCollection.Type.SELF_EXERCISE);
|
|
|
closeAllByType(RealExamCollection.Type.EXAM);
|
|
|
- return AjaxResult.success();
|
|
|
+ return AjaxResult.success("所有考试、训练、练习的集合被关闭");
|
|
|
}
|
|
|
|
|
|
/**
|