This commit is contained in:
邹宗楠
2024-02-18 14:44:08 +08:00
parent 26aff89ce3
commit 05c5d680ed
2 changed files with 2 additions and 1 deletions

View File

@@ -1145,7 +1145,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
}, model.FieldSyncStatus, syncStatus)
if err = err2; err == nil {
dao.Commit(db, txDB)
//_, err = CurVendorSync.SyncStore(ctx, db, -1, store.ID, false, userName)
_, err = CurVendorSync.SyncStore(ctx, db, -1, store.ID, false, userName)
if valid["tel1"] != nil || valid["tel2"] != nil {
TryAddStoreBossRole4StoreByMobile(ctx, store.ID, []string{utils.Interface2String(valid["tel1"]), utils.Interface2String(valid["tel2"])})
}

View File

@@ -242,6 +242,7 @@ func (p *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
}
func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName string) (err error) {
return nil
var stores []*tEbaiStoreInfo
sql := `
SELECT