Fix query
This commit is contained in:
@@ -36,7 +36,7 @@ public interface DashboardScenarioExecutionRepository extends MongoRepository<Sc
|
||||
List<User> findUsersByLstProjectsIn(List<ObjectId> projectIds);
|
||||
|
||||
@Aggregation(pipeline = {
|
||||
"{ '$match': { 'startDate': { '$gte': ?0, '$lte': ?1 }, 'scenario.account': ?2, 'execSharedMap.user_input.selected_project': { '$in': ?3 } } }",
|
||||
"{ '$match': { 'startDate': { '$gte': ?0, '$lte': ?1 }, 'scenario.account': ?2 } }",
|
||||
"{ '$group': { '_id': '$scenario._id' } }",
|
||||
"{ '$project': { '_id': 0, 'scenarioId': '$_id' } }"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user