refactor(ERP): 修改产品分配接口参数类型

- 将 ArgsProductChangeStaff 结构体中的 ProductId 字段改为 ProductIds
- 从单个产品 ID 变更为多个产品 ID 的切片,支持批量操作
This commit is contained in:
守护自己的云 2025-06-20 10:19:24 +08:00
parent 05dfd27fb4
commit ec0b5a5ac8

View File

@ -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
}