jds2
This commit is contained in:
@@ -1217,6 +1217,11 @@ 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
|
||||
_, err = CurVendorSync.SyncStore(ctx, db, storeMap.VendorID, storeID, false, userName)
|
||||
|
||||
Reference in New Issue
Block a user