From 08e3765bc53566843a0dcd5d741b8368362fb88b Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 6 Feb 2026 13:16:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E7=BB=93?= =?UTF-8?q?=E6=B1=87=E9=93=B6=E8=A1=8C=E4=BF=A1=E6=81=AF=E5=AE=8C=E5=85=A8?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E6=9F=A5=E8=AF=A2=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在Receipt结构体中添加BankNameEq和BankAccountEq字段 - 在Request结构体中添加BankNameEq和BankAccountEq字段 - 支持结汇银行名称和账号的完全匹配查询功能 --- erp/receipt.go | 2 ++ erp/request.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/erp/receipt.go b/erp/receipt.go index 72eafff..ea2e2d8 100644 --- a/erp/receipt.go +++ b/erp/receipt.go @@ -35,6 +35,8 @@ type ReceiptSearch struct { EntryAmountEnd *decimal.Decimal // 入账金额结束 Ik3cloudStatus int64 // 金蝶同步状态 1=待同步 2=同步成功 3=同步失败 IsConfirm int64 // 确认状态 1=已确认 2=待确认 + BankNameEq *string // 结汇银行完全匹配 + BankAccountEq *string // 结汇银行账号完全匹配 } type ReplyReceiptList struct { List []ReceiptItem `json:"list"` diff --git a/erp/request.go b/erp/request.go index 30a9f8c..7fe7d9f 100644 --- a/erp/request.go +++ b/erp/request.go @@ -37,6 +37,8 @@ type RequestSearch struct { CreatedStaffIds []int64 // 创建人 Currency string // 币种 Ik3cloudStatus int64 // ik3cloud状态 + BankNameEq *string // 结汇银行完全匹配 + BankAccountEq *string // 结汇银行账号完全匹配 } type ReplyRequestList struct { List []RequestItem `json:"list"`