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"` Total int64 `json:"total"`
} }
type StatementItem struct { type StatementItem struct {
Id int64 `json:"Id"` Id int64 `json:"id"`
Type string `json:"Type"` Type string `json:"type"`
Name string `json:"Name"` Name string `json:"name"`
TransferSerial string `json:"TransferSerial"` TransferSerial string `json:"transferSerial"`
VoucherNo string `json:"VoucherNo"` VoucherNo string `json:"voucherNo"`
TransactionDirection int64 `json:"TransactionDirection"` TransactionDirection int64 `json:"transactionDirection"`
Bank string `json:"Bank"` Bank string `json:"bank"`
BankAccount string `json:"BankAccount"` BankAccount string `json:"bankAccount"`
BankAccountName string `json:"BankAccountName"` BankAccountName string `json:"bankAccountName"`
OppBank string `json:"OppBank"` OppBank string `json:"oppBank"`
OppBankAccount string `json:"OppBankAccount"` OppBankAccount string `json:"oppBankAccount"`
OppBankAccountName string `json:"OppBankAccountName"` OppBankAccountName string `json:"oppBankAccountName"`
Amount decimal.Decimal `json:"Amount"` Amount decimal.Decimal `json:"amount"`
Currency string `json:"Currency"` Currency string `json:"currency"`
CurrencyName string `json:"CurrencyName"` CurrencyName string `json:"currencyName"`
CurrencySymbol string `json:"CurrencySymbol"` CurrencySymbol string `json:"currencySymbol"`
SrcCurrency string `json:"SrcCurrency"` SrcCurrency string `json:"srcCurrency"`
AccountType int64 `json:"AccountType"` AccountType int64 `json:"accountType"`
Purpose string `json:"Purpose"` Purpose string `json:"purpose"`
TransactionAt time.Time `json:"TransactionAt"` TransactionAt time.Time `json:"transactionAt"`
RecAt time.Time `json:"RecAt"` RecAt time.Time `json:"recAt"`
Remark string `json:"Remark"` Remark string `json:"remark"`
FeeInfo string `json:"FeeInfo"` FeeInfo string `json:"feeInfo"`
CreatedAt *time.Time `json:"CreatedAt"` CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"UpdatedAt"` UpdatedAt *time.Time `json:"updatedAt"`
} }
// List @TITLE 列表 // List @TITLE 列表