feat: 拣选库位动销分析固定只统计拣选位,移除仓位类型切换 #61
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/picking-bin-picking-only-1008"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
动销等级此前提供「拣选 / 存货」类型切换,但业务需要的只是拣选位动销;存货位混进来既无意义,又让全类型查询容易超时(需拼 binType IN 过滤)。
内容
bin_group = 空(比外层过滤更早,存货位不再进入后续 CTE),移除可变的binType IN (...)过滤与resolveBinTypes,binType字段恒为「拣选」binTypes/binTypeOptions固定为["拣选"],缓存键不再含类型BIN_TYPES/BIN_TYPE_STORAGE/PICKING_BIN_DEFAULT_TYPES,改为单一PICKING_BIN_BIN_TYPES验证(基准日 2026-10-08、30 天窗口)
["拣选"]binType=存货已被忽略:仍返回拣选位结果,且命中同一份缓存(类型不再参与缓存键)vite build成功授权
用户 2026-10-08 明确要求「动销等级不需要全类型,只需要拣选」。