create all

This commit is contained in:
richboo111
2022-11-02 16:37:54 +08:00
parent 1f9ed97c1c
commit 3e32ffeba5
2 changed files with 13 additions and 12 deletions

View File

@@ -1596,6 +1596,8 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend
_, err = CurVendorSync.SyncStore(ctx, db, storeMap.VendorID, storeID, false, userName)
_, err = CurVendorSync.FullSyncStoresSkus(ctx, db, []int{vendorID}, []int{storeID}, true, nil, true, true)
if utils.IsNil(errList) && err == nil {
globals.SugarLogger.Debug("utils.IsNil(errList)==============", utils.IsNil(errList))
globals.SugarLogger.Debug("fakeErr===========%v,%v", errList, err)
return outStoreMap, nil
} else {
return outStoreMap, errors.New(fmt.Sprintf("errList=%s,err=%v", utils.Format4Output(errList, true), err))