Commit f834d976 by mushishixian

fix

parent 357e8527
Showing with 1 additions and 1 deletions
...@@ -125,7 +125,7 @@ class DataService ...@@ -125,7 +125,7 @@ class DataService
{ {
set_time_limit(0); set_time_limit(0);
$supplierModel = new SupplierChannelModel(); $supplierModel = new SupplierChannelModel();
$suppliers = $supplierModel->get()->toArray(); $suppliers = $supplierModel->where('is_type', 0)->get()->toArray();
foreach ($suppliers as $supplier) { foreach ($suppliers as $supplier) {
//删除供应商联系方式表里面,空联系方式的数据,同时也要注意将采购修改回主表 //删除供应商联系方式表里面,空联系方式的数据,同时也要注意将采购修改回主表
$contactModel = new SupplierContactModel(); $contactModel = new SupplierContactModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment