protcol data commands

This commit is contained in:
Julian Krauser 2024-10-13 15:48:01 +02:00
parent 475a13ce36
commit b9b258a1f6
16 changed files with 335 additions and 10 deletions

View file

@ -11,7 +11,7 @@ export default abstract class ProtocolDecisionService {
return await dataSource
.getRepository(protocolDecision)
.createQueryBuilder("protocolDecisions")
.where("protocolAgenda.protocolId = :protocolId", { protocolId })
.where("protocolDecisions.protocolId = :protocolId", { protocolId })
.getMany()
.then((res) => {
return res;

View file

@ -11,7 +11,7 @@ export default abstract class ProtocolPresenceService {
return await dataSource
.getRepository(protocolPresence)
.createQueryBuilder("protocolPresence")
.where("protocolAgenda.protocolId = :protocolId", { protocolId })
.where("protocolPresence.protocolId = :protocolId", { protocolId })
.getMany()
.then((res) => {
return res;

View file

@ -11,7 +11,7 @@ export default abstract class ProtocolVotingService {
return await dataSource
.getRepository(protocolVoting)
.createQueryBuilder("protocolVotings")
.where("protocolAgenda.protocolId = :protocolId", { protocolId })
.where("protocolVotings.protocolId = :protocolId", { protocolId })
.getMany()
.then((res) => {
return res;