This commit is contained in:
邹宗楠
2025-02-21 14:11:29 +08:00
parent 6d5ee73b9c
commit f90e72a53b
2 changed files with 3 additions and 1 deletions

View File

@@ -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, "", "", "")
//表示这个门店绑定了京东
if len(list1) > 0 {
globals.SugarLogger.Debugf("--list1--- %s", utils.Format4Output(list1, false))
vendorOrgCodes, _ := dao.GetVendorOrgCode(db, model.VendorIDJD, list1[0].VendorOrgCode, model.VendorOrgTypePlatform)
globals.SugarLogger.Debugf("--list1--- %s", utils.Format4Output(vendorOrgCodes, false))
//thingmap里肯定存在再判断有没有同步上去
thingMaps, _ := dao.GetThingMapList(db, model.ThingTypeSku, []int{model.VendorIDJD}, []int{v.RealSkuID}, []string{list1[0].VendorOrgCode})
if len(thingMaps) > 0 {

View File

@@ -239,7 +239,7 @@ func (d DeliveryHandler) GetRiderInfo(orderId string, deliveryId int64, uuWaybil
CourierName: waybill.DriverName,
CourierPhone: waybill.DriverMobile,
//LogisticsProviderCode: utils.UUPTCode,
LogisticsProviderCode: "UU",
LogisticsProviderCode: "10005",
LogisticsStatus: utils.Str2Int(waybill.State),
}
if len(waybill.DriverLastloc) == 0 {