trafficmonitor init...2
This commit is contained in:
parent
e713324751
commit
2b1d4a4b0f
@ -134,6 +134,8 @@ abstract class CommonService
|
||||
//생성용
|
||||
protected function create_process(array $formDatas): CommonEntity
|
||||
{
|
||||
//PrimaryKey 필드는 생성에서 제외
|
||||
unset($formDatas[$this->model->primaryKey]);
|
||||
$result = $this->model->insert($formDatas, $this->model->useAutoIncrement());
|
||||
if ($result === false) {
|
||||
$errors = $this->model->errors();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user