Skip to content

Commit b632e7e

Browse files
authored
Merge pull request #107 from FromDoppler/doi-2639-add-same-conditions
[DOI-2639] Add conditions
2 parents 16a7c38 + 2a00c80 commit b632e7e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doppler.ReportingApi/Infrastructure/CampaignRepository.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ JOIN [dbo].[User] U WITH (NOLOCK)
103103
AND C.[Status] IN (5,9,10)
104104
AND C.[UTCScheduleDate] BETWEEN @startDate AND @endDate
105105
AND S.[IdSubscribersStatus] = 5
106+
AND C.[IdTestCampaign] IS NULL
107+
AND C.[IdScheduledTask] IS NULL
108+
AND C.Active = 1
106109
GROUP BY
107110
S.[IdUser]
108111
,S.[IdCampaign]

0 commit comments

Comments
 (0)