Commit dcbbb4b5 by 杨树贤

fix

parent 56ee4069
Showing with 0 additions and 4 deletions
...@@ -46,10 +46,6 @@ class SyncSupplierToErp extends Command ...@@ -46,10 +46,6 @@ class SyncSupplierToErp extends Command
$query = SupplierChannelModel::where('is_type', 0) $query = SupplierChannelModel::where('is_type', 0)
->where('yunxin_channel_uid', '!=', ''); ->where('yunxin_channel_uid', '!=', '');
if ($num > 0) {
$query->limit($num);
}
$suppliers = $query->get(); $suppliers = $query->get();
$total = count($suppliers); $total = count($suppliers);
$this->info("共找到 {$total} 个供应商需要同步"); $this->info("共找到 {$total} 个供应商需要同步");
......
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