Commit 9bff5b8e by 杨树贤

修改金蝶供应商同步限制

parent 469f227b
Showing with 5 additions and 1 deletions
...@@ -31,7 +31,11 @@ class SyncSupplierService ...@@ -31,7 +31,11 @@ class SyncSupplierService
return false; return false;
} }
//只推送禁用和启用状态的 //只推送禁用和启用状态的
if (!in_array($supplier['status'], [2, -2, -3])) { if (!in_array($supplier['status'], [2, -2, -3, 0])) {
return true;
}
if (!$supplier['group_code']) {
return true; return true;
} }
......
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