|
@@ -89,11 +89,13 @@ public class CommReceiveService {
|
|
//
|
|
//
|
|
|
|
|
|
//
|
|
//
|
|
- HashSet<Fault> fSet = new HashSet<>();
|
|
|
|
|
|
+ HashSet<String> fSet = new HashSet<>();
|
|
for (String fId : faultIds) {
|
|
for (String fId : faultIds) {
|
|
- fSet.add(faultService.selectFaultByFaultId(fId));
|
|
|
|
|
|
+ fSet.add(fId);
|
|
}
|
|
}
|
|
|
|
+ l.info("fSet.size() = {}", fSet.size());
|
|
String faultId = f.getFaultId();
|
|
String faultId = f.getFaultId();
|
|
|
|
+ l.info("faultId = {}", faultId);
|
|
DebugFault df = debugFaultService.exist(s.getSimId(), faultId);
|
|
DebugFault df = debugFaultService.exist(s.getSimId(), faultId);
|
|
if (df == null) {
|
|
if (df == null) {
|
|
df = new DebugFault();
|
|
df = new DebugFault();
|
|
@@ -105,7 +107,7 @@ public class CommReceiveService {
|
|
df.setFlag(DebugFault.Flag.NO);
|
|
df.setFlag(DebugFault.Flag.NO);
|
|
}
|
|
}
|
|
df.setSimFaultQuestionValue(faultQuestionValue);
|
|
df.setSimFaultQuestionValue(faultQuestionValue);
|
|
- df.setSimFaultQuestionValue("");
|
|
|
|
|
|
+ df.setSimFaultAnswerValue("");
|
|
debugFaultService.insertDebugFault(df);
|
|
debugFaultService.insertDebugFault(df);
|
|
} else {
|
|
} else {
|
|
if (fSet.contains(faultId)) {
|
|
if (fSet.contains(faultId)) {
|
|
@@ -114,7 +116,7 @@ public class CommReceiveService {
|
|
df.setFlag(DebugFault.Flag.NO);
|
|
df.setFlag(DebugFault.Flag.NO);
|
|
}
|
|
}
|
|
df.setSimFaultQuestionValue(faultQuestionValue);
|
|
df.setSimFaultQuestionValue(faultQuestionValue);
|
|
- df.setSimFaultQuestionValue("");
|
|
|
|
|
|
+ df.setSimFaultAnswerValue("");
|
|
debugFaultService.updateDebugFault(df);
|
|
debugFaultService.updateDebugFault(df);
|
|
}
|
|
}
|
|
}
|
|
}
|