From ec0b5a5ac837111d6da5ea778b6f84386c3b093d Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 20 Jun 2025 10:19:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ERP):=20=E4=BF=AE=E6=94=B9=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=88=86=E9=85=8D=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 ArgsProductChangeStaff 结构体中的 ProductId 字段改为 ProductIds - 从单个产品 ID 变更为多个产品 ID 的切片,支持批量操作 --- erp/product.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp/product.go b/erp/product.go index 60f7fe8..eee60dd 100644 --- a/erp/product.go +++ b/erp/product.go @@ -282,7 +282,7 @@ func (p *product) Clone(ctx context.Context, args ArgsProductClone) (newProductI } type ArgsProductChangeStaff struct { - ProductId int64 + ProductIds []int64 StaffId int64 DepartmentId int64 }