fix: do not check global name conflict
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 12s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 12s
This commit is contained in:
parent
35ec6cc061
commit
40e5f495e5
1 changed files with 1 additions and 0 deletions
|
|
@ -500,6 +500,7 @@ export class ProductController extends Controller {
|
||||||
prisma.product.findMany({
|
prisma.product.findMany({
|
||||||
where: {
|
where: {
|
||||||
productGroup: {
|
productGroup: {
|
||||||
|
id: productGroupId,
|
||||||
registeredBranch: {
|
registeredBranch: {
|
||||||
OR: permissionCondCompany(req.user),
|
OR: permissionCondCompany(req.user),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue