Jelajahi Sumber

成本计算

unknown 1 bulan lalu
induk
melakukan
d071bfcd34
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      application/service/UnifiedCostCalculationService.php

+ 1 - 1
application/service/UnifiedCostCalculationService.php

@@ -1059,7 +1059,7 @@ class UnifiedCostCalculationService
     {
         $fixedRow = [];
         foreach ($columnNames as $column) {
-            $fixedRow[$column] = $row[$column] ?? null;
+            $fixedRow[$column] = $row[$column] ?? 0;
         }
 
         $this->monthlyCostDetails[$index] = $fixedRow;