Commit e4adc23a authored by 332784038@qq.com's avatar 332784038@qq.com

空运订单合单后需要重新定价

parent c5cf65cf
......@@ -2604,7 +2604,7 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
//类型 :1 新增 2 修改 3 实测入仓信息 4 合单 5 拆单 6 处理未报价异常 7 特价申请 8 订单货值修改
// 9 处理重泡货异常 10 已入仓订单修改重订价 11 处理渠道异常 12 处理单询异常 13 处理超重异常 14 批量加价 15 完成入仓
// 20 强制重订价格 30 空运订单每日定时更新价格 40 订单异常处理完成更新计价 50 更新订单优惠信息
if (type == 2 || type == 6 || type == 10 || type == 20 || type == 30
if (type == 2 || (type == 4 && orderDO.getTransportId() == 3) || type == 6 || type == 10 || type == 20 || type == 30
|| (type == 15 && (Objects.isNull(orderDO.getParentOrderId()) || orderDO.getParentOrderId() == 0L || orderDO.getSplitSeparateOrder()))) {
// 拆单后的子订单入仓不需要重新定价,但涉及了空运拆单的会标记为独立订单,走一样的逻辑
// 第一次入仓或后面的重新入仓都需要更新基础单价,特价需要在计价时单独判断,不去更新成交单价
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment