diff --git a/api/IsotopeDatabaseHandler.php b/api/IsotopeDatabaseHandler.php index 851897d..6fa17ae 100644 --- a/api/IsotopeDatabaseHandler.php +++ b/api/IsotopeDatabaseHandler.php @@ -1,8 +1,4 @@ - * @date 11.07.22 - */ require_once('Product.php'); @@ -27,7 +23,6 @@ class IsotopeDatabaseHandler } } - public function processProducts(array $products) { $this->dbHandle->beginTransaction(); @@ -124,7 +119,8 @@ class IsotopeDatabaseHandler cssID, published, start, - stop + stop, + exact_id ) VALUES ( 0, 0, @@ -149,7 +145,8 @@ class IsotopeDatabaseHandler '', '0', '', - '' + '', + '".$product->getId()."' )"; $this->dbHandle->query($sql); return $this->dbHandle->lastInsertId();