Support smooth upgrade

This commit is contained in:
Liujian committed 2025-07-30 19:48:13 +08:00
1 parent be7033e9a2
commit e42e5ad752
7 files changed
+258 -50

No files matched your search

@@ -15,8 +15,8 @@ class UserWalletHistoryService:
def add_refund(self, user_id: str, amount: float, payment_method: str, transaction_id: str) -> UserWalletHistory:
return self.user_wallet_history_repository.add_refund(user_id, amount, payment_method, transaction_id)
def success_order_list(self, offset: int, limit: int) -> Tuple[int, List[UserWalletHistory]]:
return self.user_wallet_history_repository.success_order_list(offset, limit)
def success_deposit_order_list(self, offset: int, limit: int) -> Tuple[int, List[UserWalletHistory]]:
return self.user_wallet_history_repository.success_deposit_order_list(offset, limit)
def order_list(self, payment_method: str, status: int, start: Optional[datetime] = None, end: Optional[datetime] = None) -> List[UserWalletHistory]:
return self.user_wallet_history_repository.order_list(payment_method, status, start, end)