feat(erp): 添加金蝶推送状态字段

- 在constant.go中添加Ik3cloudStatus类型和相关常量定义
- 为ExpenseItem和ReplyExpenseInfo结构体添加Ik3cloudStatus、Ik3cloudErrMsg和Ik3cloudUpdatedAt字段
- 为PayableItem和ReplyPayableInfo结构体添加Ik3cloudStatus、Ik3cloudErrMsg和Ik3cloudUpdatedAt字段
- 为receipt.go中的结构体添加Ik3cloudStatus、Ik3cloudErrMsg和Ik3cloudUpdatedAt字段
- 为receivable.go中的结构体添加Ik3cloudStatus、Ik3cloudErrMsg和Ik3cloudUpdatedAt字段
- 为request.go中的结构体添加Ik3cloudStatus、Ik3cloudErrMsg和Ik3cloudUpdatedAt字段
- 修正receivable.go中Ik3cloudStatus字段的数据类型从Flag改为int64
This commit is contained in:
2025-12-23 14:29:40 +08:00
parent ed845dfa62
commit 9ef5fe9c57
6 changed files with 96 additions and 60 deletions

View File

@@ -44,6 +44,9 @@ type ReceiptItem struct {
EntryAmount decimal.Decimal `json:"entryAmount"`
ReceivableFxAmount decimal.Decimal `json:"receivableFxAmount"`
CreatedStaffId int64 `json:"createdStaffId"`
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
}
@@ -103,6 +106,9 @@ type ReplyReceiptInfo struct {
DomesticFeeType int64 `json:"domesticFeeType"`
ReceivableFxAmount decimal.Decimal `json:"receivableFxAmount"`
CreatedStaffId int64 `json:"createdStaffId"`
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
}