diff --git a/app/Services/Handlers/TypeV2Handler.php b/app/Services/Handlers/TypeV2Handler.php index 32cc690..2bb093f 100644 --- a/app/Services/Handlers/TypeV2Handler.php +++ b/app/Services/Handlers/TypeV2Handler.php @@ -99,7 +99,9 @@ class TypeV2Handler CLI::write(CLI::color('✅ ArticleInfoEtc 저장 성공', 'blue')); // 수정 정보 입력 (있으면 update, 없으면 insert) - if (!$this->modifyInfoModel->saveModifyInfo($vrSq, $modifyInfoParam)) { + // if (!$this->modifyInfoModel->saveModifyInfo($vrSq, $modifyInfoParam)) { + $modifyInfoParam['vr_sq'] = $vrSq; + if (!$this->modifyInfoModel->replace($modifyInfoParam)) { foreach ( $modifyInfoParam as $key => $value ) { if (is_array($value)) { CLI::write(CLI::color(" $key : " . json_encode($value, JSON_UNESCAPED_UNICODE) , 'red'));