Sfoglia il codice sorgente

删除针对 FaultIdConst.T0001.F09 的临时写入。

tom 3 settimane fa
parent
commit
a4de313e38

+ 0 - 8
ruoyi-sim/src/main/java/com/ruoyi/sim/service/impl/CommReceiveService.java

@@ -67,10 +67,6 @@ public class CommReceiveService {
         }
         l.info("faultQuestionValue = {}", faultQuestionValue);
         if (reF != null) {
-            // todo:临时强制写入
-            if (f != null && StringUtils.equals(f.getFaultId(), FaultIdConst.T0001.F09)) {
-                faultQuestionValue = FaultContentConst.T0001.F09_OPENED;
-            }
             // 修改关联状态。
             reF.setSimFaultQuestionValue(faultQuestionValue);
             realExamFaultService.updateRealExamFault(reF);
@@ -130,10 +126,6 @@ public class CommReceiveService {
                 l.info("nothing change.");
                 return;
             }
-            // todo:临时强制写入
-            if (f != null && StringUtils.equals(f.getFaultId(), FaultIdConst.T0001.F09)) {
-                faultAnswerValue = FaultContentConst.T0001.F09_CLOSED;
-            }
             reF.setSimFaultAnswerValue(faultAnswerValue);
             realExamFaultService.updateRealExamFault(reF);
         } else {