feat:add report
This commit is contained in:
@@ -129,7 +129,8 @@ class ReportRepository():
|
||||
return report
|
||||
|
||||
async def list_donut(self,_inp:DonutList):
|
||||
_filter = {'design.nature_id':int(_inp.donut_select)}
|
||||
if _inp.type == 1:
|
||||
_filter = {'design.nature_id':int(_inp.donut_select)}
|
||||
if _inp.type == 2:
|
||||
if _inp.donut_select == "less_than_1000":
|
||||
_filter = {'design.building_infrastructure': {'$lt': 1000}}
|
||||
|
||||
Reference in New Issue
Block a user