feat:add exist project by state
This commit is contained in:
@@ -49,7 +49,7 @@ class ReportRepository():
|
|||||||
report = await use_collection(TaskEnv.CLN_PROJECT).aggregate([
|
report = await use_collection(TaskEnv.CLN_PROJECT).aggregate([
|
||||||
{
|
{
|
||||||
'$group': {
|
'$group': {
|
||||||
'_id': f"design.state",
|
'_id': "$design.state",
|
||||||
'count': {'$sum': 1}
|
'count': {'$sum': 1}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user