From f357760feb411ffa52e40ff6dd2506ba535437af Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 15 Oct 2026 15:07:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(statement):=20=E4=BF=AE=E6=94=B9=20sta?= =?UTF-8?q?tement=20=E6=A8=A1=E5=9D=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 对 statement.go 中的相关逻辑进行调整 --- erp/transfer/statement.go | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/erp/transfer/statement.go b/erp/transfer/statement.go index 37875ab..247b7f3 100644 --- a/erp/transfer/statement.go +++ b/erp/transfer/statement.go @@ -33,31 +33,31 @@ type ReplyStatementList struct { Total int64 `json:"total"` } type StatementItem struct { - Id int64 `json:"Id"` - Type string `json:"Type"` - Name string `json:"Name"` - TransferSerial string `json:"TransferSerial"` - VoucherNo string `json:"VoucherNo"` - TransactionDirection int64 `json:"TransactionDirection"` - Bank string `json:"Bank"` - BankAccount string `json:"BankAccount"` - BankAccountName string `json:"BankAccountName"` - OppBank string `json:"OppBank"` - OppBankAccount string `json:"OppBankAccount"` - OppBankAccountName string `json:"OppBankAccountName"` - Amount decimal.Decimal `json:"Amount"` - Currency string `json:"Currency"` - CurrencyName string `json:"CurrencyName"` - CurrencySymbol string `json:"CurrencySymbol"` - SrcCurrency string `json:"SrcCurrency"` - AccountType int64 `json:"AccountType"` - Purpose string `json:"Purpose"` - TransactionAt time.Time `json:"TransactionAt"` - RecAt time.Time `json:"RecAt"` - Remark string `json:"Remark"` - FeeInfo string `json:"FeeInfo"` - CreatedAt *time.Time `json:"CreatedAt"` - UpdatedAt *time.Time `json:"UpdatedAt"` + Id int64 `json:"id"` + Type string `json:"type"` + Name string `json:"name"` + TransferSerial string `json:"transferSerial"` + VoucherNo string `json:"voucherNo"` + TransactionDirection int64 `json:"transactionDirection"` + Bank string `json:"bank"` + BankAccount string `json:"bankAccount"` + BankAccountName string `json:"bankAccountName"` + OppBank string `json:"oppBank"` + OppBankAccount string `json:"oppBankAccount"` + OppBankAccountName string `json:"oppBankAccountName"` + Amount decimal.Decimal `json:"amount"` + Currency string `json:"currency"` + CurrencyName string `json:"currencyName"` + CurrencySymbol string `json:"currencySymbol"` + SrcCurrency string `json:"srcCurrency"` + AccountType int64 `json:"accountType"` + Purpose string `json:"purpose"` + TransactionAt time.Time `json:"transactionAt"` + RecAt time.Time `json:"recAt"` + Remark string `json:"remark"` + FeeInfo string `json:"feeInfo"` + CreatedAt *time.Time `json:"createdAt"` + UpdatedAt *time.Time `json:"updatedAt"` } // List @TITLE 列表