瀏覽代碼

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

tom 3 周之前
父節點
當前提交
a4de313e38
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      ruoyi-sim/src/main/java/com/ruoyi/sim/service/impl/CommReceiveService.java

+ 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 {