1
This commit is contained in:
@@ -1545,6 +1545,7 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
||||
pair := batchItemList[0].(*tOrderVendorPair)
|
||||
globals.SugarLogger.Debugf("---------pair := %s", utils.Format4Output(pair, false))
|
||||
if handler := partner.GetPurchaseOrderHandlerFromVendorID(pair.VendorID); handler != nil {
|
||||
globals.SugarLogger.Debugf("---------order := %s", utils.Format4Output(pair.VendorStoreID, false))
|
||||
order, err2 := handler.GetOrder(pair.VendorOrgCode, pair.VendorOrderID, pair.VendorStoreID)
|
||||
globals.SugarLogger.Debugf("---------order := %s", utils.Format4Output(order, false))
|
||||
if err = err2; err == nil {
|
||||
|
||||
@@ -83,6 +83,8 @@ func (p *PurchaseHandler) getStatusFromVendorStatus(vendorStatus string) int {
|
||||
|
||||
func (p *PurchaseHandler) GetOrder(vendorOrgCode, vendorOrderID, vendorStoreID string) (order *model.GoodsOrder, err error) {
|
||||
order, _, err = p.getOrder(vendorOrderID)
|
||||
globals.SugarLogger.Debugf("---------order GetOrder := %s", utils.Format4Output(order, false))
|
||||
globals.SugarLogger.Debugf("---------order err := %v", err)
|
||||
return order, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user