|
@@ -145,8 +145,8 @@ async def update_task_status(
|
|
|
|
|
|
if not task_id_to_use:
|
|
|
return Response(content="Missing required parameter 'task_id'", status_code=400)
|
|
|
- if processing_status not in ['已完成', '处理中', '待处理']:
|
|
|
- return Response(content="processing_status must be '已完成' or '处理中' or '待处理'", status_code=400)
|
|
|
+ if processing_status not in ['已完成', '处理中', '待处理','未完成']:
|
|
|
+ return Response(content="processing_status must be '已完成' or '处理中' or '待处理' or '未完成'", status_code=400)
|
|
|
|
|
|
task_entry = (db.query(TaskRegistration)
|
|
|
.filter(TaskRegistration.del_flag != '2')
|