统一退款不一致(refund_inconsistent)口径:引入 amounts.tolerance 并对齐模型与筛选

This commit is contained in:
萝卜
2026-03-13 15:51:26 +00:00
parent b0ee9b6290
commit 6f1b894b45
10 changed files with 128 additions and 30 deletions

View File

@@ -58,7 +58,7 @@ class AdminPlatformOrderBatchActivateSubscriptionsRefundInconsistentFilterFields
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
],
]);

View File

@@ -57,7 +57,7 @@ class AdminPlatformOrderBatchMarkActivatedRefundInconsistentFilterFieldsTest ext
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
],
]);

View File

@@ -58,7 +58,7 @@ class AdminPlatformOrderClearSyncErrorsRefundInconsistentFilterFieldsTest extend
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
'subscription_activation_error' => [
'message' => '测试错误A',

View File

@@ -84,7 +84,7 @@ class AdminPlatformOrderExportRefundInconsistentFilterTest extends TestCase
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
],
]);
@@ -110,7 +110,7 @@ class AdminPlatformOrderExportRefundInconsistentFilterTest extends TestCase
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
],
]);

View File

@@ -87,9 +87,9 @@ class AdminPlatformOrderRefundInconsistentFilterTest extends TestCase
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
'last_at' => now()->toDateTimeString(),
'last_amount' => 10.00,
'last_amount' => 10.01,
'last_channel' => 'bank',
],
],
@@ -116,9 +116,9 @@ class AdminPlatformOrderRefundInconsistentFilterTest extends TestCase
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
'last_at' => now()->toDateTimeString(),
'last_amount' => 10.00,
'last_amount' => 10.01,
'last_channel' => 'bank',
],
],

View File

@@ -57,7 +57,7 @@ class AdminPlatformOrderRefundInconsistentRowHintTest extends TestCase
'meta' => [
'refund_summary' => [
'count' => 1,
'total_amount' => 10.00,
'total_amount' => 10.01,
],
],
]);