@@ -22,6 +22,7 @@ public class FaultConst {
// 1型不存在
// 2型
FAULT_SET_CHECK_PASS.add("0002GZBW0001");
+ FAULT_SET_CHECK_PASS.add("0002GZBW0003");
FAULT_SET_CHECK_PASS.add("0002GZBW0005");
FAULT_SET_CHECK_PASS.add("0002GZBW0009");
// 3型
@@ -93,7 +93,7 @@ public class SimController extends BaseController {
return simService.listAllEnableAj();
}
- @GetMapping("/listAllEnable")
+ @GetMapping("/listAllOnline")
@ApiOperation("获取所有在线的模拟器列表")
public AjaxResult listAllOnline() {
return simService.listAllOnlineAj();
@@ -285,11 +285,14 @@ public class RealExamCollectionService extends Ele6RYBaseService {
* @return
*/
@Transactional
- public AjaxResult open(final Long examCollectionId) {
+ public AjaxResult open(final Long examCollectionId, final String examCollectionType) {
// check
- if (existOpened()) {
- return AjaxResult.error("已经有打开的考试或者练习!");
- }
+
+// if (existOpened()) {
+// return AjaxResult.error("已经有打开的考试或者练习!");
+// }
// check datetime todo:时间到了
// do.
@@ -298,7 +298,7 @@ public class RealExamFaultService {
// default minus 0
int minus = 0;
String answerRight = RealExamFault.AnswerRight.UNKNOWN;
- l.info("f = {}", ref);
+ l.info("ref = {}", ref);
String refType = ref.getRefType();
final String qV = ref.getSimFaultQuestionValue();
final String aV = ref.getSimFaultAnswerValue();