xyxie 1 年之前
父节点
当前提交
6519961bc4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {