diff --git a/src/main/resources/测试参数.txt b/src/main/resources/测试参数.txt index 02d6db7..158577c 100644 --- a/src/main/resources/测试参数.txt +++ b/src/main/resources/测试参数.txt @@ -1,7 +1,79 @@ +/baseTemplate/createTemplate +{ + "templateName": "costCenter" +} + +/baseTemplate/createTemplate +{ + "templateName": "profitCenter" +} + +/baseData/batchCreateBaseData +[ + { + "type": "businessType", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[货代, 船代, 散杂货]", + "contentType": "List", + "contentName": "businessTypeList", +}, +{ + "type": "salesman", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[仓干配物流部(物流)]", + "contentType": "List", + "contentName": "salesmanList", +}, +{ + "type": "businessCategory", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[运输业务, 全货船业务, 进出岛仓干配]", + "contentType": "List", + "contentName": "businessCategoryList", +}, +{ + "type": "sectionClassification", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[银行科目, 预付科目, 预收科目]", + "contentType": "List", + "contentName": "sectionClassificationList", +}, +{ + "type": "businessType", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[货代, 报关, 船代, 散杂货]", + "contentType": "List", + "contentName": "businessTypeList", +}, +{ + "type": "salesman", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[仓干配物流部(物流)]", + "contentType": "List", + "contentName": "salesmanList", +}, +{ + "type": "businessCategory", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[全货船业务, 进出岛仓干配]", + "contentType": "List", + "contentName": "businessCategoryList", +}, +{ + "type": "sectionClassification", + "templateId": "ed883559d97eb0b8bf20e4627c6f12e0", + "content": "[汇差, 手续费, 成本科目]", + "contentType": "List", + "contentName": "sectionClassificationList", +} +] + /baseNode/createNode { - "nodeId": "a7", - "templateId": "1f0e7e01404eb4186b08d4d430fb4121", + "nodeId": "a72", + "templateId": "68085f45f8ec56b4405d128ab13e2aef", + // "mainChainCode": "mainChain01", + "mainChainCode": "mainChain02", "nodeName": "costCenter01Sout", "nodeType": "CommonNode", "content": { @@ -12,23 +84,13 @@ /baseNode/createNode { - "nodeId": "a8", - "templateId": "1f0e7e01404eb4186b08d4d430fb4121", - "nodeName": "costCenter02Sout", - "nodeType": "CommonNode", - "content": { - "code": "P350401026", - "name": "商品车物流部利润中心" - } -} - -/baseNode/createNode -{ - "nodeId": "a3", - "templateId": "1f0e7e01404eb4186b08d4d430fb4121", + "nodeId": "a32", + "templateId": "68085f45f8ec56b4405d128ab13e2aef", + // "mainChainCode": "mainChain01", + "mainChainCode": "mainChain02", "nodeName": "costCenter01Cmp", "nodeType": "IfNode", - "nodeContentId": "2480deadc736b40435a2b6930851aaa5", + "nodeContentId": "3b824a131f91fb9a4972bdafc13c0247", "rules": [ { "logicOperators": "$or", @@ -63,179 +125,6 @@ ] } -/baseNode/createNode -{ - "nodeId": "a4", - "templateId": "1f0e7e01404eb4186b08d4d430fb4121", - "nodeName": "costCenter02Cmp", - "nodeType": "IfNode", - "nodeContentId": "0264efebbfb4c7cb5e4cb81092e1bce4", - "rules": [ - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$and", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "sectionClassification", - "matchingContent": "sectionClassificationList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "salesman", - "matchingContent": "salesmanList" - } - ] - } - ] - } - ] - }, - { - "logicOperators": "$or", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "businessType", - "matchingContent": "businessTypeList" - } - ] - } - ] -} +/baseChain/generateDynamicChain -/baseNode/createNode -{ - "nodeId": "a5", - "templateId": "d98ad12ba55c00a047f09bc2a2808004", - "nodeName": "profitCenter01Sout", - "nodeType": "CommonNode", - "content": { - "code": "P350401029", - "name": "仓干配物流部成本中心" - } -} - -/baseNode/createNode -{ - "nodeId": "a6", - "templateId": "d98ad12ba55c00a047f09bc2a2808004", - "nodeName": "profitCenter02Sout", - "nodeType": "CommonNode", - "content": { - "code": "P350401027", - "name": "商品车物流部成本中心" - } -} - -/baseNode/createNode -{ - "nodeId": "a1", - "templateId": "d98ad12ba55c00a047f09bc2a2808004", - "nodeName": "profitCenter01Cmp", - "nodeType": "IfNode", - "nodeContentId": "1a1df8cbdc9983fa03b3060049293b87", - "rules": [ - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$and", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "businessType", - "matchingContent": "businessTypeList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "salesman", - "matchingContent": "salesmanList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "businessCategory", - "matchingContent": "businessCategoryList" - } - ] - } - ] - }, - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$and", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "sectionClassification", - "matchingContent": "sectionClassificationList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "businessType", - "matchingContent": "businessTypeList" - } - ] - } - ] - } - ] -} - -/baseNode/createNode -{ - "nodeId": "a2", - "templateId": "d98ad12ba55c00a047f09bc2a2808004", - "nodeName": "profitCenter02Cmp", - "nodeType": "IfNode", - "nodeContentId": "f050bd67f23cd0152f17d4f82d29b8a4", - "rules": [ - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$and", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "businessType", - "matchingContent": "businessTypeList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "salesman", - "matchingContent": "salesmanList" - } - ] - } - ] - }, - { - "logicOperators": "$or", - "children": [ - { - "logicOperators": "$and", - "matches": [ - { - "conditionalOperators": "$contains", - "matchingValue": "sectionClassification", - "matchingContent": "sectionClassificationList" - }, - { - "conditionalOperators": "$contains", - "matchingValue": "businessType", - "matchingContent": "businessTypeList" - } - ] - } - ] - } - ] -} +/baseChain/executeChain/mainChain02_mainChain \ No newline at end of file