地图数据——道岔添加型号字段

This commit is contained in:
walker-sheng 2021-06-22 17:46:07 +08:00
parent 7de1fd64ad
commit 65b7c6f9b1
2 changed files with 5 additions and 1 deletions

View File

@ -1217,7 +1217,7 @@ public class InterlockBuilder2 {
if (!CollectionUtils.isEmpty(logicCodeList)) {
for (String code : logicCodeList) {
Section logic = ((Section) elementMap.get(code));
Objects.requireNonNull(logic, String.format("编码为[%s]的区段不存在", code));
errMsgList.add(String.format("编码为[%s]的区段不存在", code));
logicList.add(logic);
}
}

View File

@ -26,6 +26,10 @@ public class MapSwitchVO {
*/
@NotBlank(message="道岔名称不能为空")
private String name;
/**
* 转辙机型号
*/
private String model;
/**
* 所属车站 编号