Browse Source

Merge branch 'ETA_2.3.0' into debug

xiziwen 4 months ago
parent
commit
a53bbd74d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/data_manage/edb_info.go

+ 1 - 1
models/data_manage/edb_info.go

@@ -1462,7 +1462,7 @@ func GetEdbInfoListByCondition(condition string, pars []interface{}, startSize,
 
 
 	sql += ` ORDER BY edb_info_id `
 	sql += ` ORDER BY edb_info_id `
 	sql += orderDesc
 	sql += orderDesc
-	if startSize > 0 && pageSize > 0 {
+	if pageSize > 0 {
 		sql += ` LIMIT ?,? `
 		sql += ` LIMIT ?,? `
 		pars = append(pars, startSize, pageSize)
 		pars = append(pars, startSize, pageSize)
 	}
 	}