This commit is contained in:
邹宗楠
2025-04-27 10:30:59 +08:00
parent 103197adf0
commit 42cbfcd8bb
3 changed files with 8 additions and 4 deletions

View File

@@ -81,7 +81,9 @@ func (c *DeliveryHandler) OnWaybillExcept(msg *mtpsapi.CallbackOrderExceptionMsg
VendorStatus: utils.Int2Str(msg.ExceptionCode),
StatusTime: utils.Timestamp2Time(msg.Timestamp),
}
order.VendorOrderID, order.OrderVendorID = jxutils.SplitUniversalOrderID(msg.OrderID)
goods, _ := dao.GetSimpleOrder(dao.GetDB(), msg.OrderID)
order.VendorOrderID, order.OrderVendorID = goods.VendorOrderID, goods.VendorID
retVal = mtpsapi.Err2CallbackResponse(partner.CurOrderManager.OnWaybillStatusChanged(order), "mtps OnWaybillExcept")
}, jxutils.ComposeUniversalOrderID(msg.OrderID, model.VendorIDDada))
return retVal