refactor(statement): 修改 statement 模块逻辑

- 对 statement.go 中的相关逻辑进行调整
This commit is contained in:
2026-10-15 15:07:18 +08:00
parent 900f49b4f5
commit f357760feb

View File

@@ -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 列表