This commit is contained in:
jxxghp
2023-09-07 14:59:32 +08:00
parent 1c07b306c3
commit 7efcde89b9
8 changed files with 218 additions and 201 deletions

View File

@ -51,13 +51,13 @@ class TransferHistoryOper(DbOper):
"""
return TransferHistory.statistic(self._db, days)
def get_by(self, title: str = None, year: str = None, type: str = None,
def get_by(self, title: str = None, year: str = None, mtype: str = None,
season: str = None, episode: str = None, tmdbid: int = None) -> List[TransferHistory]:
"""
按类型、标题、年份、季集查询转移记录
"""
return TransferHistory.list_by(db=self._db,
type=type,
mtype=mtype,
title=title,
year=year,
season=season,