From 1311dc529a2e82bddc91403ad4748b125dab7943 Mon Sep 17 00:00:00 2001 From: jjstyle Date: Wed, 4 Feb 2026 21:40:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=BC=EB=A6=AC=EB=AC=B8=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/Handlers/TypeV2Handler.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Services/Handlers/TypeV2Handler.php b/app/Services/Handlers/TypeV2Handler.php index 85ae17a..8e2aca7 100644 --- a/app/Services/Handlers/TypeV2Handler.php +++ b/app/Services/Handlers/TypeV2Handler.php @@ -100,6 +100,11 @@ class TypeV2Handler // 수정 정보 입력 (있으면 update, 없으면 insert) $modifyInfoParam['vr_sq'] = $vrSq; + + $sql = $this->modifyInfoModel->builder()->set($modifyInfoParam)->getCompiledInsert(); + CLI::write(CLI::color("\n[생성된 쿼리 예상안]:", 'yellow')); + CLI::write($sql); + if (!$this->modifyInfoModel->replace($modifyInfoParam)) { CLI::write(CLI::color('❌ modifyInfoParam 저장 실패 :: ' . json_encode($modifyInfoParam), 'red')); throw new Exception("ModifyInfo 저장 실패: " . json_encode($this->db->error() . " sql: " . $this->modifyInfoModel->getLastQuery()));