...
|
...
|
@@ -182,7 +182,6 @@ class Registers extends Backend |
|
|
$this->model = new \app\admin\model\ServiceOrder();
|
|
|
$order_flag = 1;
|
|
|
}
|
|
|
dump($order_flag);exit;
|
|
|
$importHeadType = isset($this->importHeadType) ? $this->importHeadType : 'comment';
|
|
|
$table = $this->model->getQuery()->getTable();
|
|
|
$database = \think\Config::get('database.database');
|
...
|
...
|
@@ -284,6 +283,7 @@ class Registers extends Backend |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
dump($insert);
|
|
|
$this->model->saveAll($insert);
|
|
|
} catch (PDOException $exception) {
|
|
|
$msg = $exception->getMessage();
|
...
|
...
|
|