longyu 2 năm trước cách đây
mục cha
commit
9536c8d0bc
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)
 	}