mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	fix: 数据库查询-前端long类型精度丢失&bit类型无法展示
This commit is contained in:
		@@ -242,10 +242,10 @@ func (d *Db) DumpSql(rc *ctx.ReqCtx) {
 | 
			
		||||
		// 查询出所有列信息总数,手动分页获取所有数据
 | 
			
		||||
		maCount := 0
 | 
			
		||||
		// 查询出所有列信息总数,手动分页获取所有数据
 | 
			
		||||
		if count64, is64 := countRes[0]["maNum"].(int64); is64 {
 | 
			
		||||
		if count64, is64 := countRes[0]["count"].(int64); is64 {
 | 
			
		||||
			maCount = int(count64)
 | 
			
		||||
		} else {
 | 
			
		||||
			maCount = countRes[0]["maNum"].(int)
 | 
			
		||||
			maCount = countRes[0]["count"].(int)
 | 
			
		||||
		}
 | 
			
		||||
		// 计算需要查询的页数
 | 
			
		||||
		pageNum := maCount / DEFAULT_COLUMN_SIZE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user