diff --git a/app/Services/CommonService.php b/app/Services/CommonService.php index 1d906bc..d2176e6 100644 --- a/app/Services/CommonService.php +++ b/app/Services/CommonService.php @@ -134,8 +134,6 @@ abstract class CommonService //생성용 protected function create_process(array $formDatas): CommonEntity { - //PrimaryKey 필드는 생성에서 제외 - unset($formDatas[$this->model->primaryKey]); $result = $this->model->insert($formDatas, $this->model->useAutoIncrement()); log_message('debug', $this->model->getLastQuery()); if ($result === false) {