feat(erp): 新增货币汇率服务及收汇水单批量生成

- 新增 currencyRate 模块,支持按货币和日期查询汇率信息
- 定义汇率响应结构,包含中间价、现钞卖出价、买入价等字段
- 在 ERP 服务结构体中注册 CurrencyRate 客户端
- 新增收汇水单批量生成接口 Gen,支持按交易明细ID批量生成
- 定义 ArgsReceiptGen 参数结构,包含员工ID和交易明细ID列表
This commit is contained in:
2026-10-19 11:25:54 +08:00
parent 8f2441921f
commit 25069c5280
4 changed files with 51 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ type StatementItem struct {
FeeInfo string `json:"feeInfo"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
ReceiptId int64 `json:"receiptId"` // 生成的收汇水单id 0=未生成
}
// List @TITLE 列表