Governance UI: block batch BMPA in renewal missing subscription scope
This commit is contained in:
@@ -88,6 +88,11 @@ class PlatformOrderToolsGuard
|
||||
*/
|
||||
public static function batchBmpaReason(array $filters): string
|
||||
{
|
||||
// 治理集合优先:续费单未绑定订阅属于高风险治理集合,不允许执行 BMPA(会产生大量失败标记,掩盖问题)。
|
||||
if ((string) ($filters['renewal_missing_subscription'] ?? '') === '1') {
|
||||
return '当前集合为「续费单未绑定订阅」治理集合:请先完成订阅绑定/修复关联后再执行 BMPA。';
|
||||
}
|
||||
|
||||
if ((string) ($filters['status'] ?? '') !== 'pending' || (string) ($filters['payment_status'] ?? '') !== 'unpaid') {
|
||||
return '请先筛选「订单状态=待处理」且「支付状态=未支付」再执行批量 BMPA。';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user