Skip to content

Commit

Permalink
Merge pull request #63 from EC-CUBE/i62
Browse files Browse the repository at this point in the history
ref #62 受注ステータスをnullにする
  • Loading branch information
chihiro-adachi authored Feb 26, 2021
2 parents c89e8f4 + 31bdbd1 commit 47ae674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Controller/Admin/ConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,9 @@ private function saveOrder($em, $csvDir)
$this->setIdSeq($em, 'dtb_mail_history');
}

// order_status のアンマッチ問題への対応
$em->exec('UPDATE dtb_order SET order_status_id = NULL WHERE order_status_id not in (select id from mtb_order_status)');

$em->commit();

$this->addSuccess('受注データを登録しました。', 'admin');
Expand Down

0 comments on commit 47ae674

Please sign in to comment.