Commit 870548c2 by 杨树贤

优化

parent deda29e4
......@@ -288,6 +288,9 @@ class DataService
}
$skuCountByStandardBrandName = StatisticsSkuUploadService::getSortedBrandNameSkuCount($supplier['supplier_code']);
if (empty($skuCountByStandardBrandName)) {
continue;
}
$skuCountByStandardBrandName = array_keys($skuCountByStandardBrandName);
$itemData = [
$supplier['supplier_name'],
......
......@@ -80,7 +80,7 @@ class StatisticsSkuUploadService
}
$data = json_decode($data, true);
dump($data);
//dump($data);
$countByBrandName = [];
foreach ($data as $brandName => $skuCount) {
//然后获取每个品牌的标准品牌
......
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