feat: sql执行记录新增查看回滚sql

This commit is contained in:
meilin.huang
2022-06-17 17:58:35 +08:00
parent 9b9173dea7
commit 5ad0d90038
4 changed files with 92 additions and 20 deletions

View File

@@ -407,7 +407,6 @@ func (d *DbInstance) GetColumnMetadatas(tableNames ...string) []map[string]inter
countSql := fmt.Sprintf(countSqlTmp, tableName)
_, countRes, _ := d.SelectData(countSql)
// 查询出所有列信息总数,手动分页获取所有数据
// maCount, _ := strconv.Atoi(countRes[0]["maNum"].(string))
maCount := int(countRes[0]["maNum"].(int64))
// 计算需要查询的页数
pageNum := maCount / DEFAULT_COLUMN_SIZE