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)
 	}