1
This commit is contained in:
@@ -174,6 +174,14 @@ func (c *PurchaseHandler) onAfsOrderMsg(msg *ebaiapi.CallbackMsg) (retVal *ebaia
|
||||
dao.UpdateEntity(dao.GetDB(), goodsOrder, "TotalShopMoney")
|
||||
}
|
||||
}
|
||||
if utils.Str2Int(orderStatus.VendorStatus) == ebaiapi.OrderUserCancelMerchantAgreed {
|
||||
afs, _ := partner.CurOrderManager.LoadAfsOrder(orderStatus.RefVendorOrderID, model.VendorIDEBAI)
|
||||
afs.Status = orderStatus.Status
|
||||
afs.VendorStatus = orderStatus.VendorStatus
|
||||
afs.Flag = model.YES
|
||||
dao.UpdateEntity(dao.GetDB(), afs, "Status", "VendorStatus", "Flag")
|
||||
}
|
||||
|
||||
retVal = api.EbaiAPI.Err2CallbackResponse(msg.Cmd, err, nil)
|
||||
}
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user