chore(governance): block batch mark activated when refund_status=has

This commit is contained in:
萝卜
2026-03-16 23:35:39 +08:00
parent 485a8a639d
commit 18ea639583
3 changed files with 9 additions and 1 deletions

View File

@@ -142,6 +142,9 @@ class PlatformOrderToolsGuard
if ((string) ($filters['refund_status'] ?? '') === 'has') {
return '当前集合为「有退款」:为避免带退款订单直接批量生效,请先完成退款治理(核对退款回执/修正状态)后再执行。';
}
if ((string) ($filters['refund_status'] ?? '') === 'has') {
return '当前集合为「有退款」:为避免带退款订单被批量推进,请先完成退款治理(核对退款回执/修正状态)后再批量生效。';
}
if (((string) ($filters['reconcile_mismatch'] ?? '') === '1') || ((string) ($filters['refund_inconsistent'] ?? '') === '1')) {
return '当前集合包含「对账不一致/退款不一致」治理集合:建议先完成金额/状态治理(补回执/核对退款/修正状态)后再批量生效。';
}