- fix debug info error in CreateWaybillOnProviders
This commit is contained in:
@@ -19,7 +19,7 @@ func (c *BaseScheduler) CreateWaybillOnProviders(ctx *jxcontext.Context, vendorO
|
||||
if order.LockStatus != model.OrderStatusLocked && order.Status >= model.OrderStatusFinishedPickup && order.Status < model.OrderStatusEndBegin {
|
||||
bill, err2 := c.CreateWaybill(model.VendorIDMTPS, order, nil)
|
||||
if err = err2; err == nil {
|
||||
globals.SugarLogger.Infof("CreateWaybillOnProviders orderID:%s userName:%s bill:%s", vendorOrderID, userName, bill.WaybillVendorID)
|
||||
globals.SugarLogger.Debugf("CreateWaybillOnProviders orderID:%s userName:%s bill:%v", vendorOrderID, userName, bill)
|
||||
return []*model.Waybill{
|
||||
bill,
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user