xyxie 1 éve
szülő
commit
6519961bc4
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 {