fix(meter):修复批量导入表计时的SQL语句和数据处理行为。

This commit is contained in:
徐涛
2023-06-27 14:22:43 +08:00
parent a626869f14
commit a1a72b7204
3 changed files with 4 additions and 4 deletions

View File

@@ -281,7 +281,7 @@ func (mr _MeterRepository) CreateOrUpdateMeter(tx pgx.Tx, ctx context.Context, p
},
).
OnConflict(
goqu.DoUpdate("meter_04kv_pkey",
goqu.DoUpdate("code, park_id",
goqu.Record{
"address": goqu.I("excluded.address"),
"seq": goqu.I("excluded.seq"),