This commit is contained in:
gazebo
2019-04-18 19:08:40 +08:00
parent 2b4e036619
commit 49ca57a882

View File

@@ -817,7 +817,9 @@ func AddStoreCourierMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendorID
}
}
outStoreCourierMap = storeCourierMap
_, err = CurVendorSync.SyncStore(ctx, db, storeCourierMap.VendorID, storeID, false, userName)
if err == nil {
_, err = CurVendorSync.SyncStore(ctx, db, storeCourierMap.VendorID, storeID, false, userName)
}
} else {
dao.Rollback(db)
}
@@ -906,6 +908,9 @@ func updateOrCreateDadaStore(storeDetail *dao.StoreDetail2) (err error) {
}
err = api.DadaAPI.ShopUpdate(storeDetail.DadaStoreID, params)
}
if err != nil {
globals.SugarLogger.Debugf("updateOrCreateDadaStore storeID:%d failed with error:%v", storeDetail.ID, err)
}
return err
}