2026-05-30 15:46:51 +08:00
|
|
|
{
|
|
|
|
|
"schema_version": "2.0",
|
|
|
|
|
"rule_code": "risk.application.marketing_without_campaign",
|
|
|
|
|
"name": "市场推广费无活动申请",
|
|
|
|
|
"description": "市场活动、投放、展会等推广费用,缺少已审批的活动申请或投放方案。",
|
2026-06-01 17:07:14 +08:00
|
|
|
"enabled": false,
|
2026-05-30 15:46:51 +08:00
|
|
|
"requires_attachment": false,
|
|
|
|
|
"risk_dimension": "expense_control_demo",
|
|
|
|
|
"risk_category": "申请前置",
|
|
|
|
|
"ontology_signal": "application_required",
|
|
|
|
|
"evaluator": "template_rule",
|
|
|
|
|
"template_key": "keyword_match_v1",
|
|
|
|
|
"finance_rule_code": "expense.application.policy",
|
|
|
|
|
"finance_rule_sheet": "费用申请前置规则",
|
|
|
|
|
"business_stage": [
|
|
|
|
|
"reimbursement"
|
|
|
|
|
],
|
|
|
|
|
"expense_types": [
|
|
|
|
|
"marketing"
|
|
|
|
|
],
|
|
|
|
|
"budget_required": true,
|
|
|
|
|
"applies_to": {
|
|
|
|
|
"domains": [
|
|
|
|
|
"expense"
|
|
|
|
|
],
|
|
|
|
|
"expense_types": [
|
|
|
|
|
"marketing"
|
|
|
|
|
],
|
|
|
|
|
"business_stages": [
|
|
|
|
|
"reimbursement"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"inputs": {
|
|
|
|
|
"fields": [
|
|
|
|
|
{
|
|
|
|
|
"key": "claim.amount",
|
|
|
|
|
"label": "报销金额",
|
|
|
|
|
"type": "number",
|
|
|
|
|
"source": "claim"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "claim.expense_type",
|
|
|
|
|
"label": "费用类型",
|
|
|
|
|
"type": "enum",
|
|
|
|
|
"source": "claim"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "application.id",
|
|
|
|
|
"label": "申请单",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"source": "application"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "material.plan_uploaded",
|
|
|
|
|
"label": "方案已上传",
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"source": "material"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"params": {
|
|
|
|
|
"template_key": "keyword_match_v1",
|
|
|
|
|
"field_keys": [
|
|
|
|
|
"claim.amount",
|
|
|
|
|
"claim.expense_type",
|
|
|
|
|
"claim.department_name",
|
|
|
|
|
"claim.reason",
|
|
|
|
|
"item.item_reason",
|
|
|
|
|
"application.id",
|
|
|
|
|
"application.status",
|
|
|
|
|
"application.approved_amount",
|
|
|
|
|
"application.expense_type",
|
|
|
|
|
"application.department_name",
|
|
|
|
|
"material.plan_uploaded"
|
|
|
|
|
],
|
|
|
|
|
"search_fields": [
|
|
|
|
|
"claim.reason",
|
|
|
|
|
"item.item_reason",
|
|
|
|
|
"claim.expense_type"
|
|
|
|
|
],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"市场推广",
|
|
|
|
|
"活动申请",
|
|
|
|
|
"投放方案"
|
|
|
|
|
],
|
|
|
|
|
"condition_summary": "市场推广费报销缺少活动申请或方案时触发。",
|
|
|
|
|
"finance_rule_code": "expense.application.policy",
|
|
|
|
|
"finance_rule_sheet": "费用申请前置规则",
|
|
|
|
|
"business_stage": [
|
|
|
|
|
"reimbursement"
|
|
|
|
|
],
|
|
|
|
|
"expense_types": [
|
|
|
|
|
"marketing"
|
|
|
|
|
],
|
|
|
|
|
"budget_required": true
|
|
|
|
|
},
|
|
|
|
|
"outcomes": {
|
|
|
|
|
"pass": {
|
|
|
|
|
"severity": "none",
|
|
|
|
|
"action": "continue"
|
|
|
|
|
},
|
|
|
|
|
"fail": {
|
|
|
|
|
"severity": "medium",
|
|
|
|
|
"action": "manual_review",
|
|
|
|
|
"risk_score": 50
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"metadata": {
|
|
|
|
|
"owner": "风控与审计部",
|
|
|
|
|
"stability": "platform",
|
|
|
|
|
"source_ref": "费用管控 Demo 风险规则库",
|
|
|
|
|
"created_at": "2026-05-30T00:00:00Z",
|
|
|
|
|
"created_by": "system",
|
|
|
|
|
"risk_score": 50,
|
|
|
|
|
"risk_level": "medium",
|
|
|
|
|
"rule_title": "市场推广费无活动申请",
|
|
|
|
|
"finance_rule_code": "expense.application.policy",
|
|
|
|
|
"finance_rule_sheet": "费用申请前置规则",
|
|
|
|
|
"business_stage": [
|
|
|
|
|
"reimbursement"
|
|
|
|
|
],
|
|
|
|
|
"expense_types": [
|
|
|
|
|
"marketing"
|
|
|
|
|
],
|
|
|
|
|
"budget_required": true,
|
|
|
|
|
"risk_level_label": "中风险",
|
|
|
|
|
"risk_score_model": "risk_score_v3",
|
|
|
|
|
"risk_score_detail": {
|
|
|
|
|
"score": 50,
|
|
|
|
|
"level": "medium",
|
|
|
|
|
"level_label": "中风险",
|
|
|
|
|
"model": "risk_score_v3",
|
|
|
|
|
"weights": {
|
|
|
|
|
"impact": 0.35,
|
|
|
|
|
"certainty": 0.25,
|
|
|
|
|
"evidence": 0.15,
|
|
|
|
|
"exception": 0.1,
|
|
|
|
|
"action": 0.1,
|
|
|
|
|
"sensitivity": 0.05
|
|
|
|
|
},
|
|
|
|
|
"components": {
|
|
|
|
|
"impact": 48,
|
|
|
|
|
"certainty": 58,
|
|
|
|
|
"evidence": 62,
|
|
|
|
|
"exception": 35,
|
|
|
|
|
"action": 35,
|
|
|
|
|
"sensitivity": 45
|
|
|
|
|
},
|
|
|
|
|
"calibration": {
|
|
|
|
|
"raw_score": 50,
|
|
|
|
|
"rules": []
|
|
|
|
|
},
|
|
|
|
|
"ai_evidence": {},
|
|
|
|
|
"basis": {
|
|
|
|
|
"template_key": "keyword_match_v1",
|
|
|
|
|
"field_count": 11,
|
|
|
|
|
"condition_count": 0,
|
|
|
|
|
"expense_category": null,
|
|
|
|
|
"expense_category_label": "申请前置",
|
|
|
|
|
"requires_attachment": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"severity": "medium",
|
|
|
|
|
"risk_score": 50,
|
|
|
|
|
"risk_level": "medium",
|
|
|
|
|
"risk_level_label": "中风险",
|
|
|
|
|
"risk_score_detail": {
|
|
|
|
|
"score": 50,
|
|
|
|
|
"level": "medium",
|
|
|
|
|
"level_label": "中风险",
|
|
|
|
|
"model": "risk_score_v3",
|
|
|
|
|
"weights": {
|
|
|
|
|
"impact": 0.35,
|
|
|
|
|
"certainty": 0.25,
|
|
|
|
|
"evidence": 0.15,
|
|
|
|
|
"exception": 0.1,
|
|
|
|
|
"action": 0.1,
|
|
|
|
|
"sensitivity": 0.05
|
|
|
|
|
},
|
|
|
|
|
"components": {
|
|
|
|
|
"impact": 48,
|
|
|
|
|
"certainty": 58,
|
|
|
|
|
"evidence": 62,
|
|
|
|
|
"exception": 35,
|
|
|
|
|
"action": 35,
|
|
|
|
|
"sensitivity": 45
|
|
|
|
|
},
|
|
|
|
|
"calibration": {
|
|
|
|
|
"raw_score": 50,
|
|
|
|
|
"rules": []
|
|
|
|
|
},
|
|
|
|
|
"ai_evidence": {},
|
|
|
|
|
"basis": {
|
|
|
|
|
"template_key": "keyword_match_v1",
|
|
|
|
|
"field_count": 11,
|
|
|
|
|
"condition_count": 0,
|
|
|
|
|
"expense_category": null,
|
|
|
|
|
"expense_category_label": "申请前置",
|
|
|
|
|
"requires_attachment": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|