- fix debug info error in CreateWaybillOnProviders

This commit is contained in:
gazebo
2018-10-31 19:52:02 +08:00
parent 50d807d761
commit 26742d4fbf

View File

@@ -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