Commit 142832ba by 杨树贤

fix

parent 374f9948
Showing with 3 additions and 3 deletions
...@@ -454,9 +454,9 @@ class DataService ...@@ -454,9 +454,9 @@ class DataService
$tagService = new SupplierTagService(); $tagService = new SupplierTagService();
$oldTags = $supplier['system_tags']; $oldTags = $supplier['system_tags'];
if (strpos($supplier['system_tags'], '临时供应商') !== false) { // if (strpos($supplier['system_tags'], '临时供应商') !== false) {
continue; // continue;
} // }
$newTags = $supplier['system_tags'] ? rtrim($supplier['system_tags'], ',') . ',临时供应商' : '临时供应商'; $newTags = $supplier['system_tags'] ? rtrim($supplier['system_tags'], ',') . ',临时供应商' : '临时供应商';
if ($supplier['level'] != '' && $supplier['level'] != 'E') { if ($supplier['level'] != '' && $supplier['level'] != 'E') {
echo "供应商编码 ${supplier['supplier_code']} 已经有等级${supplier['level']},但是不为等级E,跳过" . PHP_EOL; echo "供应商编码 ${supplier['supplier_code']} 已经有等级${supplier['level']},但是不为等级E,跳过" . PHP_EOL;
......
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