linea comentada

This commit is contained in:
mercierj 2025-12-07 02:21:44 -04:00
parent dd07901869
commit 7619678a0b

View File

@ -108,10 +108,10 @@ func (g *GormDatabase) SyncRows(persistencia dto.Persistencia, rawData *[]map[st
config.Log.Errorf("%s ❌ Error en update: %v", logPrefix, res.Error) config.Log.Errorf("%s ❌ Error en update: %v", logPrefix, res.Error)
return res.Error return res.Error
} }
if res.RowsAffected == 0 { /* if res.RowsAffected == 0 {
config.Log.Debugf("%s ⚠️ Ninguna fila afectada con campos: %v valores: %v", config.Log.Debugf("%s ⚠️ Ninguna fila afectada con campos: %v valores: %v",
logPrefix, strings.Join(whereParts, " AND "), printWhereValues(whereValues)) logPrefix, strings.Join(whereParts, " AND "), printWhereValues(whereValues))
} } */
} }
} else { } else {
// Inserts con conflicto por PK (UPSERT) // Inserts con conflicto por PK (UPSERT)