fix: 修正数据来源审计类型长度 (#1121)
Co-authored-by: 92451 <924518135@qq.com> Co-committed-by: 92451 <924518135@qq.com>
This commit is contained in:
parent
b38d3e5b30
commit
2ef723e38d
@ -308,7 +308,7 @@ class FinanceLedgerFlowSummaryEditor
|
||||
]);
|
||||
}
|
||||
$this->audit(
|
||||
'flow_summary_source_set',
|
||||
'flow_source_set',
|
||||
$accountShort,
|
||||
[
|
||||
'before' => $before,
|
||||
|
||||
@ -172,6 +172,11 @@ class FinanceLedgerFlowSummarySpreadsheetTest extends FeatureTestCase
|
||||
'account_short' => $this->accountShort,
|
||||
'data_source' => '银行流水',
|
||||
], 'business_mirror');
|
||||
$this->assertDatabaseHas('fin_ledger_edit_events', [
|
||||
'entity_type' => 'flow_source_set',
|
||||
'entity_key' => 'flow_summary|' . $this->accountShort,
|
||||
'user_name' => 'Test User',
|
||||
], 'business_mirror');
|
||||
|
||||
$accountId = (int) DB::connection('business_mirror')->table('fin_accounts')
|
||||
->where('account_short', $this->accountShort)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user