计划 PO20261116007 在「计划段次用证」已填写瓶到升换算(5瓶=2.5升),安排运输仍报:同市段证件单位与计划单位无法自动换算。
安排时先 stamp customer_category,随后 build_usage_request 走 select_whole_cover_certs 自动选证,只做固定单位换算,忽略 cert_configuration 中已保存的 manualAllocations。
backend
已在任务分支修复:客户品类自动选证读取「计划段次用证」已保存的 manualAllocations;单位无法自动换算时按人工证面量预占。
pytest tests/test_pl_customer_cert_quota.py tests/test_pl_quota_conversion.py tests/test_pl_quota_allocation.py
codex/issue-42-saved-conversion-62f4d230de37
.local/agent/worktrees/issue-42-saved-conversion-62f4d230de37
待提交推送与生产部署确认后,可对 PO20261116007 重试安排。
personal-dev:delivery:cykj/shanxia2.0#42:7e515d9ccd3f3bced0223a2227186f7ec8eb8b0d
create_pr=false
V3.0
7e515d9ccd3f3bced0223a2227186f7ec8eb8b0d
pytest
当前会话无 close_issue 授权,工单保持 open。
close_issue
No dependencies set.
The note is not visible to the blocked user.
现象
计划 PO20261116007 在「计划段次用证」已填写瓶到升换算(5瓶=2.5升),安排运输仍报:同市段证件单位与计划单位无法自动换算。
根因
安排时先 stamp customer_category,随后 build_usage_request 走 select_whole_cover_certs 自动选证,只做固定单位换算,忽略 cert_configuration 中已保存的 manualAllocations。
验收
修改端
backend
进度
已在任务分支修复:客户品类自动选证读取「计划段次用证」已保存的 manualAllocations;单位无法自动换算时按人工证面量预占。
验证
pytest tests/test_pl_customer_cert_quota.py tests/test_pl_quota_conversion.py tests/test_pl_quota_allocation.py→ 72 passed分支 / worktree
codex/issue-42-saved-conversion-62f4d230de37.local/agent/worktrees/issue-42-saved-conversion-62f4d230de37待提交推送与生产部署确认后,可对 PO20261116007 重试安排。
交付记录
personal-dev:delivery:cykj/shanxia2.0#42:7e515d9ccd3f3bced0223a2227186f7ec8eb8b0d
合并结果
create_pr=false;用户要求合并到主分支)V3.07e515d9ccd3f3bced0223a2227186f7ec8eb8b0dcodex/issue-42-saved-conversion-62f4d230de37验收
pytest相关用例 72 passed关单
当前会话无
close_issue授权,工单保持 open。