You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lml
57590e6d82
feat(xincang): 按分层约定补齐信仓平台枚举映射
沿用 a8dfb08 的两层结构(core 底层枚举 + 平台枚举 toCore),补上信仓侧:
新增 xincang.enums:
- XincangOrderStatus 订单 state 0/1/2/3/4/5/6/7/8/10/11/12 → OutboundStatus
- XincangTransferState 转运 state 0~7 → TransferStatus
- XincangForecastStatus 预报 state 0~9 → InboundStatus(信仓预报即头程入库单)
- XincangOrderType order_type common/wayfair,不映射 core:
core 已有 LabelMode 表达同一语义,但信仓按渠道平台判定,不做枚举级归一
core 枚举按「只增不改」处理,避免影响其他仓:
- OutboundStatus 追加 8 个值(code 100~170,rank 9~16)
- TransferStatus 追加 5 个值(code 170~210)
- 既有常量的 code / rank / 方法体一律未动
顺带修两处:
- XincangTransferMapper 补 sourceProvider(XINCANG),符合 a8dfb08 的
「rawStatus 必须与 sourceProvider 成对落库」契约
- rawStatus 改从枚举 rawCode() 取,不再手写 "0"
转运列表与详情的 state 码表不一致(列表少「待贴标」且后续前移),
以更完整的详情码表为准,类注释里写明冲突与调整方式。
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
2 weeks ago |
| .. |
|
src/main/java/common/ecommerce/warehouse
|
feat(xincang): 按分层约定补齐信仓平台枚举映射
|
2 weeks ago |
|
pom.xml
|
feat(warehouse): 新增仓库域 SDK 内核与运去哪 P1 出库闭环
|
2 weeks ago |