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
b360b73df2
feat(xincang): 对接头程预报,并修正必填字段静默兜底
四个预报接口(信仓把入库拆成「建空单 → 补明细 → 提交」三步):
- POST forecast.do_forecast → InboundCapable.create,只建单头
- POST forecast.do_improve_forecast → InboundCapable.improve,补明细(整段覆盖)
- POST forecast.done_forecast → InboundCapable.submit,query 与 body 都带单号
- GET forecast.forecast_detail → InboundCapable.get,state 映射到 InboundStatus
core 只新增:InboundCapable 的 default improve / submit、
InboundView 的对应方法(走幂等守卫)、InboundCommand 的预报头字段。
同时修正字段必填性与代码不一致的问题:
- InboundCommand / TransferCommand 上「null 表示不传」的注释与信仓实际必填不符,
改为标注「信仓必填」,不再误导调用方传 null 后再吃运行期异常
- XincangProductMapper:declaredValue 缺失时不再按 0.00 建档(金额影响计费与清关),
改为下发前直接拒绝
- XincangChannelRecommendMapper:仓库代码缺失的报价行直接跳过,
不再编一个 "-" 占位
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
1 week ago |
| .. |
|
src
|
feat(xincang): 对接头程预报,并修正必填字段静默兜底
|
1 week ago |
|
pom.xml
|
feat(xincang): 新增信仓三方仓模块与登录换 token
|
2 weeks ago |