- 在mergeOrderStatusConfig要判断订单是否是真实订单
This commit is contained in:
@@ -810,6 +810,7 @@ func (s *DefScheduler) mergeOrderStatusConfig(order *model.GoodsOrder, statusTyp
|
||||
retVal = &StatusActionConfig{}
|
||||
*retVal = *defConfig
|
||||
|
||||
if model.IsOrderSolid(order) {
|
||||
var vendorActionParams *partner.StatusActionParams
|
||||
if order.BusinessType != model.BusinessTypeImmediate {
|
||||
if jxutils.IsTimeEmpty(order.ExpectedDeliveredTime) {
|
||||
@@ -840,6 +841,7 @@ func (s *DefScheduler) mergeOrderStatusConfig(order *model.GoodsOrder, statusTyp
|
||||
retVal.TimerType = vendorActionParams.TimerType
|
||||
}
|
||||
}
|
||||
}
|
||||
return retVal
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user