docs:同步ZT_MAX_VISITS=300
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
ae235a768b
commit
cd3faa0ad7
|
|
@ -243,7 +243,7 @@ FtestWork where type2 = TYPE2_SOME
|
||||||
- **边数量**:拆批取 `Handoverb(batch=目标批)`,合批取 `Handoverb(batch=来源批)`,报工改号取目标产出行的 `mlogb_from.count_use`;无明细时兜底整单数量。
|
- **边数量**:拆批取 `Handoverb(batch=目标批)`,合批取 `Handoverb(batch=来源批)`,报工改号取目标产出行的 `mlogb_from.count_use`;无明细时兜底整单数量。
|
||||||
- **外购/遗留兜底**:无上游谱系 → 白料数 = 该批原料性入库数量之和(`MIOItem`,仅 `pur_in`/`other_in`,排除生产入库),口径记 `入库数量`。
|
- **外购/遗留兜底**:无上游谱系 → 白料数 = 该批原料性入库数量之和(`MIOItem`,仅 `pur_in`/`other_in`,排除生产入库),口径记 `入库数量`。
|
||||||
- **老数据兜底**(`_zt_white_legacy`):BatchLog 上线前的批次无边且无入库,沿 `BatchSt.handover/mlog` 创建来源续上回溯,口径记 `谱系兜底`。
|
- **老数据兜底**(`_zt_white_legacy`):BatchLog 上线前的批次无边且无入库,沿 `BatchSt.handover/mlog` 创建来源续上回溯,口径记 `谱系兜底`。
|
||||||
- **性能护栏**:回溯按批次号记忆化(网状/菱形谱系线性复杂度,防环截断过的节点不入缓存);单次回溯节点访问超 `ZT_MAX_VISITS=3000` 时放弃,口径记 `回溯规模超限`(负缓存,不重复付代价)。
|
- **性能护栏**:回溯按批次号记忆化(网状/菱形谱系线性复杂度,防环截断过的节点不入缓存);单次回溯节点访问超 `ZT_MAX_VISITS=300` 时放弃,口径记 `回溯规模超限`(负缓存,不重复付代价;实测正常批 1~10 次、最重合法案例 77 次)。
|
||||||
|
|
||||||
### 缓存与隔离
|
### 缓存与隔离
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue