From 2709af041bdd42058fd54ac1d04157474a5f0915 Mon Sep 17 00:00:00 2001 From: ayflying Date: Wed, 3 Sep 2025 14:37:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=86=99=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E4=B9=9F=E4=BC=9A=E8=B7=B3=E8=BF=87=EF=BC=8C=E4=B8=8B=E6=AC=A1?= =?UTF-8?q?=E5=86=8D=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/gameAct/gameAct.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/logic/gameAct/gameAct.go b/internal/logic/gameAct/gameAct.go index de3ae1d..2209b6a 100644 --- a/internal/logic/gameAct/gameAct.go +++ b/internal/logic/gameAct/gameAct.go @@ -498,10 +498,10 @@ func (s *sGameAct) Cache2SqlChan(ctx context.Context, addChan, updateChan chan * g.Log().Error(ctx, err2) continue } - //if row, _ := addRes.RowsAffected(); row == 0 { - // g.Log().Error(ctx, "本次新增为0,新增数据失败: %v", v) - // continue - //} + if row, _ := addRes.RowsAffected(); row == 0 { + //g.Log().Error(ctx, "本次新增为0,新增数据失败: %v", v) + continue + } row, _ := addRes.RowsAffected() addCount += row //删除缓存