We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 344f846 commit be4838cCopy full SHA for be4838c
1 file changed
src/server/trpc/router/streck.ts
@@ -129,10 +129,10 @@ const getBalances = async (
129
FROM Corps
130
LEFT JOIN StreckTransaction ON Corps.id = corpsId
131
LEFT JOIN StreckList ON streckListId = StreckList.id
132
- WHERE Corps.id IN (${Prisma.join(additionalCorps)})
133
- AND Corps.id NOT IN (${Prisma.join(excludeCorps)})
134
AND StreckList.time <= ${time}
135
AND deleted = false
+ WHERE Corps.id IN (${Prisma.join(additionalCorps)})
+ AND Corps.id NOT IN (${Prisma.join(excludeCorps)})
136
GROUP BY Corps.id
137
ORDER BY
138
lastName,
0 commit comments