Browse Source

Merge branch 'feature/edb_update_check' of eta_server/eta_index_lib into master

xyxie 1 năm trước cách đây
mục cha
commit
48b99cf4bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/edb_info.go

+ 1 - 1
controllers/edb_info.go

@@ -303,7 +303,7 @@ func (this *EdbInfoController) RefreshCheck() {
 	updateCondition := condition + ` and latest_date = ?`
 	pars = append(pars, req.LatestDate)
 
-	unUpdateCondition := condition + ` and latest_date != ?`
+	unUpdateCondition := condition + ` and latest_date < ?`
 
 	updateNum, err := models.GetEdbInfoCountByCondition(updateCondition, pars)
 	if err != nil {