feat(finance): 仪表盘平台利润显示订单数量,七天表格新增退全款/取消提号列

This commit is contained in:
yml2213
2026-08-15 13:04:45 +08:00
parent d75ebe4192
commit ac47006711
6 changed files with 218 additions and 23 deletions
@@ -37,6 +37,19 @@ func refundBizTypes() []string {
}
}
// normalRefundBizTypes 正常(租赁)订单退款类型,不含撞车商城退款。
func normalRefundBizTypes() []string {
return []string{
"cancel_refund",
"admin_close_refund",
"admin_refund",
"checkout_refund",
"deposit_refund",
"rent_refund",
"arbitration_refund",
}
}
// settledSettlementStatuses 是视为"已完成结算"的结算状态集合。
// 预计收入只统计尚未结算的订单,这些状态需从预计口径中排除。
func settledSettlementStatuses() []string {