Refine travel reimbursement steward flow

Align planner, runtime rules, and policy assets so travel guidance
matches the updated reimbursement workflow.
This commit is contained in:
caoxiaozhu
2026-06-15 22:55:18 +08:00
parent 792741709a
commit 9f7b8b46a3
85 changed files with 9496 additions and 2555 deletions

View File

@@ -1,17 +1,19 @@
{
"schema_version": "2.0",
"rule_code": "risk.application.meal_high_value_without_preapproval",
"name": "??????????",
"description": "????????? 500 ?????????????",
"name": "业务招待高金额无前置申请",
"description": "业务招待费超过 500 元且缺少关联费用申请或审批记录。",
"enabled": true,
"requires_attachment": false,
"risk_dimension": "expense_control_demo",
"risk_category": "????",
"risk_category": "申请前置",
"ontology_signal": "application_required",
"evaluator": "template_rule",
"template_key": "composite_rule_v1",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
@@ -36,67 +38,67 @@
"fields": [
{
"key": "claim.amount",
"label": "????",
"label": "报销金额",
"type": "number",
"source": "claim"
},
{
"key": "claim.expense_type",
"label": "????",
"label": "费用类型",
"type": "enum",
"source": "claim"
},
{
"key": "claim.department_name",
"label": "??",
"label": "部门",
"type": "text",
"source": "claim"
},
{
"key": "claim.reason",
"label": "??",
"label": "事由",
"type": "text",
"source": "claim"
},
{
"key": "item.item_reason",
"label": "????",
"label": "明细事由",
"type": "text",
"source": "item"
},
{
"key": "application.id",
"label": "???ID",
"label": "申请单ID",
"type": "text",
"source": "application"
},
{
"key": "application.claim_no",
"label": "????",
"label": "申请单号",
"type": "text",
"source": "application"
},
{
"key": "application.status",
"label": "????",
"label": "申请状态",
"type": "enum",
"source": "application"
},
{
"key": "application.approved_amount",
"label": "??????",
"label": "申请审批金额",
"type": "number",
"source": "application"
},
{
"key": "application.expense_type",
"label": "??????",
"label": "申请费用类型",
"type": "enum",
"source": "application"
},
{
"key": "application.department_name",
"label": "????",
"label": "申请部门",
"type": "text",
"source": "application"
}
@@ -146,10 +148,12 @@
]
},
"formula": "amount > threshold AND NOT hasApplication",
"condition_summary": "??????????? 500 ????????????????",
"message_template": "??????? 500 ?????????????????????????",
"condition_summary": "业务招待费超过 500 元且未关联已审批费用申请时触发。",
"message_template": "业务招待费超过 500 元但未找到关联费用申请,请补充前置申请或审批说明。",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
@@ -163,14 +167,14 @@
"facts": [
{
"id": "A",
"label": "????",
"label": "报销金额",
"fields": [
"claim.amount"
]
},
{
"id": "B",
"label": "???",
"label": "关联申请",
"fields": [
"application.id",
"application.claim_no"
@@ -178,7 +182,15 @@
}
],
"hit_logic": "A > threshold AND NOT EXISTS(B)"
}
},
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
},
"outcomes": {
"pass": {
@@ -192,16 +204,18 @@
}
},
"metadata": {
"owner": "??????",
"owner": "财务制度管理组",
"stability": "platform",
"source_ref": "??????????",
"source_ref": "公司费用申请审批规则",
"created_at": "2026-06-05T00:00:00+08:00",
"created_by": "system",
"risk_score": 88,
"risk_level": "high",
"rule_title": "??????????",
"rule_title": "业务招待高金额无前置申请",
"finance_rule_code": "expense.preapproval.policy",
"finance_rule_sheet": "????????",
"finance_rule_sheet": "费用申请审批规则",
"basic_rule_code": "expense.preapproval.policy",
"basic_rule_sheet": "费用申请审批规则",
"business_stage": [
"reimbursement"
],
@@ -209,9 +223,25 @@
"meal",
"entertainment"
],
"budget_required": true
"budget_required": true,
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
},
"severity": "high",
"risk_score": 88,
"risk_level": "high"
"risk_level": "high",
"basic_rule_refs": [
{
"code": "expense.preapproval.policy",
"sheet": "费用申请审批规则",
"name": "公司费用申请审批规则",
"component": "preapproval"
}
]
}