修改仿真数据校验bug
This commit is contained in:
parent
757bd9d497
commit
4bf6f3fd5e
@ -1217,6 +1217,7 @@ public class InterlockBuilder2 {
|
||||
if (!CollectionUtils.isEmpty(logicCodeList)) {
|
||||
for (String code : logicCodeList) {
|
||||
Section logic = ((Section) elementMap.get(code));
|
||||
if (logic == null)
|
||||
errMsgList.add(String.format("编码为[%s]的区段不存在", code));
|
||||
logicList.add(logic);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user