fix(qc): 我的质检任务关键词与工单列表口径对齐 #168

Merged
cykj merged 1 commits from codex/issue-167-mine-kw-filter-88f5de9f0988 into V2.0 2026-11-20 22:53:45 +00:00
Owner

问题与预期

我的质检任务关键词此前仅匹配任务号/检测项/工单号/样本编码,占位符中的协议号、入库编码、母亲姓名、申请单字段、外部编号等搜不到。

关联工单:#167

改动

  • 抽取 build_qc_work_order_keyword_conditions,质检工单列表与 mine 共用
  • mine 保留任务号/检测项,并复用工单关键词口径

单元测试

  • pytest tests/test_qc_work_order_keyword_conditions.py → 2 passed(提交 5a011926d72b6737cd598a0f9f1678dfe2bbdcc2)

构建与整体验收由用户在合入后进行。

## 问题与预期 我的质检任务关键词此前仅匹配任务号/检测项/工单号/样本编码,占位符中的协议号、入库编码、母亲姓名、申请单字段、外部编号等搜不到。 关联工单:https://gitea.aichengyan.com/cykj/zkxw/issues/167 ## 改动 - 抽取 `build_qc_work_order_keyword_conditions`,质检工单列表与 mine 共用 - mine 保留任务号/检测项,并复用工单关键词口径 ## 单元测试 - `pytest tests/test_qc_work_order_keyword_conditions.py` → 2 passed(提交 5a011926d72b6737cd598a0f9f1678dfe2bbdcc2) 构建与整体验收由用户在合入后进行。
cykj added 1 commit 2026-11-20 22:53:23 +00:00
抽取共用关键词条件,mine 接口在保留任务号/检测项外,按工单号、
协议号、入库编码、母亲姓名、出库申请字段等检索,避免占位符失效。

Co-authored-by: Cursor <cursoragent@cursor.com>
cykj merged commit 964384108a into V2.0 2026-11-20 22:53:45 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cykj/zkxw#168