|
@@ -20,13 +20,13 @@ class QuotaInputStore:
|
|
|
return self._current_user
|
|
|
|
|
|
def get_quotas_paginated(
|
|
|
- self,
|
|
|
- project_id: str,
|
|
|
- budget_id: int,
|
|
|
- item_id: int,
|
|
|
- page: int = 1,
|
|
|
- page_size: int = 10,
|
|
|
- keyword: Optional[str] = None,
|
|
|
+ self,
|
|
|
+ project_id: str,
|
|
|
+ budget_id: int,
|
|
|
+ item_id: int,
|
|
|
+ page: int = 1,
|
|
|
+ page_size: int = 10,
|
|
|
+ keyword: Optional[str] = None,
|
|
|
):
|
|
|
"""分页查询定额输入列表
|
|
|
|
|
@@ -148,7 +148,7 @@ class QuotaInputStore:
|
|
|
return QuotaInputDto.from_model(model)
|
|
|
|
|
|
def update_quota(
|
|
|
- self, project_id: str, dto: QuotaInputDto
|
|
|
+ self, project_id: str, dto: QuotaInputDto
|
|
|
) -> Optional[QuotaInputDto]:
|
|
|
"""更新定额输入
|
|
|
|