forked from free-lancers/electricity_bill_calc_service
fix(meter):修复批量导入表计时的SQL语句和数据处理行为。
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user