From f90e72a53b888fd7dfb56ee07b1eae00650e894b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 21 Feb 2025 14:11:29 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store_sku.go | 2 ++ business/partner/delivery/uupt/waybill.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 839624cc2..906e0bddc 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -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 { diff --git a/business/partner/delivery/uupt/waybill.go b/business/partner/delivery/uupt/waybill.go index 8ace91689..ad5a79223 100644 --- a/business/partner/delivery/uupt/waybill.go +++ b/business/partner/delivery/uupt/waybill.go @@ -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 {