feat(erp): 添加发票序列号字段- 在会计服务结构体中新增 InvoiceSerial 字段

- 扩展查询条件以支持按发票序列号搜索- 更新 JSON 标签以确保正确的数据序列化
This commit is contained in:
守护自己的云 2025-10-30 14:57:08 +08:00
parent 027c098279
commit ba571fa0f1

View File

@ -39,6 +39,7 @@ type AccountingItem struct {
Id int64 `json:"id"`
AccountingSerial string `json:"accountingSerial"`
InvoiceDate *time.Time `json:"invoiceDate"`
InvoiceSerial string `json:"invoiceSerial"`
CreatedAt *time.Time `json:"createdAt"`
CustomShortName string `json:"customShortName"`
CustomName string `json:"customName"`
@ -116,6 +117,7 @@ type ReplyAccountingInfo struct {
CustomName string `json:"customName"`
InvoiceDate *time.Time `json:"invoiceDate"`
InvoiceDateEnd *time.Time `json:"invoiceDateEnd"`
InvoiceSerial string `json:"invoiceSerial"`
AccountingSerial string `json:"accountingSerial"`
Remark string `json:"remark"`
WorkflowId int64 `json:"workflowId"`