codex/issue-32-qc-adjust-status-84b58d9e903e
V2.0
try_complete_work_order
ypz
ywc
关联工单:#32
pytest backend/tests/test_qc_work_order_try_complete.py
pnpm --dir web-admin build
try_complete 在无活跃任务时也会把已配置打成已完成;清空全部后再添加会踩中。 现要求至少有一条活跃任务且全部完成后才自动完成,并强制全量重建时清理旧批次,前后端均校验批次须含检测项目。 Co-authored-by: Cursor <cursoragent@cursor.com>
No dependencies set.
The note is not visible to the blocked user.
Summary
try_complete_work_order在无活跃任务时也把ypz标成ywc;配置保存后会触发该逻辑关联工单:#32
Test plan
pytest backend/tests/test_qc_work_order_try_complete.py(及结论相关用例)通过pnpm --dir web-admin build通过Notes