update models and create consumer domain accounts permissions

This commit is contained in:
2026-04-11 14:47:05 +03:30
parent 89726c8904
commit 9cef733370
87 changed files with 2967 additions and 3352 deletions
@@ -77,14 +77,14 @@ export class ComplexPosesService {
} as PosCreateInput
}
async findAll(user_id: string, business_activity_id: string, complex_id: string) {
async findAll(consumer_id: string, business_activity_id: string, complex_id: string) {
const poses = await this.prisma.pos.findMany({
where: {
complex: {
id: complex_id,
business_activity: {
id: business_activity_id,
user_id,
consumer_id,
},
},
},