1
This commit is contained in:
@@ -2197,9 +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))
|
||||
globals.SugarLogger.Debugf("-----------------%s", utils.Format4Output(list1, false))
|
||||
globals.SugarLogger.Debugf("---------------v--%s", utils.Format4Output(v, 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 {
|
||||
|
||||
Reference in New Issue
Block a user