From 26f2e9877e1ee3d4492d6b80da6578f57e0e719e Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Mon, 22 Jun 2026 13:58:13 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- svc/queries/pricing_calc_infra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/queries/pricing_calc_infra.go b/svc/queries/pricing_calc_infra.go index 7e3f280..7e86ee3 100644 --- a/svc/queries/pricing_calc_infra.go +++ b/svc/queries/pricing_calc_infra.go @@ -168,7 +168,7 @@ ON CONFLICT (currency, level_no) DO NOTHING if tableName == "mk_price_target_map_pg" && valueColumn == "sdprcgrp_id" { stmt = fmt.Sprintf(` INSERT INTO %s (currency, level_no, %s, description, is_active, created_at, updated_at) -VALUES ($1, $2, $2, '', TRUE, now(), now()) +VALUES ($1, $2::smallint, $2::integer, '', TRUE, now(), now()) ON CONFLICT (currency, level_no) DO NOTHING `, tableName, valueColumn) }