Commit 1fcea9ba by 杨树贤

统计

parent b0d29fa4
......@@ -27,6 +27,7 @@ class StatisticsSkuUploadService
'id',
'supplier_code'
])->get()->groupBy('supplier_code')->toArray();
foreach ($logIdsGroupBySupplierCode as $supplierCode => $items) {
$logIds = array_column($items, 'id');
$exists = $redis->hget('half_year_brand_sku_upload_statistics', $supplierCode);
......@@ -40,6 +41,7 @@ class StatisticsSkuUploadService
->where('log_id', $logId)
->where('status', 3)
->groupBy('brand_name')->get();
dd($countByBrandName);
if (empty($countByBrandName)) {
continue;
}
......
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