Просмотр исходного кода

cpWindSpeedAnalyst.py修改上传入库分图风机编号

wei_lai 1 неделя назад
Родитель
Сommit
cba0c60ac8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dataAnalysisBusiness/algorithm/cpWindSpeedAnalyst.py

+ 1 - 1
dataAnalysisBusiness/algorithm/cpWindSpeedAnalyst.py

@@ -252,7 +252,7 @@ class CpWindSpeedAnalyst(AnalystWithGoodPoint):
                 Field_Return_TypeAnalyst: self.typeAnalyst(),
                 Field_PowerFarmCode: conf.dataContract.dataFilter.powerFarmID,
                 Field_Return_BatchCode: conf.dataContract.dataFilter.dataBatchNum,
-                Field_CodeOfTurbine: turbineCode,
+                Field_CodeOfTurbine: currTurbineInfo[Field_CodeOfTurbine],
                 Field_Return_FilePath: output_json_path_each,
                 Field_Return_IsSaveDatabase: True
             })