codex/issue-82-planned-start-filter-ca7144762a26
V2.0
【生产工单】【我的生产任务】按计划开始时间筛选时,EXISTS 额外强制工单/任务为待配置或进行中、步骤未完成,导致区间内有步骤日期却查空。
关联:#82
apply_planned_start_time_step_filter
cd backend && PYTHONPATH=. pytest tests/test_production_planned_start_time_filter.py -q
5109d8b3e51a0f2c75b4bd6f4fc770a9526acf48
构建与整体验收由用户在合入后进行。
去掉 EXISTS 中对工单/任务/步骤活跃态的硬编码,日期条件与前端勾选的状态等检索项组合生效,修复区间内有步骤日期却查空的问题。 Co-authored-by: Cursor <cursoragent@cursor.com>
No dependencies set.
The note is not visible to the blocked user.
问题
【生产工单】【我的生产任务】按计划开始时间筛选时,EXISTS 额外强制工单/任务为待配置或进行中、步骤未完成,导致区间内有步骤日期却查空。
关联:#82
改动
apply_planned_start_time_step_filter仅按计划开始时间区间(及我的任务本人相关步骤)过滤单元测试
cd backend && PYTHONPATH=. pytest tests/test_production_planned_start_time_filter.py -q5109d8b3e51a0f2c75b4bd6f4fc770a9526acf48构建与整体验收由用户在合入后进行。