调整节点规范
parent
bafbaee6c8
commit
07e20d28c9
|
@ -32,6 +32,8 @@ public class NodeType {
|
|||
/** 节点存储格式编码集 */
|
||||
private String nodeTypeData;
|
||||
|
||||
private String nodeType;
|
||||
|
||||
private String nextNodeTypeCode;
|
||||
|
||||
// 节点类型数量限制
|
||||
|
|
|
@ -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("数据输出节点必须紧跟在数据输入/操作节点之后");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue