From 9f74a84866f9cf26d7960289906a715abe66f5b0 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 5 Jan 2026 16:34:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E6=94=B6?= =?UTF-8?q?=E6=AC=BE=E5=8D=95=E8=AE=A4=E9=A2=86=E7=8A=B6=E6=80=81=E5=92=8C?= =?UTF-8?q?=E8=AE=A4=E9=A2=86=E9=87=91=E9=A2=9D=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 ReceiptQuery 结构体中添加 ClaimStatus 字段用于标识认领状态 - 在 ReceiptItem 结构体中添加 ClaimAmount 字段用于记录认领金额 - 在 Receipt 结构体中添加 ClaimAmount 字段用于记录认领金额 --- erp/receipt.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erp/receipt.go b/erp/receipt.go index 09fffd3..2be91e6 100644 --- a/erp/receipt.go +++ b/erp/receipt.go @@ -27,6 +27,7 @@ type ReceiptSearch struct { ReceiptDateStart *time.Time // 创建开始时间 ReceiptDateEnd *time.Time // 创建结束时间 BanFlag int64 // 禁用标记 1=禁用 2=启用 + ClaimStatus int64 // 认领状态 1=待认领 2=部分认领 3=已认领 } type ReplyReceiptList struct { List []ReceiptItem `json:"list"` @@ -47,6 +48,7 @@ type ReceiptItem struct { BankName string `json:"bankName"` EntryAmount decimal.Decimal `json:"entryAmount"` ReceivableFxAmount decimal.Decimal `json:"receivableFxAmount"` + ClaimAmount decimal.Decimal `json:"claimAmount"` CreatedStaffId int64 `json:"createdStaffId"` BanFlag int64 `json:"banFlag"` Ik3cloudStatus int64 `json:"ik3CloudStatus"` @@ -112,6 +114,7 @@ type ReplyReceiptInfo struct { DomesticFee decimal.Decimal `json:"domesticFee"` DomesticFeeType int64 `json:"domesticFeeType"` ReceivableFxAmount decimal.Decimal `json:"receivableFxAmount"` + ClaimAmount decimal.Decimal `json:"claimAmount"` CreatedStaffId int64 `json:"createdStaffId"` BanFlag int64 `json:"banFlag"` Ik3cloudStatus int64 `json:"ik3CloudStatus"`