Browse Source

Merge branch 'fix_col' into debug

longyu 2 năm trước cách đây
mục cha
commit
68b175dc9c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 	}