Ver Código Fonte

导入测试

shensong00 1 mês atrás
pai
commit
85b0f181a4
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      app/Console/Commands/Test.php

+ 5 - 5
app/Console/Commands/Test.php

@@ -89,12 +89,12 @@ class Test extends Command
89 89
             echo 'E: ' . trim($sheet->getCell('E' . $row)->getFormattedValue()).PHP_EOL;
90 90
             echo 'F: ' . trim($sheet->getCell('F' . $row)->getFormattedValue()).PHP_EOL;
91 91
             echo 'G: ' . trim($sheet->getCell('G' . $row)->getFormattedValue()).PHP_EOL;
92
-            echo 'H: ' . trim($sheet->getCell('H' . $row)->getFormattedValue()).PHP_EOL;
93
-            echo 'I: ' . trim($sheet->getCell('I' . $row)->getFormattedValue()).PHP_EOL;
92
+            echo 'H: ' . trim($sheet->getCell('H' . $row)->getOldCalculatedValue()).PHP_EOL;
93
+            echo 'I: ' . trim($sheet->getCell('I' . $row)->getOldCalculatedValue()).PHP_EOL;
94 94
             echo 'J: ' . trim($sheet->getCell('J' . $row)->getFormattedValue()).PHP_EOL;
95
-            echo 'K: ' . trim($sheet->getCell('K' . $row)->getFormattedValue()).PHP_EOL;
96
-            echo 'L: ' . trim($sheet->getCell('L' . $row)->getFormattedValue()).PHP_EOL;
97
-            echo 'M: ' . trim($sheet->getCell('M' . $row)->getFormattedValue()).PHP_EOL;
95
+            echo 'K: ' . trim($sheet->getCell('K' . $row)->getOldCalculatedValue()).PHP_EOL;
96
+            echo 'L: ' . trim($sheet->getCell('L' . $row)->getOldCalculatedValue()).PHP_EOL;
97
+            echo 'M: ' . trim($sheet->getCell('M' . $row)->getOldCalculatedValue()).PHP_EOL;
98 98
         }
99 99
     }
100 100