Kaynağa Gözat

[智价云] 无快照信息提示更新

tangyuanwang 1 gün önce
ebeveyn
işleme
f8300eec6e

+ 1 - 1
app/Jobs/Manager/Other/ExportLowPriceGoodsJobs.php

@@ -420,7 +420,7 @@ class ExportLowPriceGoodsJobs implements ShouldQueue
             $sheet->setCellValue('F' . $row, $item['product_name']);
             $sheet->setCellValue('G' . $row, $item['inventory']);
             $sheet->setCellValue('H' . $row, $item['sales']);
-            $sheet->setCellValue('I' . $row, $item['snapshot_url']);
+            $sheet->setCellValue('I' . $row, $item['snapshot_url'] !='' ? $item['snapshot_url'] : '暂无');
             $sheet->setCellValue('J' . $row, $item['product_specs']);
             $sheet->setCellValue('K' . $row, $item['suggested_price']);
             $sheet->setCellValue('L' . $row, $item['online_posting_price']);

+ 1 - 1
app/Jobs/Manager/Other/ExportViolationProductJobs.php

@@ -406,7 +406,7 @@ class ExportViolationProductJobs implements ShouldQueue
             $sheet->setCellValue('F' . $row, $item['product_name']);
             $sheet->setCellValue('G' . $row, $item['inventory']);
             $sheet->setCellValue('H' . $row, $item['sales']);
-            $sheet->setCellValue('I' . $row, $item['snapshot_url']);
+            $sheet->setCellValue('I' . $row, $item['snapshot_url'] != '' ? $item['snapshot_url'] : '暂无');
             $sheet->setCellValue('J' . $row, $item['product_specs']);
             $sheet->setCellValue('K' . $row, $item['online_posting_count']);
             $sheet->setCellValue('L' . $row, $item['continuous_listing_count']);