瀏覽代碼

修改_get_by_id函数

chenhongyan1989 1 月之前
父節點
當前提交
a618135897
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/services/CMSAnalyst.py

+ 1 - 1
app/services/CMSAnalyst.py

@@ -56,7 +56,7 @@ class CMSAnalyst:
         # time_domain_analysis
         self.time_domain_analysis_t = np.arange(self.data.shape[0]) / self.fs
 
-    def _get_by_id(windcode, ids):
+    def _get_by_id(self, windcode, ids):
         df_res = []
         engine = get_engine(dataBase.DATA_DB)
         for id in ids: