feat:add report

This commit is contained in:
shahzeydyfah
2024-10-11 12:28:03 +03:30
parent acde281f59
commit e4f61d04ca
+1
View File
@@ -129,6 +129,7 @@ class ReportRepository():
return report return report
async def list_donut(self,_inp:DonutList): async def list_donut(self,_inp:DonutList):
if _inp.type == 1:
_filter = {'design.nature_id':int(_inp.donut_select)} _filter = {'design.nature_id':int(_inp.donut_select)}
if _inp.type == 2: if _inp.type == 2:
if _inp.donut_select == "less_than_1000": if _inp.donut_select == "less_than_1000":