Bladeren bron

不进行考试唯一性检查。

tom 1 week geleden
bovenliggende
commit
7d48cd995b

+ 7 - 4
ruoyi-sim/src/main/java/com/ruoyi/sim/service/impl/RealExamCollectionService.java

@@ -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.