浏览代码

成本计算

unknown 1 月之前
父节点
当前提交
d071bfcd34
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;