From 4ab88b2650340fca40c54faa694cb2b4fa7edd9a Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 30 Jun 2026 15:00:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E5=BA=94?= =?UTF-8?q?=E4=BB=98=E8=B4=A6=E6=AC=BE=E4=B8=9A=E5=8A=A1=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 ReplyPayableInfo 结构体中新增 businessDate 字段 - 该字段用于记录应付账款的业务发生日期 - 字段类型为 time.Time 指针,支持 JSON 序列化 --- erp/payable.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/payable.go b/erp/payable.go index 738997f..79c1e37 100644 --- a/erp/payable.go +++ b/erp/payable.go @@ -72,6 +72,7 @@ func (p *payable) Gen(ctx context.Context, accountingId int64) (err error) { type ReplyPayableInfo struct { Id int64 `json:"id"` PayableSerial string `json:"payableSerial"` + BusinessDate *time.Time `json:"businessDate"` AccountingSerial string `json:"accountingSerial"` InvoiceSerial string `json:"invoiceSerial"` Amount decimal.Decimal `json:"amount"`