- orderUseNewTable almost ok.
This commit is contained in:
@@ -72,7 +72,7 @@ func (c *BaseScheduler) PickupGoodsAndUpdateStatus(vendorOrderID string, vendorI
|
||||
func getStoreDeliveryType(order *model.GoodsOrder) (deliveryType int) {
|
||||
if globals.OrderUseNewTable {
|
||||
deliveryType = scheduler.StoreDeliveryTypeByPlatform // 缺省值
|
||||
if storeMap := dao.GetStoreMapByStoreID(nil, jxutils.GetJxStoreIDFromOrder(order), order.VendorID); storeMap != nil {
|
||||
if storeMap, _ := dao.GetStoreMapByStoreID(nil, jxutils.GetJxStoreIDFromOrder(order), order.VendorID); storeMap != nil {
|
||||
deliveryType = int(storeMap.DeliveryType)
|
||||
}
|
||||
return deliveryType
|
||||
|
||||
Reference in New Issue
Block a user