紧急修复: transfer中real_assignees→real_branches变量名 + SpawnRequest BaseModel导入

This commit is contained in:
2026-08-05 18:16:07 +08:00
parent b547844dca
commit f665cf7e24

View File

@ -599,7 +599,7 @@ async def transfer_task(
await db.refresh(nt) await db.refresh(nt)
created_task_responses.append(_to_response(nt)) created_task_responses.append(_to_response(nt))
assignee_list = ", ".join(real_assignees) assignee_list = ", ".join(a for _, a in real_branches) if real_branches else "仓库"
location_info = "" location_info = ""
if has_warehouse: if has_warehouse:
location_info = ",产品已入库(virtual_warehouse)" location_info = ",产品已入库(virtual_warehouse)"