protcol data commands
This commit is contained in:
parent
475a13ce36
commit
b9b258a1f6
16 changed files with 335 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue