浏览代码

nb_shipments dans import collectivités

master
tibo 5 年前
父节点
当前提交
5fc5065b6e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      bin/import_01_collectivites.php

+ 2
- 1
bin/import_01_collectivites.php 查看文件

@ -31,8 +31,9 @@ SMETI_db::$item = SMETI_db::$pdo->lastInsertId();
SMETI_db::$parent = SMETI_db::$item;
echo 'OK'.PHP_EOL;
$counter = 0;
$shipments = json_decode(file_get_contents("../data/json/BMO/01_COLLECTIVITES.json"), true);
$counter = 0;
$nb_shipments = count($shipments);
foreach($shipments as $element)
{
// Gestion d'une barre de progression

正在加载...
取消
保存