Files
zt-dsc/zt-module-rule/zt-module-rule-server/src/main/resources/liteflow/default-rules.json
2025-09-22 11:55:27 +08:00

36 lines
1.0 KiB
JSON

{
"flow": {
"nodes": [
{
"id": "numberCompareNode",
"name": "数值比较节点",
"type": "common",
"clazz": "com.zt.plat.module.rule.framework.liteflow.component.common.NumberCompareComponent"
},
{
"id": "stringConditionNode",
"name": "字符串条件节点",
"type": "common",
"clazz": "com.zt.plat.module.rule.framework.liteflow.component.common.StringConditionComponent"
},
{
"id": "mathCalculateNode",
"name": "数学计算节点",
"type": "common",
"clazz": "com.zt.plat.module.rule.framework.liteflow.component.action.MathCalculateComponent"
},
{
"id": "dataSetNode",
"name": "数据设置节点",
"type": "common",
"clazz": "com.zt.plat.module.rule.framework.liteflow.component.action.DataSetComponent"
}
],
"chains": [
{
"name": "示例规则链",
"condition": "THEN(numberCompareNode, mathCalculateNode, dataSetNode)"
}
]
}
}