feat(erp): 添加应付账款业务日期字段
- 在 ReplyPayableInfo 结构体中新增 businessDate 字段 - 该字段用于记录应付账款的业务发生日期 - 字段类型为 time.Time 指针,支持 JSON 序列化
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user