瀏覽代碼

在线考试2022/05/20临时上线需求更改,缺考修改

wangliang 3 年之前
父節點
當前提交
f21575c646

+ 5 - 7
themis-exam/src/main/java/com/qmth/themis/exam/listener/service/impl/MqOeLogicServiceImpl.java

@@ -53,9 +53,6 @@ public class MqOeLogicServiceImpl implements MqOeLogicService {
     @Resource
     TIeExamInvigilateNoticeService tIeExamInvigilateNoticeService;
 
-    @Resource
-    TOeExamRecordService tOeExamRecordService;
-
     /**
      * 强制离线交卷持久化逻辑
      *
@@ -66,7 +63,7 @@ public class MqOeLogicServiceImpl implements MqOeLogicService {
      * @return
      */
     @Transactional
-    protected Map<String, Object> oeMonitorFinishLogicPersisted(Object s,
+    public Map<String, Object> oeMonitorFinishLogicPersisted(Object s,
                                                                 ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
                                                                 MqDto mqDto,
                                                                 String key) {
@@ -108,7 +105,7 @@ public class MqOeLogicServiceImpl implements MqOeLogicService {
      * @return
      */
     @Transactional
-    protected Map<String, Object> oeWarningFinishLogicPersisted(Object s,
+    public Map<String, Object> oeWarningFinishLogicPersisted(Object s,
                                                                 ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
                                                                 MqDto mqDto,
                                                                 String key) {
@@ -147,7 +144,7 @@ public class MqOeLogicServiceImpl implements MqOeLogicService {
      * @return
      */
     @Transactional
-    protected Map<String, Object> oeImClusteringLogicPersisted(ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
+    public Map<String, Object> oeImClusteringLogicPersisted(ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
                                                                MqDto mqDto,
                                                                String key) {
         Map<String, Object> map = null;
@@ -188,7 +185,8 @@ public class MqOeLogicServiceImpl implements MqOeLogicService {
      * @param key
      * @return
      */
-    protected Map<String, Object> oeLivenessVerifyLogicPersisted(ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
+    @Transactional
+    public Map<String, Object> oeLivenessVerifyLogicPersisted(ConcurrentHashMap<String, WebSocketOeServer> webSocketMap,
                                                                  MqDto mqDto,
                                                                  String key) {
         Map<String, Object> map = null;