1
This commit is contained in:
@@ -2197,7 +2197,9 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
|||||||
list1, _ := dao.GetStoresMapList(db, []int{model.VendorIDJD}, []int{storeID}, nil, model.StoreStatusAll, 1, "", "", "")
|
list1, _ := dao.GetStoresMapList(db, []int{model.VendorIDJD}, []int{storeID}, nil, model.StoreStatusAll, 1, "", "", "")
|
||||||
//表示这个门店绑定了京东
|
//表示这个门店绑定了京东
|
||||||
if len(list1) > 0 {
|
if len(list1) > 0 {
|
||||||
|
globals.SugarLogger.Debugf("--list1--- %s", utils.Format4Output(list1, false))
|
||||||
vendorOrgCodes, _ := dao.GetVendorOrgCode(db, model.VendorIDJD, list1[0].VendorOrgCode, model.VendorOrgTypePlatform)
|
vendorOrgCodes, _ := dao.GetVendorOrgCode(db, model.VendorIDJD, list1[0].VendorOrgCode, model.VendorOrgTypePlatform)
|
||||||
|
globals.SugarLogger.Debugf("--list1--- %s", utils.Format4Output(vendorOrgCodes, false))
|
||||||
//thingmap里肯定存在,再判断有没有同步上去
|
//thingmap里肯定存在,再判断有没有同步上去
|
||||||
thingMaps, _ := dao.GetThingMapList(db, model.ThingTypeSku, []int{model.VendorIDJD}, []int{v.RealSkuID}, []string{list1[0].VendorOrgCode})
|
thingMaps, _ := dao.GetThingMapList(db, model.ThingTypeSku, []int{model.VendorIDJD}, []int{v.RealSkuID}, []string{list1[0].VendorOrgCode})
|
||||||
if len(thingMaps) > 0 {
|
if len(thingMaps) > 0 {
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ func (d DeliveryHandler) GetRiderInfo(orderId string, deliveryId int64, uuWaybil
|
|||||||
CourierName: waybill.DriverName,
|
CourierName: waybill.DriverName,
|
||||||
CourierPhone: waybill.DriverMobile,
|
CourierPhone: waybill.DriverMobile,
|
||||||
//LogisticsProviderCode: utils.UUPTCode,
|
//LogisticsProviderCode: utils.UUPTCode,
|
||||||
LogisticsProviderCode: "UU",
|
LogisticsProviderCode: "10005",
|
||||||
LogisticsStatus: utils.Str2Int(waybill.State),
|
LogisticsStatus: utils.Str2Int(waybill.State),
|
||||||
}
|
}
|
||||||
if len(waybill.DriverLastloc) == 0 {
|
if len(waybill.DriverLastloc) == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user