From 1d5bc309c09f6ef3b7b71b306a2917854262ffb0 Mon Sep 17 00:00:00 2001 From: Tubagus Fajri Date: Mon, 31 Aug 2026 16:22:55 +0700 Subject: [PATCH] fix: list packages without corporate mapping table --- internal/repository/paket.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/repository/paket.go b/internal/repository/paket.go index 239a0c4..5aca117 100644 --- a/internal/repository/paket.go +++ b/internal/repository/paket.go @@ -146,8 +146,7 @@ func (r MySQLLayananRepository) ListPaket(ctx context.Context, params PaketListP query := ` SELECT ph.PaketID, - (SELECT pch.KodeCorp FROM paket_corp_header pch - WHERE pch.PaketID = ph.PaketID ORDER BY pch.TanggalBuat DESC LIMIT 1), + NULL AS KodeCorp, ph.Nama, ph.JenisPaket, jp.Nama, ph.TotalHarga, ph.RI, ph.RJ, ph.MultiVisit, CAST(ph.TglDari AS CHAR), CAST(ph.TglSampai AS CHAR), ph.KelasID, ph.JumlahHari, ph.StatusID, ph.NA, ph.Keterangan