소스 검색

效能分析指标修改入库名称

wenjia Li 6 달 전
부모
커밋
9ffd19bc25
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dataAnalysisBusiness/algorithm/productionIndicatorAnalyst.py

+ 2 - 2
dataAnalysisBusiness/algorithm/productionIndicatorAnalyst.py

@@ -294,7 +294,7 @@ class ProductionIndicatorAnalyst(AnalystNotFilter):
             Field_PowerFarmCode: conf.dataContract.dataFilter.powerFarmID,
             Field_Return_BatchCode: conf.dataContract.dataFilter.dataBatchNum,
             Field_CodeOfTurbine: "total",
-            Field_MillTypeCode:"total",
+            Field_MillTypeCode:turbineModelInfo[Field_MillTypeCode],
             Field_Return_FilePath: filePathOfproductionindicator,
                     Field_Return_IsSaveDatabase: True
         })
@@ -331,7 +331,7 @@ class ProductionIndicatorAnalyst(AnalystNotFilter):
             Field_PowerFarmCode: conf.dataContract.dataFilter.powerFarmID,
             Field_Return_BatchCode: conf.dataContract.dataFilter.dataBatchNum,
             Field_CodeOfTurbine: "total",
-            Field_MillTypeCode:"total",
+            Field_MillTypeCode:"total_production_indicator",
             Field_Return_FilePath: filePathOfproductionindicator_total,
                     Field_Return_IsSaveDatabase: True
         })