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