소스 검색

成本计算

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;