调整节点规范

master
面包骑士 2024-09-10 20:53:49 +08:00
parent bafbaee6c8
commit 07e20d28c9
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,8 @@ public class NodeType {
/** 节点存储格式编码集 */
private String nodeTypeData;
private String nodeType;
private String nextNodeTypeCode;
// 节点类型数量限制

View File

@ -134,7 +134,8 @@ public class NodeUtils {
if (StringUtils.equals(node.getNodeType(), "exportation")){
Node nextNode = getPreNode(node, nodeListAll);
if (!StringUtils.equals(nextNode.getNodeType(), "table") &&
!StringUtils.equals(nextNode.getNodeType(), "unite")) {
!StringUtils.equals(nextNode.getNodeType(), "unite") &&
!StringUtils.equals(nextNode.getNodeType(), "rule")) {
throw new TaskException("数据输出节点必须紧跟在数据输入/操作节点之后");
}
}