longyu 2 年 前
コミット
9536c8d0bc
1 ファイル変更1 行追加0 行削除
  1. 1 0
      models/base_from_coal.go

+ 1 - 0
models/base_from_coal.go

@@ -161,6 +161,7 @@ func RefreshEdbDataFromCoal(edbInfoId int, edbCode, startDate string) (err error
 	var pars []interface{}
 
 	if edbCode != "" {
+		condition += " AND index_code=? "
 		pars = append(pars, edbCode)
 	}