feat:add exist project by state
This commit is contained in:
@@ -47,8 +47,6 @@ class ReportRepository():
|
|||||||
|
|
||||||
async def exist_project_state(self):
|
async def exist_project_state(self):
|
||||||
report = await use_collection(TaskEnv.CLN_PROJECT).aggregate([
|
report = await use_collection(TaskEnv.CLN_PROJECT).aggregate([
|
||||||
{
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'$group': {
|
'$group': {
|
||||||
'_id': f"design.state",
|
'_id': f"design.state",
|
||||||
|
|||||||
Reference in New Issue
Block a user