diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index e941434f1..b280c63a1 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1225,7 +1225,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend return nil, err } } else if vendorID == model.VendorIDJDShop { - storeMap.VendorOrgCode = "1" if storeMap.VendorStoreID == "" { storeMap.SyncStatus = model.SyncFlagNewMask //京东商城要去建店 } else { @@ -1262,11 +1261,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend } }() if err = dao.CreateEntity(db, storeMap); err == nil { - if vendorID == model.VendorIDJDShop { - storeMap2 := storeMap - storeMap2.VendorOrgCode = "2" - dao.CreateEntity(db, storeMap2) - } dao.Commit(db) outStoreMap = storeMap } else {