taking the activity xid in get all submited ques ans

This commit is contained in:
2025-12-03 13:43:30 +05:30
parent 930ae708a1
commit 42e2d7a579
2 changed files with 12 additions and 6 deletions

View File

@@ -1386,9 +1386,9 @@ export class HostService {
})
}
async getAllPQQQuesAndSubmittedAns() {
async getAllPQQQuesAndSubmittedAns(activity_xid: number) {
return await this.prisma.activityPQQheader.findMany({
where: { isActive: true },
where: { isActive: true, activityXid: activity_xid },
include: {
pqqQuestions: {
select: {