限制类型
This commit is contained in:
@@ -32,7 +32,7 @@ async def run_job_clean() -> None:
|
||||
result = await pg.execute(
|
||||
text("""
|
||||
SELECT * FROM app_job_data
|
||||
WHERE clean_status = 'pending'
|
||||
WHERE clean_status = 'pending' AND recruit_category in (0,1,2)
|
||||
LIMIT :limit
|
||||
FOR UPDATE SKIP LOCKED
|
||||
"""),
|
||||
|
||||
Reference in New Issue
Block a user