perf: 优化定时任务管理dao层status类型与数据库保持一致

This commit is contained in:
insistence
2024-07-01 21:41:10 +08:00
parent adb6d63eb4
commit d8011c8738

View File

@@ -70,7 +70,7 @@ class JobDao:
"""
job_list = (await db.execute(
select(SysJob)
.where(SysJob.status == 0)
.where(SysJob.status == '0')
.distinct()
)).scalars().all()