refactor(ERP): 修改产品分配接口参数类型
- 将 ArgsProductChangeStaff 结构体中的 ProductId 字段改为 ProductIds - 从单个产品 ID 变更为多个产品 ID 的切片,支持批量操作
This commit is contained in:
parent
05dfd27fb4
commit
ec0b5a5ac8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user