diff --git a/.cursor/debug.log b/.cursor/debug.log index 9f3dba6..a8d9937 100644 --- a/.cursor/debug.log +++ b/.cursor/debug.log @@ -1,632 +1,392 @@ -{"data":{"query":"SELECT TABLE_NAME as name,TABLE_COMMENT as label FROM INFORMATION_SCHEMA.TABLES WHERE `TABLE_SCHEMA` =? ;","table":"INFORMATION_SCHEMA.TABLES"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276211} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276221} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276224} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276228} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276231} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276234} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276238} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276241} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276244} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276245} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276248} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276250} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276254} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276256} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276260} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276263} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276265} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276268} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276270} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276274} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276276} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276280} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276284} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276287} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276291} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276294} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276297} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276301} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276304} -{"data":{"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;","table":"INFORMATION_SCHEMA.COLUMNS"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025276307} -{"data":{"concurrency":30,"iterations":10},"hypothesisId":"D","location":"main.go:db:start","message":"开始数据库并发测试","sessionId":"debug-session","timestamp":1769025282458} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282467} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282469} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282469} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282468} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282469} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282470} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282470} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282470} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282470} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282471} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282471} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282471} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282470} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282473} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282473} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282473} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282473} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282477} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282480} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282481} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282481} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282483} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282483} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282484} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282484} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282485} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282487} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282487} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282488} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282488} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282488} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282491} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282491} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282491} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282492} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282493} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282494} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282495} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282495} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282495} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282495} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282496} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282496} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282496} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282496} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282496} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282497} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282498} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282498} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282498} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282499} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282499} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282499} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282500} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282500} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282501} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282501} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282503} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282503} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282503} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282504} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282504} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282505} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282505} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282505} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282507} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282507} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282509} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282509} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282509} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282509} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282509} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282510} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282511} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282512} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282512} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282512} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282512} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282513} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282514} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282515} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282515} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282515} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282517} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282519} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282519} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282521} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282522} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282522} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282522} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282523} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282523} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282524} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282524} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282526} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282526} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282527} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282527} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282529} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282531} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282531} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282531} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282531} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282532} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282535} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282535} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282538} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282540} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282540} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282540} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282540} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282542} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282543} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282544} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282544} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282545} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282545} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282544} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282545} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282545} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282546} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282546} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282548} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282548} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282548} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282548} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282549} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282549} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282550} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282552} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282552} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282552} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282553} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282553} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282553} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282554} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282554} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282556} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282558} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282558} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282558} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282559} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282559} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282559} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282559} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282560} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282560} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282561} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282560} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282562} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282562} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282563} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282563} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282563} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282564} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282564} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282564} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282565} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282566} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282566} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282566} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282566} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282566} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282567} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282567} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282567} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282567} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282569} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282569} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282569} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282570} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282570} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282570} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282571} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282571} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282573} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282575} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282575} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282576} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282576} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282576} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282576} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282577} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282577} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282577} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282577} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282578} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282578} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282578} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282580} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282582} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282582} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282582} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282582} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282583} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282583} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282583} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282584} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282585} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282585} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282585} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282585} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282587} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282587} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282587} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282587} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282589} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282589} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282589} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282590} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282590} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282591} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282591} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282593} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282594} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282594} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282594} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282594} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282594} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282595} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282596} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282596} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282596} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282596} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282598} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282598} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282598} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282598} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282598} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282600} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282601} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282601} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282601} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282601} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282601} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282602} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282603} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282603} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282605} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282605} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282605} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282606} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282606} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282606} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282607} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282607} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282607} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282608} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282608} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282608} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282608} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282608} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282610} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282610} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282610} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282610} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282610} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282611} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282611} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282611} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282612} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282612} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282613} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282614} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282614} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282614} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282615} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282615} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282616} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282616} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282616} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282617} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282617} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282617} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282618} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282618} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282619} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282619} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282620} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282621} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282621} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282624} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282624} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282624} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282624} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282625} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282625} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282625} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282627} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282627} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282627} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282627} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282627} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282632} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282632} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282634} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282635} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282636} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282635} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282636} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282636} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282637} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282637} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282637} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282637} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282639} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282639} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282639} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282639} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282639} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282640} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282640} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282641} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282641} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282642} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282642} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282644} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282644} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282644} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282645} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282645} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282645} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282649} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282649} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282649} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282650} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282651} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282651} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282651} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282651} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282652} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282653} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282653} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282655} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282655} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282655} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282658} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282660} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282660} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282660} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282660} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282661} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282661} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282661} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282661} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282662} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282662} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282662} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282662} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282663} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282663} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282663} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282663} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282664} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282666} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282667} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282667} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282667} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282668} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282669} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282669} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282670} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282670} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282670} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282670} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282672} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282672} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282672} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282672} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282675} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282675} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282676} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282676} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282676} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282676} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282677} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282677} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282678} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282678} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282679} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282679} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282679} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282680} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282680} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282680} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282683} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282682} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282683} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282683} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282684} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282684} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282686} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282686} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282686} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282686} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282687} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282687} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282687} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282687} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282690} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282690} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282690} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282690} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282691} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282691} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282691} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282692} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282692} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282692} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282692} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282693} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282693} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282693} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282695} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282695} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282695} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282695} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282696} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282697} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282697} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282698} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282698} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282698} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282698} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282700} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282700} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282700} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282701} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282701} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282701} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282701} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282703} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282703} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282703} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282703} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282703} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282704} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282704} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282704} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282704} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282706} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282707} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282707} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282708} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282709} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282709} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282709} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282711} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282711} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282711} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282712} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282712} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282713} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282713} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282714} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282714} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282714} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282714} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282714} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282715} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282716} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282718} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282719} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282719} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282719} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282719} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282719} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282721} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282722} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282722} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282723} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282723} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282723} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282724} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282724} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282724} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282724} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282725} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282727} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282727} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282727} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282729} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282730} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282731} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282731} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282733} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282733} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282733} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282734} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282734} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282734} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282736} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282736} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282736} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282737} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282740} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282740} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282740} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282740} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282741} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282741} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282742} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282742} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282743} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282744} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282745} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282745} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282745} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282746} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282746} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282747} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282747} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282747} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282748} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282748} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282750} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282750} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282750} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282753} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282753} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282755} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282757} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282760} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282760} -{"data":{"table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Insert:exec","message":"执行Insert","sessionId":"db-debug","timestamp":1769025282763} -{"data":{"query":"SELECT * FROM `test_concurrent` WHERE `id` =? LIMIT 1 ;","table":"test_concurrent"},"hypothesisId":"J","location":"hotimedb.go:Select:db_query","message":"执行数据库查询","sessionId":"db-debug","timestamp":1769025282767} -{"data":{"duration_ms":303,"errorCount":0,"successCount":300,"total":300},"hypothesisId":"D","location":"main.go:db:end","message":"数据库并发测试完成","sessionId":"debug-session","timestamp":1769025282770} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029763643} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029768948} +{"data":null,"hypothesisId":"ALL_TESTS","location":"main.go:48","message":"开始所有测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776477} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776477} +{"data":{"success":false,"userId":0},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776494} +{"data":{"success":false,"user":null},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776497} +{"data":{"count":0},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776502} +{"data":{"count":0,"query":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776507} +{"data":{"affected":0},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776510} +{"data":{"affected":0},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776522} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776522} +{"data":{"count":0},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776527} +{"data":{"count":0,"query":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776531} +{"data":{"count":0},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776534} +{"data":{"count":0},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776538} +{"data":{"count":0,"query":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776542} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776547} +{"data":{"count":0,"query":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776552} +{"data":{"count":0},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776558} +{"data":{"count":0,"query":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776564} +{"data":{"count":0},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776573} +{"data":{"count":0},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776577} +{"data":{"count":0},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776581} +{"data":{"count":0,"query":"SELECT id,name,created_time FROM `user` WHERE `created_time` =\u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776586} +{"data":{"count":0},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776589} +{"data":{"count":0},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776595} +{"data":{"count":0,"query":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776600} +{"data":null,"hypothesisId":"H3_CHAIN","location":"main.go:366","message":"开始链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776600} +{"data":{"count":0},"hypothesisId":"H3_BASIC","location":"main.go:375","message":"基本链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776605} +{"data":{"count":0},"hypothesisId":"H3_AND","location":"main.go:387","message":"链式 And 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776609} +{"data":{"count":0},"hypothesisId":"H3_OR","location":"main.go:401","message":"链式 Or 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776613} +{"data":{"count":0},"hypothesisId":"H3_ORDER","location":"main.go:413","message":"链式 Order 排序测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776618} +{"data":{"count":0},"hypothesisId":"H3_LIMIT","location":"main.go:424","message":"链式 Limit 限制测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776623} +{"data":{"user":null},"hypothesisId":"H3_GET","location":"main.go:434","message":"链式 Get 获取单条测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776628} +{"data":{"count":0},"hypothesisId":"H3_COUNT","location":"main.go:444","message":"链式 Count 统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776632} +{"data":{"count":0},"hypothesisId":"H3_PAGE","location":"main.go:455","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776639} +{"data":{"stats":[]},"hypothesisId":"H3_GROUP","location":"main.go:466","message":"链式 Group 分组测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776643} +{"data":{"name":"链式 Update 更新","note":"无可用测试数据","result":true},"hypothesisId":"H3_UPDATE","location":"main.go:483","message":"链式 Update 更新测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776647} +{"data":null,"hypothesisId":"H4_JOIN","location":"main.go:496","message":"开始 JOIN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776647} +{"data":{"count":0},"hypothesisId":"H4_LEFT_JOIN","location":"main.go:508","message":"LEFT JOIN 链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776653} +{"data":{"count":0,"query":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;"},"hypothesisId":"H4_TRADITIONAL_JOIN","location":"main.go:525","message":"传统 JOIN 语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776657} +{"data":{"count":0},"hypothesisId":"H4_MULTI_JOIN","location":"main.go:539","message":"多表 JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776662} +{"data":{"count":0},"hypothesisId":"H4_INNER_JOIN","location":"main.go:551","message":"INNER JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776665} +{"data":null,"hypothesisId":"H5_AGGREGATE","location":"main.go:564","message":"开始聚合函数测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776665} +{"data":{"count":0},"hypothesisId":"H5_COUNT","location":"main.go:571","message":"Count 总数统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776672} +{"data":{"count":0},"hypothesisId":"H5_COUNT_WHERE","location":"main.go:579","message":"Count 条件统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776676} +{"data":{"sum":0},"hypothesisId":"H5_SUM","location":"main.go:587","message":"Sum 求和测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776684} +{"data":{"avg":0},"hypothesisId":"H5_AVG","location":"main.go:595","message":"Avg 平均值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776689} +{"data":{"max":0},"hypothesisId":"H5_MAX","location":"main.go:603","message":"Max 最大值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776696} +{"data":{"min":0},"hypothesisId":"H5_MIN","location":"main.go:611","message":"Min 最小值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776699} +{"data":{"stats":[]},"hypothesisId":"H5_GROUP_BY","location":"main.go:625","message":"GROUP BY 分组统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776705} +{"data":null,"hypothesisId":"H6_PAGINATION","location":"main.go:638","message":"开始分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776705} +{"data":{"count":0},"hypothesisId":"H6_PAGE_SELECT","location":"main.go:648","message":"PageSelect 分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776713} +{"data":{"count":0},"hypothesisId":"H6_PAGE_2","location":"main.go:659","message":"PageSelect 第二页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776721} +{"data":{"count":0},"hypothesisId":"H6_CHAIN_PAGE","location":"main.go:671","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776727} +{"data":{"count":0,"query":"SELECT `id,name` FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;"},"hypothesisId":"H6_OFFSET","location":"main.go:684","message":"Offset 偏移查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776734} +{"data":null,"hypothesisId":"H7_BATCH","location":"main.go:697","message":"开始批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776735} +{"data":{"affected":0,"query":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)"},"hypothesisId":"H7_BATCH_INSERT","location":"main.go:710","message":"BatchInsert 批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776740} +{"data":{"affected":0},"hypothesisId":"H7_BATCH_RAW","location":"main.go:722","message":"BatchInsert 带 [#] 标记测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776746} +{"data":null,"hypothesisId":"H8_UPSERT","location":"main.go:739","message":"开始 Upsert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776758} +{"data":{"affected":0,"query":"INSERT INTO `user` (`name`, `email`, `age`, `status`, `level`, `balance`, `created_time`) VALUES (?, ?, ?, ?, ?, ?, NOW()) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `age` = VALUES(`age`), `status` = VALUES(`status`), `level` = VALUES(`level`), `balance` = VALUES(`balance`)"},"hypothesisId":"H8_UPSERT_INSERT","location":"main.go:763","message":"Upsert 插入新记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776763} +{"data":{"affected":0},"hypothesisId":"H8_UPSERT_UPDATE","location":"main.go:783","message":"Upsert 更新已存在记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776769} +{"data":null,"hypothesisId":"H9_TRANSACTION","location":"main.go:803","message":"开始事务测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776781} +{"data":{"userId":0},"hypothesisId":"H9_TX_INSERT","location":"main.go:818","message":"事务内插入用户","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776805} +{"data":{"success":false,"userExists":false},"hypothesisId":"H9_TX_SUCCESS","location":"main.go:831","message":"事务成功提交测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776812} +{"data":{"userId":0},"hypothesisId":"H9_TX_ROLLBACK_INSERT","location":"main.go:846","message":"事务内插入(将回滚)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776817} +{"data":{"rolledBack":true,"success":false},"hypothesisId":"H9_TX_ROLLBACK","location":"main.go:856","message":"事务回滚测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776822} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776825} +{"data":{"count":0},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776830} +{"data":{"name":"Exec 原生执行","note":"无可用测试数据","result":true},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776833} +{"data":{"10_raw_sql":{"name":"原生SQL测试","success":true,"tests":[{"count":0,"name":"Query 原生查询","result":true},{"name":"Exec 原生执行","note":"无可用测试数据","result":true}]},"1_basic_crud":{"name":"基础CRUD测试","success":true,"tests":[{"lastQuery":"INSERT INTO `user` (`email`,`age`,`status`,`balance`,`level`,`created_time`,`name`) VALUES (?,?,?,?,?,NOW(),?);","name":"Insert 插入测试","result":false,"userId":0},{"name":"Get 获取单条记录测试","result":false,"user":null},{"count":0,"name":"Select 单条件查询测试","result":false},{"count":0,"lastQuery":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;","name":"Select 多条件自动AND测试","result":true},{"affected":0,"name":"Update 更新测试","result":false},{"affected":0,"name":"Delete 删除测试","result":false}]},"2_condition_syntax":{"name":"条件查询语法测试","success":true,"tests":[{"count":0,"name":"等于条件 (=)","result":true},{"count":0,"lastQuery":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;","name":"不等于条件 ([!])","result":true},{"count":0,"name":"大于小于条件 ([\u003e], [\u003c])","result":true},{"count":0,"name":"大于等于小于等于条件 ([\u003e=], [\u003c=])","result":true},{"count":0,"lastQuery":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;","name":"LIKE 模糊查询 ([~])","result":true},{"count":0,"name":"右模糊查询 ([~!])","result":true},{"count":0,"lastQuery":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;","name":"BETWEEN 区间查询 ([\u003c\u003e])","result":true},{"count":0,"name":"NOT BETWEEN 查询 ([\u003e\u003c])","result":true},{"count":0,"lastQuery":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;","name":"IN 查询","result":true},{"count":0,"name":"NOT IN 查询 ([!])","result":true},{"count":0,"name":"IS NULL 查询","result":true},{"count":0,"name":"IS NOT NULL 查询 ([!])","result":true},{"count":0,"lastQuery":"SELECT id,name,created_time FROM `user` WHERE `created_time` =\u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;","name":"直接 SQL 查询 ([#])","result":true},{"count":0,"name":"显式 AND 条件","result":true},{"count":0,"name":"OR 条件","result":true},{"count":0,"lastQuery":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;","name":"嵌套 AND/OR 条件","result":true}]},"3_chain_query":{"name":"链式查询测试","success":true,"tests":[{"count":0,"name":"基本链式查询 Table().Where().Select()","result":true},{"count":0,"name":"链式 And 条件","result":true},{"count":0,"name":"链式 Or 条件","result":true},{"count":0,"name":"链式 Order 排序","result":true},{"count":0,"name":"链式 Limit 限制","result":true},{"name":"链式 Get 获取单条","result":false,"user":null},{"count":0,"name":"链式 Count 统计","result":true},{"count":0,"name":"链式 Page 分页","result":true},{"name":"链式 Group 分组","result":true,"stats":[]},{"name":"链式 Update 更新","note":"无可用测试数据","result":true}]},"4_join_query":{"name":"JOIN查询测试","success":true,"tests":[{"count":0,"data":[],"name":"LEFT JOIN 链式查询","result":true},{"count":0,"lastQuery":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;","name":"传统 JOIN 语法","result":true},{"count":0,"data":[],"name":"多表 JOIN","result":true},{"count":0,"name":"INNER JOIN","result":true}]},"5_aggregate":{"name":"聚合函数测试","success":true,"tests":[{"count":0,"name":"Count 总数统计","result":true},{"count":0,"name":"Count 条件统计","result":true},{"name":"Sum 求和","result":true,"sum":0},{"avg":0,"name":"Avg 平均值","result":true},{"max":0,"name":"Max 最大值","result":true},{"min":0,"name":"Min 最小值","result":true},{"name":"GROUP BY 分组统计","result":true,"stats":[]}]},"6_pagination":{"name":"分页查询测试","success":true,"tests":[{"count":0,"name":"PageSelect 分页查询","result":true},{"count":0,"name":"PageSelect 第二页","result":true},{"count":0,"name":"链式 Page 分页","result":true},{"count":0,"lastQuery":"SELECT `id,name` FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;","name":"Offset 偏移查询","result":true}]},"7_batch_insert":{"name":"批量插入测试","success":true,"tests":[{"affected":0,"lastQuery":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)","name":"BatchInsert 批量插入","result":true},{"affected":0,"name":"BatchInsert 带 [#] 标记","result":true}]},"8_upsert":{"name":"Upsert测试","success":true,"tests":[{"affected":0,"lastQuery":"INSERT INTO `user` (`name`, `email`, `age`, `status`, `level`, `balance`, `created_time`) VALUES (?, ?, ?, ?, ?, ?, NOW()) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `age` = VALUES(`age`), `status` = VALUES(`status`), `level` = VALUES(`level`), `balance` = VALUES(`balance`)","name":"Upsert 插入新记录","result":true},{"affected":0,"name":"Upsert 更新已存在记录","result":true,"updatedUser":null}]},"9_transaction":{"name":"事务测试","success":true,"tests":[{"name":"事务成功提交","result":false,"userExists":false},{"name":"事务回滚","result":true,"userRolledBack":true}]}},"hypothesisId":"ALL_TESTS_DONE","location":"main.go:80","message":"所有测试完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029776833} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029852175} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029941589} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769029945151} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030041708} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030072829} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030113956} +{"data":null,"hypothesisId":"ALL_TESTS","location":"main.go:48","message":"开始所有测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121459} +{"data":{"userCount":5},"hypothesisId":"INIT","location":"main.go:init","message":"测试表初始化完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121502} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121503} +{"data":{"success":false,"userId":0},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121503} +{"data":{"success":false,"user":null},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121503} +{"data":{"count":4},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121504} +{"data":{"count":4,"query":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121504} +{"data":{"affected":0},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121504} +{"data":{"affected":0},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121505} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121505} +{"data":{"count":3},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121505} +{"data":{"count":3,"query":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121506} +{"data":{"count":3},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121506} +{"data":{"count":3},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121506} +{"data":{"count":1,"query":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121507} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121508} +{"data":{"count":3,"query":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121508} +{"data":{"count":3},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121509} +{"data":{"count":5,"query":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121509} +{"data":{"count":2},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121509} +{"data":{"count":3},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121509} +{"data":{"count":0},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121510} +{"data":{"count":0,"query":"SELECT id,name,created_time FROM `user` WHERE `[##]` =? LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 片段查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121510} +{"data":{"count":3},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121511} +{"data":{"count":3},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121511} +{"data":{"count":3,"query":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121511} +{"data":null,"hypothesisId":"H3_CHAIN","location":"main.go:366","message":"开始链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121511} +{"data":{"count":0},"hypothesisId":"H3_BASIC","location":"main.go:375","message":"基本链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121512} +{"data":{"count":0},"hypothesisId":"H3_AND","location":"main.go:387","message":"链式 And 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121512} +{"data":{"count":0},"hypothesisId":"H3_OR","location":"main.go:401","message":"链式 Or 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121513} +{"data":{"count":0},"hypothesisId":"H3_ORDER","location":"main.go:413","message":"链式 Order 排序测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121513} +{"data":{"count":0},"hypothesisId":"H3_LIMIT","location":"main.go:424","message":"链式 Limit 限制测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121514} +{"data":{"user":null},"hypothesisId":"H3_GET","location":"main.go:434","message":"链式 Get 获取单条测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121514} +{"data":{"count":4},"hypothesisId":"H3_COUNT","location":"main.go:444","message":"链式 Count 统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121515} +{"data":{"count":0},"hypothesisId":"H3_PAGE","location":"main.go:455","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121515} +{"data":{"stats":[]},"hypothesisId":"H3_GROUP","location":"main.go:466","message":"链式 Group 分组测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121515} +{"data":{"affected":0,"name":"链式 Update 更新","result":true},"hypothesisId":"H3_UPDATE","location":"main.go:483","message":"链式 Update 更新测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121516} +{"data":null,"hypothesisId":"H4_JOIN","location":"main.go:496","message":"开始 JOIN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121516} +{"data":{"count":0},"hypothesisId":"H4_LEFT_JOIN","location":"main.go:508","message":"LEFT JOIN 链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121516} +{"data":{"count":0,"query":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;"},"hypothesisId":"H4_TRADITIONAL_JOIN","location":"main.go:525","message":"传统 JOIN 语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121516} +{"data":{"count":0},"hypothesisId":"H4_MULTI_JOIN","location":"main.go:539","message":"多表 JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121518} +{"data":{"count":0},"hypothesisId":"H4_INNER_JOIN","location":"main.go:551","message":"INNER JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121518} +{"data":null,"hypothesisId":"H5_AGGREGATE","location":"main.go:564","message":"开始聚合函数测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121518} +{"data":{"count":5},"hypothesisId":"H5_COUNT","location":"main.go:571","message":"Count 总数统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121519} +{"data":{"count":4},"hypothesisId":"H5_COUNT_WHERE","location":"main.go:579","message":"Count 条件统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121519} +{"data":{"sum":16500},"hypothesisId":"H5_SUM","location":"main.go:587","message":"Sum 求和测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121519} +{"data":{"avg":29.5},"hypothesisId":"H5_AVG","location":"main.go:595","message":"Avg 平均值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121520} +{"data":{"max":35},"hypothesisId":"H5_MAX","location":"main.go:603","message":"Max 最大值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121520} +{"data":{"min":25},"hypothesisId":"H5_MIN","location":"main.go:611","message":"Min 最小值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121520} +{"data":{"stats":[{"avg_age":30,"level":"normal","total_balance":1500,"user_count":2},{"avg_age":30,"level":"vip","total_balance":5000,"user_count":1},{"avg_age":28,"level":"svip","total_balance":10000,"user_count":1}]},"hypothesisId":"H5_GROUP_BY","location":"main.go:625","message":"GROUP BY 分组统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121521} +{"data":null,"hypothesisId":"H6_PAGINATION","location":"main.go:638","message":"开始分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121521} +{"data":{"count":4},"hypothesisId":"H6_PAGE_SELECT","location":"main.go:648","message":"PageSelect 分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121522} +{"data":{"count":0},"hypothesisId":"H6_PAGE_2","location":"main.go:659","message":"PageSelect 第二页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121522} +{"data":{"count":0},"hypothesisId":"H6_CHAIN_PAGE","location":"main.go:671","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121522} +{"data":{"count":0,"query":"SELECT `id,name` FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;"},"hypothesisId":"H6_OFFSET","location":"main.go:684","message":"Offset 偏移查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121523} +{"data":null,"hypothesisId":"H7_BATCH","location":"main.go:697","message":"开始批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121523} +{"data":{"affected":3,"query":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)"},"hypothesisId":"H7_BATCH_INSERT","location":"main.go:710","message":"BatchInsert 批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121526} +{"data":{"affected":0},"hypothesisId":"H7_BATCH_RAW","location":"main.go:722","message":"BatchInsert 带 [#] 标记测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121526} +{"data":null,"hypothesisId":"H8_UPSERT","location":"main.go:739","message":"开始 Upsert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121530} +{"data":{"affected":0,"query":"INSERT INTO \"user\" (\"age\", \"status\", \"level\", \"balance\", \"created_time\", \"name\", \"email\") VALUES (?, ?, ?, ?, NOW(), ?, ?) ON CONFLICT (\"email\") DO UPDATE SET \"name\" = excluded.\"name\", \"age\" = excluded.\"age\", \"status\" = excluded.\"status\", \"level\" = excluded.\"level\", \"balance\" = excluded.\"balance\""},"hypothesisId":"H8_UPSERT_INSERT","location":"main.go:763","message":"Upsert 插入新记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121531} +{"data":{"affected":0},"hypothesisId":"H8_UPSERT_UPDATE","location":"main.go:783","message":"Upsert 更新已存在记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121531} +{"data":null,"hypothesisId":"H9_TRANSACTION","location":"main.go:803","message":"开始事务测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121531} +{"data":{"userId":0},"hypothesisId":"H9_TX_INSERT","location":"main.go:818","message":"事务内插入用户","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121532} +{"data":{"success":false,"userExists":false},"hypothesisId":"H9_TX_SUCCESS","location":"main.go:831","message":"事务成功提交测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121533} +{"data":{"userId":0},"hypothesisId":"H9_TX_ROLLBACK_INSERT","location":"main.go:846","message":"事务内插入(将回滚)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121533} +{"data":{"rolledBack":true,"success":false},"hypothesisId":"H9_TX_ROLLBACK","location":"main.go:856","message":"事务回滚测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121533} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121534} +{"data":{"count":0},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121535} +{"data":{"error":{"Code":1,"ExtendedCode":1,"SystemErrno":0},"name":"Exec 原生执行","result":false},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121536} +{"data":{"10_raw_sql":{"name":"原生SQL测试","success":true,"tests":[{"count":0,"name":"Query 原生查询","result":true},{"error":{"Code":1,"ExtendedCode":1,"SystemErrno":0},"name":"Exec 原生执行","result":false}]},"1_basic_crud":{"name":"基础CRUD测试","success":true,"tests":[{"lastQuery":"INSERT INTO `user` (`name`,`email`,`age`,`status`,`balance`,`level`,`created_time`) VALUES (?,?,?,?,?,?,NOW());","name":"Insert 插入测试","result":false,"userId":0},{"name":"Get 获取单条记录测试","result":false,"user":null},{"count":4,"name":"Select 单条件查询测试","result":true},{"count":4,"lastQuery":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;","name":"Select 多条件自动AND测试","result":true},{"affected":0,"name":"Update 更新测试","result":false},{"affected":0,"name":"Delete 删除测试","result":false}]},"2_condition_syntax":{"name":"条件查询语法测试","success":true,"tests":[{"count":3,"name":"等于条件 (=)","result":true},{"count":3,"lastQuery":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;","name":"不等于条件 ([!])","result":true},{"count":3,"name":"大于小于条件 ([\u003e], [\u003c])","result":true},{"count":3,"name":"大于等于小于等于条件 ([\u003e=], [\u003c=])","result":true},{"count":1,"lastQuery":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;","name":"LIKE 模糊查询 ([~])","result":true},{"count":0,"name":"右模糊查询 ([~!])","result":true},{"count":3,"lastQuery":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;","name":"BETWEEN 区间查询 ([\u003c\u003e])","result":true},{"count":3,"name":"NOT BETWEEN 查询 ([\u003e\u003c])","result":true},{"count":5,"lastQuery":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;","name":"IN 查询","result":true},{"count":2,"name":"NOT IN 查询 ([!])","result":true},{"count":3,"name":"IS NULL 查询","result":true},{"count":0,"name":"IS NOT NULL 查询 ([!])","result":true},{"count":0,"lastQuery":"SELECT id,name,created_time FROM `user` WHERE `[##]` =? LIMIT 3 ;","name":"直接 SQL 片段查询 ([##])","result":true},{"count":3,"name":"显式 AND 条件","result":true},{"count":3,"name":"OR 条件","result":true},{"count":3,"lastQuery":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;","name":"嵌套 AND/OR 条件","result":true}]},"3_chain_query":{"name":"链式查询测试","success":true,"tests":[{"count":0,"name":"基本链式查询 Table().Where().Select()","result":true},{"count":0,"name":"链式 And 条件","result":true},{"count":0,"name":"链式 Or 条件","result":true},{"count":0,"name":"链式 Order 排序","result":true},{"count":0,"name":"链式 Limit 限制","result":true},{"name":"链式 Get 获取单条","result":false,"user":null},{"count":4,"name":"链式 Count 统计","result":true},{"count":0,"name":"链式 Page 分页","result":true},{"name":"链式 Group 分组","result":true,"stats":[]},{"affected":0,"name":"链式 Update 更新","result":true}]},"4_join_query":{"name":"JOIN查询测试","success":true,"tests":[{"count":0,"data":[],"name":"LEFT JOIN 链式查询","result":true},{"count":0,"lastQuery":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;","name":"传统 JOIN 语法","result":true},{"count":0,"data":[],"name":"多表 JOIN","result":true},{"count":0,"name":"INNER JOIN","result":true}]},"5_aggregate":{"name":"聚合函数测试","success":true,"tests":[{"count":5,"name":"Count 总数统计","result":true},{"count":4,"name":"Count 条件统计","result":true},{"name":"Sum 求和","result":true,"sum":16500},{"avg":29.5,"name":"Avg 平均值","result":true},{"max":35,"name":"Max 最大值","result":true},{"min":25,"name":"Min 最小值","result":true},{"name":"GROUP BY 分组统计","result":true,"stats":[{"avg_age":30,"level":"normal","total_balance":1500,"user_count":2},{"avg_age":30,"level":"vip","total_balance":5000,"user_count":1},{"avg_age":28,"level":"svip","total_balance":10000,"user_count":1}]}]},"6_pagination":{"name":"分页查询测试","success":true,"tests":[{"count":4,"name":"PageSelect 分页查询","result":true},{"count":0,"name":"PageSelect 第二页","result":true},{"count":0,"name":"链式 Page 分页","result":true},{"count":0,"lastQuery":"SELECT `id,name` FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;","name":"Offset 偏移查询","result":true}]},"7_batch_insert":{"name":"批量插入测试","success":true,"tests":[{"affected":3,"lastQuery":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)","name":"BatchInsert 批量插入","result":true},{"affected":0,"name":"BatchInsert 带 [#] 标记","result":true}]},"8_upsert":{"name":"Upsert测试","success":true,"tests":[{"affected":0,"lastQuery":"INSERT INTO \"user\" (\"age\", \"status\", \"level\", \"balance\", \"created_time\", \"name\", \"email\") VALUES (?, ?, ?, ?, NOW(), ?, ?) ON CONFLICT (\"email\") DO UPDATE SET \"name\" = excluded.\"name\", \"age\" = excluded.\"age\", \"status\" = excluded.\"status\", \"level\" = excluded.\"level\", \"balance\" = excluded.\"balance\"","name":"Upsert 插入新记录","result":true},{"affected":0,"name":"Upsert 更新已存在记录","result":true,"updatedUser":null}]},"9_transaction":{"name":"事务测试","success":true,"tests":[{"name":"事务成功提交","result":false,"userExists":false},{"name":"事务回滚","result":true,"userRolledBack":true}]}},"hypothesisId":"ALL_TESTS_DONE","location":"main.go:80","message":"所有测试完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030121537} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030276943} +{"data":null,"hypothesisId":"ALL_TESTS","location":"main.go:48","message":"开始所有测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279608} +{"data":{"userCount":5},"hypothesisId":"INIT","location":"main.go:init","message":"测试表初始化完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279609} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279610} +{"data":{"success":false,"userId":0},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279610} +{"data":{"success":false,"user":null},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279611} +{"data":{"count":4},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279611} +{"data":{"count":4,"query":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279611} +{"data":{"affected":0},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279612} +{"data":{"affected":0},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279612} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279612} +{"data":{"count":3},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279613} +{"data":{"count":3,"query":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279613} +{"data":{"count":3},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279614} +{"data":{"count":3},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279614} +{"data":{"count":1,"query":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279614} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279615} +{"data":{"count":3,"query":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279615} +{"data":{"count":3},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279615} +{"data":{"count":5,"query":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279615} +{"data":{"count":2},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279616} +{"data":{"count":3},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279616} +{"data":{"count":0},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279616} +{"data":{"count":0,"query":"SELECT id,name,created_time FROM `user` WHERE created_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 片段查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279617} +{"data":{"count":3},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279618} +{"data":{"count":3},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279618} +{"data":{"count":3,"query":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279618} +{"data":null,"hypothesisId":"H3_CHAIN","location":"main.go:366","message":"开始链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279618} +{"data":{"count":4},"hypothesisId":"H3_BASIC","location":"main.go:375","message":"基本链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279619} +{"data":{"count":4},"hypothesisId":"H3_AND","location":"main.go:387","message":"链式 And 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279619} +{"data":{"count":2},"hypothesisId":"H3_OR","location":"main.go:401","message":"链式 Or 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279619} +{"data":{"count":4},"hypothesisId":"H3_ORDER","location":"main.go:413","message":"链式 Order 排序测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279620} +{"data":{"count":3},"hypothesisId":"H3_LIMIT","location":"main.go:424","message":"链式 Limit 限制测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279620} +{"data":{"user":{"email":"zhangsan@example.com","id":1,"name":"张三"}},"hypothesisId":"H3_GET","location":"main.go:434","message":"链式 Get 获取单条测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279620} +{"data":{"count":4},"hypothesisId":"H3_COUNT","location":"main.go:444","message":"链式 Count 统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279621} +{"data":{"count":4},"hypothesisId":"H3_PAGE","location":"main.go:455","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279621} +{"data":{"stats":[{"cnt":2,"level":"normal"},{"cnt":1,"level":"svip"},{"cnt":1,"level":"vip"}]},"hypothesisId":"H3_GROUP","location":"main.go:466","message":"链式 Group 分组测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279621} +{"data":{"affected":0,"name":"链式 Update 更新","result":true},"hypothesisId":"H3_UPDATE","location":"main.go:483","message":"链式 Update 更新测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279622} +{"data":null,"hypothesisId":"H4_JOIN","location":"main.go:496","message":"开始 JOIN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279622} +{"data":{"count":0},"hypothesisId":"H4_LEFT_JOIN","location":"main.go:508","message":"LEFT JOIN 链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279622} +{"data":{"count":0,"query":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;"},"hypothesisId":"H4_TRADITIONAL_JOIN","location":"main.go:525","message":"传统 JOIN 语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279623} +{"data":{"count":0},"hypothesisId":"H4_MULTI_JOIN","location":"main.go:539","message":"多表 JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279624} +{"data":{"count":0},"hypothesisId":"H4_INNER_JOIN","location":"main.go:551","message":"INNER JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279625} +{"data":null,"hypothesisId":"H5_AGGREGATE","location":"main.go:564","message":"开始聚合函数测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279625} +{"data":{"count":5},"hypothesisId":"H5_COUNT","location":"main.go:571","message":"Count 总数统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279625} +{"data":{"count":4},"hypothesisId":"H5_COUNT_WHERE","location":"main.go:579","message":"Count 条件统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279626} +{"data":{"sum":16500},"hypothesisId":"H5_SUM","location":"main.go:587","message":"Sum 求和测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279626} +{"data":{"avg":29.5},"hypothesisId":"H5_AVG","location":"main.go:595","message":"Avg 平均值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279626} +{"data":{"max":35},"hypothesisId":"H5_MAX","location":"main.go:603","message":"Max 最大值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279627} +{"data":{"min":25},"hypothesisId":"H5_MIN","location":"main.go:611","message":"Min 最小值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279627} +{"data":{"stats":[{"avg_age":30,"level":"normal","total_balance":1500,"user_count":2},{"avg_age":30,"level":"vip","total_balance":5000,"user_count":1},{"avg_age":28,"level":"svip","total_balance":10000,"user_count":1}]},"hypothesisId":"H5_GROUP_BY","location":"main.go:625","message":"GROUP BY 分组统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279627} +{"data":null,"hypothesisId":"H6_PAGINATION","location":"main.go:638","message":"开始分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279627} +{"data":{"count":4},"hypothesisId":"H6_PAGE_SELECT","location":"main.go:648","message":"PageSelect 分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279628} +{"data":{"count":0},"hypothesisId":"H6_PAGE_2","location":"main.go:659","message":"PageSelect 第二页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279628} +{"data":{"count":3},"hypothesisId":"H6_CHAIN_PAGE","location":"main.go:671","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279628} +{"data":{"count":2,"query":"SELECT id,name FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;"},"hypothesisId":"H6_OFFSET","location":"main.go:684","message":"Offset 偏移查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279629} +{"data":null,"hypothesisId":"H7_BATCH","location":"main.go:697","message":"开始批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279629} +{"data":{"affected":3,"query":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)"},"hypothesisId":"H7_BATCH_INSERT","location":"main.go:710","message":"BatchInsert 批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279633} +{"data":{"affected":0},"hypothesisId":"H7_BATCH_RAW","location":"main.go:722","message":"BatchInsert 带 [#] 标记测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279634} +{"data":null,"hypothesisId":"H8_UPSERT","location":"main.go:739","message":"开始 Upsert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279636} +{"data":{"affected":0,"query":"INSERT INTO \"user\" (\"status\", \"level\", \"balance\", \"created_time\", \"name\", \"email\", \"age\") VALUES (?, ?, ?, NOW(), ?, ?, ?) ON CONFLICT (\"email\") DO UPDATE SET \"name\" = excluded.\"name\", \"age\" = excluded.\"age\", \"status\" = excluded.\"status\", \"level\" = excluded.\"level\", \"balance\" = excluded.\"balance\""},"hypothesisId":"H8_UPSERT_INSERT","location":"main.go:763","message":"Upsert 插入新记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279637} +{"data":{"affected":0},"hypothesisId":"H8_UPSERT_UPDATE","location":"main.go:783","message":"Upsert 更新已存在记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279637} +{"data":null,"hypothesisId":"H9_TRANSACTION","location":"main.go:803","message":"开始事务测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279639} +{"data":{"userId":0},"hypothesisId":"H9_TX_INSERT","location":"main.go:818","message":"事务内插入用户","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279639} +{"data":{"success":false,"userExists":false},"hypothesisId":"H9_TX_SUCCESS","location":"main.go:831","message":"事务成功提交测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279639} +{"data":{"userId":0},"hypothesisId":"H9_TX_ROLLBACK_INSERT","location":"main.go:846","message":"事务内插入(将回滚)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279640} +{"data":{"rolledBack":true,"success":false},"hypothesisId":"H9_TX_ROLLBACK","location":"main.go:856","message":"事务回滚测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279640} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279640} +{"data":{"count":0},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279640} +{"data":{"error":{"Code":1,"ExtendedCode":1,"SystemErrno":0},"name":"Exec 原生执行","result":false},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279642} +{"data":{"10_raw_sql":{"name":"原生SQL测试","success":true,"tests":[{"count":0,"name":"Query 原生查询","result":true},{"error":{"Code":1,"ExtendedCode":1,"SystemErrno":0},"name":"Exec 原生执行","result":false}]},"1_basic_crud":{"name":"基础CRUD测试","success":true,"tests":[{"lastQuery":"INSERT INTO `user` (`level`,`created_time`,`name`,`email`,`age`,`status`,`balance`) VALUES (?,NOW(),?,?,?,?,?);","name":"Insert 插入测试","result":false,"userId":0},{"name":"Get 获取单条记录测试","result":false,"user":null},{"count":4,"name":"Select 单条件查询测试","result":true},{"count":4,"lastQuery":"SELECT * FROM `user` WHERE `age` \u003c? AND `age` \u003e? AND `status` =? ORDER BY id DESC LIMIT 5 ;","name":"Select 多条件自动AND测试","result":true},{"affected":0,"name":"Update 更新测试","result":false},{"affected":0,"name":"Delete 删除测试","result":false}]},"2_condition_syntax":{"name":"条件查询语法测试","success":true,"tests":[{"count":3,"name":"等于条件 (=)","result":true},{"count":3,"lastQuery":"SELECT id,name,status FROM `user` WHERE `status` !=? LIMIT 3 ;","name":"不等于条件 ([!])","result":true},{"count":3,"name":"大于小于条件 ([\u003e], [\u003c])","result":true},{"count":3,"name":"大于等于小于等于条件 ([\u003e=], [\u003c=])","result":true},{"count":1,"lastQuery":"SELECT id,name FROM `user` WHERE `name` LIKE ? LIMIT 3 ;","name":"LIKE 模糊查询 ([~])","result":true},{"count":0,"name":"右模糊查询 ([~!])","result":true},{"count":3,"lastQuery":"SELECT id,name,age FROM `user` WHERE `age` BETWEEN ? AND ? LIMIT 3 ;","name":"BETWEEN 区间查询 ([\u003c\u003e])","result":true},{"count":3,"name":"NOT BETWEEN 查询 ([\u003e\u003c])","result":true},{"count":5,"lastQuery":"SELECT id,name FROM `user` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;","name":"IN 查询","result":true},{"count":2,"name":"NOT IN 查询 ([!])","result":true},{"count":3,"name":"IS NULL 查询","result":true},{"count":0,"name":"IS NOT NULL 查询 ([!])","result":true},{"count":0,"lastQuery":"SELECT id,name,created_time FROM `user` WHERE created_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;","name":"直接 SQL 片段查询 ([##])","result":true},{"count":3,"name":"显式 AND 条件","result":true},{"count":3,"name":"OR 条件","result":true},{"count":3,"lastQuery":"SELECT id,name,age,level FROM `user` WHERE ( `age` \u003c? OR `level` =? ) AND `status` =? LIMIT 5 ;","name":"嵌套 AND/OR 条件","result":true}]},"3_chain_query":{"name":"链式查询测试","success":true,"tests":[{"count":4,"name":"基本链式查询 Table().Where().Select()","result":true},{"count":4,"name":"链式 And 条件","result":true},{"count":2,"name":"链式 Or 条件","result":true},{"count":4,"name":"链式 Order 排序","result":true},{"count":3,"name":"链式 Limit 限制","result":true},{"name":"链式 Get 获取单条","result":true,"user":{"email":"zhangsan@example.com","id":1,"name":"张三"}},{"count":4,"name":"链式 Count 统计","result":true},{"count":4,"name":"链式 Page 分页","result":true},{"name":"链式 Group 分组","result":true,"stats":[{"cnt":2,"level":"normal"},{"cnt":1,"level":"svip"},{"cnt":1,"level":"vip"}]},{"affected":0,"name":"链式 Update 更新","result":true}]},"4_join_query":{"name":"JOIN查询测试","success":true,"tests":[{"count":0,"data":[],"name":"LEFT JOIN 链式查询","result":true},{"count":0,"lastQuery":"SELECT app_order.id, app_order.amount, app_user.name as user_name FROM `order` LEFT JOIN `user` ON app_order.user_id = app_user.id WHERE app_order.status=? LIMIT 5 ;","name":"传统 JOIN 语法","result":true},{"count":0,"data":[],"name":"多表 JOIN","result":true},{"count":0,"name":"INNER JOIN","result":true}]},"5_aggregate":{"name":"聚合函数测试","success":true,"tests":[{"count":5,"name":"Count 总数统计","result":true},{"count":4,"name":"Count 条件统计","result":true},{"name":"Sum 求和","result":true,"sum":16500},{"avg":29.5,"name":"Avg 平均值","result":true},{"max":35,"name":"Max 最大值","result":true},{"min":25,"name":"Min 最小值","result":true},{"name":"GROUP BY 分组统计","result":true,"stats":[{"avg_age":30,"level":"normal","total_balance":1500,"user_count":2},{"avg_age":30,"level":"vip","total_balance":5000,"user_count":1},{"avg_age":28,"level":"svip","total_balance":10000,"user_count":1}]}]},"6_pagination":{"name":"分页查询测试","success":true,"tests":[{"count":4,"name":"PageSelect 分页查询","result":true},{"count":0,"name":"PageSelect 第二页","result":true},{"count":3,"name":"链式 Page 分页","result":true},{"count":2,"lastQuery":"SELECT id,name FROM `user` WHERE `status` =? LIMIT 3 OFFSET 2 ;","name":"Offset 偏移查询","result":true}]},"7_batch_insert":{"name":"批量插入测试","success":true,"tests":[{"affected":3,"lastQuery":"INSERT INTO `user_batch` (`email`, `name`, `status`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)","name":"BatchInsert 批量插入","result":true},{"affected":0,"name":"BatchInsert 带 [#] 标记","result":true}]},"8_upsert":{"name":"Upsert测试","success":true,"tests":[{"affected":0,"lastQuery":"INSERT INTO \"user\" (\"status\", \"level\", \"balance\", \"created_time\", \"name\", \"email\", \"age\") VALUES (?, ?, ?, NOW(), ?, ?, ?) ON CONFLICT (\"email\") DO UPDATE SET \"name\" = excluded.\"name\", \"age\" = excluded.\"age\", \"status\" = excluded.\"status\", \"level\" = excluded.\"level\", \"balance\" = excluded.\"balance\"","name":"Upsert 插入新记录","result":true},{"affected":0,"name":"Upsert 更新已存在记录","result":true,"updatedUser":null}]},"9_transaction":{"name":"事务测试","success":true,"tests":[{"name":"事务成功提交","result":false,"userExists":false},{"name":"事务回滚","result":true,"userRolledBack":true}]}},"hypothesisId":"ALL_TESTS_DONE","location":"main.go:80","message":"所有测试完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030279642} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030486929} +{"data":null,"hypothesisId":"TABLES","location":"main.go:tables","message":"查询数据库表结构","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030489537} +{"data":[{"Tables_in_dgs-cms260122":"admin"},{"Tables_in_dgs-cms260122":"article"},{"Tables_in_dgs-cms260122":"cached"},{"Tables_in_dgs-cms260122":"ctg"},{"Tables_in_dgs-cms260122":"ctg_article"},{"Tables_in_dgs-cms260122":"ctg_copy"},{"Tables_in_dgs-cms260122":"ebw_annex"},{"Tables_in_dgs-cms260122":"ebw_attachment"},{"Tables_in_dgs-cms260122":"ebw_customer"},{"Tables_in_dgs-cms260122":"ebw_items"},{"Tables_in_dgs-cms260122":"ebw_jobs"},{"Tables_in_dgs-cms260122":"ebw_news"},{"Tables_in_dgs-cms260122":"ebw_news_addition_res"},{"Tables_in_dgs-cms260122":"ebw_res"},{"Tables_in_dgs-cms260122":"ebw_user"},{"Tables_in_dgs-cms260122":"ebw_vote"},{"Tables_in_dgs-cms260122":"ebw_vote_option"},{"Tables_in_dgs-cms260122":"ebw_vote_user"},{"Tables_in_dgs-cms260122":"logs"},{"Tables_in_dgs-cms260122":"mail"},{"Tables_in_dgs-cms260122":"mail_discipline"},{"Tables_in_dgs-cms260122":"mail_part"},{"Tables_in_dgs-cms260122":"org"},{"Tables_in_dgs-cms260122":"role"},{"Tables_in_dgs-cms260122":"swiper_bottom"},{"Tables_in_dgs-cms260122":"swiper_center"},{"Tables_in_dgs-cms260122":"swiper_fly"},{"Tables_in_dgs-cms260122":"swiper_point"},{"Tables_in_dgs-cms260122":"swiper_sys"},{"Tables_in_dgs-cms260122":"swiper_top"}],"hypothesisId":"TABLES","location":"main.go:tables","message":"表列表","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030489541} +{"data":{"columns":[{"Default":null,"Extra":"auto_increment","Field":"id","Key":"PRI","Null":"NO","Type":"int(11)"},{"Default":null,"Extra":"","Field":"name","Key":"","Null":"YES","Type":"varchar(20)"},{"Default":null,"Extra":"","Field":"phone","Key":"","Null":"YES","Type":"varchar(15)"},{"Default":"0","Extra":"","Field":"state","Key":"","Null":"YES","Type":"int(2)"},{"Default":null,"Extra":"","Field":"password","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"avatar_img","Key":"","Null":"YES","Type":"varchar(200)"},{"Default":null,"Extra":"","Field":"role_id","Key":"","Null":"YES","Type":"int(11)"},{"Default":null,"Extra":"","Field":"title","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"modify_time","Key":"","Null":"YES","Type":"datetime"},{"Default":null,"Extra":"","Field":"create_time","Key":"","Null":"YES","Type":"datetime"}],"data":[],"table":"admin"},"hypothesisId":"DESCRIBE","location":"main.go:describe","message":"表结构","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030496424} +{"data":{"columns":[{"Default":null,"Extra":"auto_increment","Field":"id","Key":"PRI","Null":"NO","Type":"int(11)"},{"Default":null,"Extra":"","Field":"title","Key":"","Null":"YES","Type":"varchar(300)"},{"Default":"0","Extra":"","Field":"sort","Key":"","Null":"YES","Type":"int(4)"},{"Default":null,"Extra":"","Field":"author","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"origin","Key":"","Null":"YES","Type":"varchar(200)"},{"Default":null,"Extra":"","Field":"img","Key":"","Null":"YES","Type":"varchar(500)"},{"Default":null,"Extra":"","Field":"ctg_id","Key":"","Null":"YES","Type":"int(11)"},{"Default":null,"Extra":"","Field":"admin_id","Key":"","Null":"YES","Type":"int(11)"},{"Default":null,"Extra":"","Field":"push_time","Key":"","Null":"YES","Type":"datetime"},{"Default":"0","Extra":"","Field":"click_num","Key":"","Null":"YES","Type":"int(11)"},{"Default":null,"Extra":"","Field":"description","Key":"","Null":"YES","Type":"varchar(500)"},{"Default":null,"Extra":"","Field":"content","Key":"","Null":"YES","Type":"longtext"},{"Default":null,"Extra":"","Field":"sn","Key":"","Null":"YES","Type":"varchar(500)"},{"Default":null,"Extra":"","Field":"modify_time","Key":"","Null":"YES","Type":"datetime"},{"Default":null,"Extra":"","Field":"create_time","Key":"","Null":"YES","Type":"datetime"},{"Default":"0","Extra":"","Field":"state","Key":"","Null":"YES","Type":"int(2)"}],"data":[],"table":"article"},"hypothesisId":"DESCRIBE","location":"main.go:describe","message":"表结构","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030501928} +{"data":{"columns":[{"Default":null,"Extra":"","Field":"id","Key":"PRI","Null":"NO","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"no","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"account","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"name","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"sex","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"pass","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"mpass","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"adrress","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"tel","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"mail","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"type","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"depNo","Key":"","Null":"YES","Type":"varchar(50)"},{"Default":null,"Extra":"","Field":"depName","Key":"","Null":"YES","Type":"varchar(50)"}],"data":[],"table":"ebw_user"},"hypothesisId":"DESCRIBE","location":"main.go:describe","message":"表结构","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030502990} +{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030861539} +{"data":null,"hypothesisId":"ALL_TESTS","location":"main.go:48","message":"开始所有测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871152} +{"data":{"adminCount":13,"articleCount":16659,"dbType":"MySQL"},"hypothesisId":"INIT","location":"main.go:init","message":"MySQL数据库初始化检查完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871344} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871345} +{"data":{"adminId":16,"query":"INSERT INTO `admin` (`create_time`,`modify_time`,`name`,`phone`,`state`,`password`,`role_id`,`title`) VALUES (NOW(),NOW(),?,?,?,?,?,?);","success":true},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871361} +{"data":{"admin":{"avatar_img":null,"create_time":"2026-01-21 21:27:51","id":16,"modify_time":"2026-01-21 21:27:51","name":"测试管理员_1769030871","password":"test123456","phone":"13869030871","role_id":1,"state":1,"title":"测试职位"},"success":true},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871367} +{"data":{"count":1},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871375} +{"data":{"count":1,"query":"SELECT * FROM `admin` WHERE `role_id` \u003e? AND `state` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871383} +{"data":{"affected":1},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871400} +{"data":{"affected":1},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871408} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871408} +{"data":{"count":3},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871413} +{"data":{"count":3,"query":"SELECT id,title,state FROM `article` WHERE `state` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871416} +{"data":{"count":3},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871420} +{"data":{"count":3},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871423} +{"data":{"count":3,"query":"SELECT id,title FROM `article` WHERE `title` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871428} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871433} +{"data":{"count":3,"query":"SELECT id,title,click_num FROM `article` WHERE `click_num` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871438} +{"data":{"count":0},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871460} +{"data":{"count":5,"query":"SELECT id,title FROM `article` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871464} +{"data":{"count":5},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871469} +{"data":{"count":3},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871470} +{"data":{"count":3},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871473} +{"data":{"count":0,"query":"SELECT id,title,create_time FROM `article` WHERE create_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 片段查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871493} +{"data":{"count":3},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871497} +{"data":{"count":5},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871501} +{"data":{"count":5,"query":"SELECT id,title,sort,state FROM `article` WHERE ( `click_num` \u003e? OR `sort` \u003e=? ) AND `state` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871505} +{"data":null,"hypothesisId":"H3_CHAIN","location":"main.go:366","message":"开始链式查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871505} +{"data":{"count":16659},"hypothesisId":"H3_BASIC","location":"main.go:375","message":"基本链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871561} +{"data":{"count":16659},"hypothesisId":"H3_AND","location":"main.go:387","message":"链式 And 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871598} +{"data":{"count":16659},"hypothesisId":"H3_OR","location":"main.go:401","message":"链式 Or 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871635} +{"data":{"count":5},"hypothesisId":"H3_ORDER","location":"main.go:413","message":"链式 Order 排序测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871658} +{"data":{"count":3},"hypothesisId":"H3_LIMIT","location":"main.go:424","message":"链式 Limit 限制测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871661} +{"data":{"article":{"author":"atestu","id":1,"title":"atestu"}},"hypothesisId":"H3_GET","location":"main.go:434","message":"链式 Get 获取单条测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871664} +{"data":{"count":16659},"hypothesisId":"H3_COUNT","location":"main.go:444","message":"链式 Count 统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871687} +{"data":{"count":5},"hypothesisId":"H3_PAGE","location":"main.go:455","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871691} +{"data":{"stats":[{"cnt":627,"ctg_id":null},{"cnt":36,"ctg_id":1},{"cnt":57,"ctg_id":2},{"cnt":8,"ctg_id":3},{"cnt":38,"ctg_id":4},{"cnt":11,"ctg_id":5},{"cnt":79,"ctg_id":6},{"cnt":59,"ctg_id":7},{"cnt":54,"ctg_id":8},{"cnt":1,"ctg_id":9},{"cnt":12,"ctg_id":10},{"cnt":3,"ctg_id":11},{"cnt":5,"ctg_id":12},{"cnt":1,"ctg_id":13},{"cnt":1,"ctg_id":17},{"cnt":1,"ctg_id":18},{"cnt":1,"ctg_id":19},{"cnt":10,"ctg_id":20},{"cnt":1857,"ctg_id":21},{"cnt":632,"ctg_id":22},{"cnt":4912,"ctg_id":23},{"cnt":1235,"ctg_id":24},{"cnt":1156,"ctg_id":25},{"cnt":1165,"ctg_id":26},{"cnt":111,"ctg_id":27},{"cnt":115,"ctg_id":28},{"cnt":40,"ctg_id":29},{"cnt":42,"ctg_id":30},{"cnt":76,"ctg_id":31},{"cnt":11,"ctg_id":32},{"cnt":6,"ctg_id":33},{"cnt":6,"ctg_id":34},{"cnt":185,"ctg_id":35},{"cnt":3,"ctg_id":40},{"cnt":1,"ctg_id":41},{"cnt":4,"ctg_id":43},{"cnt":28,"ctg_id":44},{"cnt":11,"ctg_id":45},{"cnt":2,"ctg_id":46},{"cnt":2,"ctg_id":48},{"cnt":5,"ctg_id":49},{"cnt":1,"ctg_id":50},{"cnt":5,"ctg_id":51},{"cnt":2,"ctg_id":52},{"cnt":52,"ctg_id":53},{"cnt":3,"ctg_id":54},{"cnt":8,"ctg_id":55},{"cnt":5,"ctg_id":57},{"cnt":8,"ctg_id":60},{"cnt":20,"ctg_id":61},{"cnt":1,"ctg_id":65},{"cnt":43,"ctg_id":66},{"cnt":46,"ctg_id":67},{"cnt":30,"ctg_id":68},{"cnt":17,"ctg_id":69},{"cnt":165,"ctg_id":70},{"cnt":29,"ctg_id":71},{"cnt":15,"ctg_id":72},{"cnt":28,"ctg_id":73},{"cnt":123,"ctg_id":76},{"cnt":6,"ctg_id":77},{"cnt":1,"ctg_id":79},{"cnt":1,"ctg_id":80},{"cnt":1,"ctg_id":81},{"cnt":23,"ctg_id":83},{"cnt":1,"ctg_id":85},{"cnt":1,"ctg_id":86},{"cnt":6,"ctg_id":87},{"cnt":2,"ctg_id":89},{"cnt":1,"ctg_id":90},{"cnt":4,"ctg_id":92},{"cnt":4,"ctg_id":93},{"cnt":2,"ctg_id":96},{"cnt":7,"ctg_id":97},{"cnt":1,"ctg_id":99},{"cnt":1,"ctg_id":100},{"cnt":1,"ctg_id":101},{"cnt":3,"ctg_id":103},{"cnt":3,"ctg_id":106},{"cnt":55,"ctg_id":107},{"cnt":2,"ctg_id":108},{"cnt":1,"ctg_id":109},{"cnt":1,"ctg_id":110},{"cnt":1,"ctg_id":111},{"cnt":5,"ctg_id":113},{"cnt":2,"ctg_id":117},{"cnt":3,"ctg_id":119},{"cnt":1,"ctg_id":123},{"cnt":2,"ctg_id":124},{"cnt":2,"ctg_id":125},{"cnt":12,"ctg_id":127},{"cnt":2,"ctg_id":131},{"cnt":1,"ctg_id":133},{"cnt":1,"ctg_id":134},{"cnt":3,"ctg_id":137},{"cnt":1,"ctg_id":138},{"cnt":3,"ctg_id":140},{"cnt":20,"ctg_id":141},{"cnt":1,"ctg_id":143},{"cnt":1,"ctg_id":144},{"cnt":1,"ctg_id":145},{"cnt":1,"ctg_id":153},{"cnt":1,"ctg_id":154},{"cnt":1,"ctg_id":155},{"cnt":3,"ctg_id":157},{"cnt":1,"ctg_id":158},{"cnt":3,"ctg_id":160},{"cnt":17,"ctg_id":161},{"cnt":1,"ctg_id":163},{"cnt":1,"ctg_id":164},{"cnt":1,"ctg_id":170},{"cnt":1,"ctg_id":173},{"cnt":1,"ctg_id":174},{"cnt":1,"ctg_id":175},{"cnt":22,"ctg_id":177},{"cnt":41,"ctg_id":179},{"cnt":3,"ctg_id":180},{"cnt":17,"ctg_id":181},{"cnt":1,"ctg_id":183},{"cnt":1,"ctg_id":184},{"cnt":1,"ctg_id":185},{"cnt":7,"ctg_id":187},{"cnt":2,"ctg_id":190},{"cnt":20,"ctg_id":191},{"cnt":7,"ctg_id":193},{"cnt":23,"ctg_id":194},{"cnt":4,"ctg_id":195},{"cnt":81,"ctg_id":196},{"cnt":3,"ctg_id":197},{"cnt":5,"ctg_id":199},{"cnt":2,"ctg_id":200},{"cnt":1,"ctg_id":201},{"cnt":25,"ctg_id":202},{"cnt":31,"ctg_id":203},{"cnt":20,"ctg_id":204},{"cnt":15,"ctg_id":205},{"cnt":7,"ctg_id":206},{"cnt":34,"ctg_id":207},{"cnt":21,"ctg_id":208},{"cnt":11,"ctg_id":213},{"cnt":3,"ctg_id":214},{"cnt":2814,"ctg_id":215},{"cnt":2,"ctg_id":216},{"cnt":1,"ctg_id":217},{"cnt":1,"ctg_id":231}]},"hypothesisId":"H3_GROUP","location":"main.go:466","message":"链式 Group 分组测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030871778} +{"data":{"affected":1,"name":"链式 Update 更新","result":true},"hypothesisId":"H3_UPDATE","location":"main.go:483","message":"链式 Update 更新测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872026} +{"data":null,"hypothesisId":"H4_JOIN","location":"main.go:496","message":"开始 JOIN 查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872026} +{"data":{"count":5},"hypothesisId":"H4_LEFT_JOIN","location":"main.go:508","message":"LEFT JOIN 链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872517} +{"data":{"count":5,"query":"SELECT article.id, article.title, ctg.name as ctg_name FROM `article` LEFT JOIN `ctg` ON article.ctg_id = ctg.id WHERE article.state=? LIMIT 5 ;"},"hypothesisId":"H4_TRADITIONAL_JOIN","location":"main.go:525","message":"传统 JOIN 语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872521} +{"data":{"count":5},"hypothesisId":"H4_MULTI_JOIN","location":"main.go:539","message":"多表 JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872523} +{"data":{"count":5},"hypothesisId":"H4_INNER_JOIN","location":"main.go:551","message":"INNER JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872525} +{"data":null,"hypothesisId":"H5_AGGREGATE","location":"main.go:564","message":"开始聚合函数测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872525} +{"data":{"count":16659},"hypothesisId":"H5_COUNT","location":"main.go:571","message":"Count 总数统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872545} +{"data":{"count":16659},"hypothesisId":"H5_COUNT_WHERE","location":"main.go:579","message":"Count 条件统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872568} +{"data":{"sum":499106},"hypothesisId":"H5_SUM","location":"main.go:587","message":"Sum 求和测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872592} +{"data":{"avg":29.9601},"hypothesisId":"H5_AVG","location":"main.go:595","message":"Avg 平均值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872615} +{"data":{"max":4803},"hypothesisId":"H5_MAX","location":"main.go:603","message":"Max 最大值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872649} +{"data":{"min":0},"hypothesisId":"H5_MIN","location":"main.go:611","message":"Min 最小值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872674} +{"data":{"stats":[{"article_count":4912,"avg_clicks":"34.7453","ctg_id":23,"total_clicks":"170669"},{"article_count":2814,"avg_clicks":"24.8856","ctg_id":215,"total_clicks":"70028"},{"article_count":1857,"avg_clicks":"55.4265","ctg_id":21,"total_clicks":"102927"},{"article_count":1235,"avg_clicks":"12.1061","ctg_id":24,"total_clicks":"14951"},{"article_count":1165,"avg_clicks":"2.6704","ctg_id":26,"total_clicks":"3111"},{"article_count":1156,"avg_clicks":"16.6176","ctg_id":25,"total_clicks":"19210"},{"article_count":632,"avg_clicks":"131.1487","ctg_id":22,"total_clicks":"82886"},{"article_count":627,"avg_clicks":"2.0335","ctg_id":null,"total_clicks":"1275"},{"article_count":185,"avg_clicks":"8.6757","ctg_id":35,"total_clicks":"1605"},{"article_count":165,"avg_clicks":"0.4242","ctg_id":70,"total_clicks":"70"}]},"hypothesisId":"H5_GROUP_BY","location":"main.go:625","message":"GROUP BY 分组统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872702} +{"data":null,"hypothesisId":"H6_PAGINATION","location":"main.go:638","message":"开始分页查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872702} +{"data":{"count":5},"hypothesisId":"H6_PAGE_SELECT","location":"main.go:648","message":"PageSelect 分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872707} +{"data":{"count":5},"hypothesisId":"H6_PAGE_2","location":"main.go:659","message":"PageSelect 第二页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872710} +{"data":{"count":3},"hypothesisId":"H6_CHAIN_PAGE","location":"main.go:671","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872713} +{"data":{"count":3,"query":"SELECT id,title FROM `article` WHERE `state` =? LIMIT 3 OFFSET 2 ;"},"hypothesisId":"H6_OFFSET","location":"main.go:684","message":"Offset 偏移查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872716} +{"data":null,"hypothesisId":"H7_BATCH","location":"main.go:697","message":"开始批量插入测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872716} +{"data":{"affected":3,"query":"INSERT INTO `test_batch` (`name`, `state`, `title`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)"},"hypothesisId":"H7_BATCH_INSERT","location":"main.go:710","message":"BatchInsert 批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872719} +{"data":{"affected":2},"hypothesisId":"H7_BATCH_RAW","location":"main.go:722","message":"BatchInsert 带 [#] 标记测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872723} +{"data":null,"hypothesisId":"H8_UPSERT","location":"main.go:739","message":"开始 Upsert 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030872731} +{"data":{"affected":1,"query":"INSERT INTO `admin` (`password`, `role_id`, `title`, `create_time`, `modify_time`, `name`, `phone`, `state`) VALUES (?, ?, ?, NOW(), NOW(), ?, ?, ?) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `state` = VALUES(`state`), `title` = VALUES(`title`), `modify_time` = NOW()"},"hypothesisId":"H8_UPSERT_INSERT","location":"main.go:763","message":"Upsert 插入新记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030873338} +{"data":{"affected":1},"hypothesisId":"H8_UPSERT_UPDATE","location":"main.go:783","message":"Upsert 更新已存在记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030874027} +{"data":null,"hypothesisId":"H9_TRANSACTION","location":"main.go:803","message":"开始事务测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030874997} +{"data":{"recordId":7},"hypothesisId":"H9_TX_INSERT","location":"main.go:818","message":"事务内插入记录","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875002} +{"data":{"recordExists":true,"success":true},"hypothesisId":"H9_TX_SUCCESS","location":"main.go:831","message":"事务成功提交测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875007} +{"data":{"recordId":8},"hypothesisId":"H9_TX_ROLLBACK_INSERT","location":"main.go:846","message":"事务内插入(将回滚)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875011} +{"data":{"rolledBack":false,"success":false},"hypothesisId":"H9_TX_ROLLBACK","location":"main.go:856","message":"事务回滚测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875018} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875021} +{"data":{"count":5},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875026} +{"data":{"affected":1,"name":"Exec 原生执行","result":true},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875631} +{"data":{"10_raw_sql":{"name":"原生SQL测试","success":true,"tests":[{"count":5,"name":"Query 原生查询","result":true},{"affected":1,"name":"Exec 原生执行","result":true}]},"1_basic_crud":{"name":"基础CRUD测试","success":true,"tests":[{"adminId":16,"lastQuery":"INSERT INTO `admin` (`create_time`,`modify_time`,`name`,`phone`,`state`,`password`,`role_id`,`title`) VALUES (NOW(),NOW(),?,?,?,?,?,?);","name":"Insert 插入测试 (admin表)","result":true},{"admin":{"avatar_img":null,"create_time":"2026-01-21 21:27:51","id":16,"modify_time":"2026-01-21 21:27:51","name":"测试管理员_1769030871","password":"test123456","phone":"13869030871","role_id":1,"state":1,"title":"测试职位"},"name":"Get 获取单条记录测试","result":true},{"count":1,"name":"Select 单条件查询测试","result":true},{"count":1,"lastQuery":"SELECT * FROM `admin` WHERE `role_id` \u003e? AND `state` =? ORDER BY id DESC LIMIT 5 ;","name":"Select 多条件自动AND测试","result":true},{"affected":1,"name":"Update 更新测试","result":true},{"affected":1,"name":"Delete 删除测试","result":true}]},"2_condition_syntax":{"name":"条件查询语法测试","success":true,"tests":[{"count":3,"name":"等于条件 (=)","result":true},{"count":3,"lastQuery":"SELECT id,title,state FROM `article` WHERE `state` !=? LIMIT 3 ;","name":"不等于条件 ([!])","result":true},{"count":3,"name":"大于小于条件 ([\u003e], [\u003c])","result":true},{"count":3,"name":"大于等于小于等于条件 ([\u003e=], [\u003c=])","result":true},{"count":3,"lastQuery":"SELECT id,title FROM `article` WHERE `title` LIKE ? LIMIT 3 ;","name":"LIKE 模糊查询 ([~])","result":true},{"count":0,"name":"右模糊查询 ([~!])","result":true},{"count":3,"lastQuery":"SELECT id,title,click_num FROM `article` WHERE `click_num` BETWEEN ? AND ? LIMIT 3 ;","name":"BETWEEN 区间查询 ([\u003c\u003e])","result":true},{"count":0,"name":"NOT BETWEEN 查询 ([\u003e\u003c])","result":true},{"count":5,"lastQuery":"SELECT id,title FROM `article` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;","name":"IN 查询","result":true},{"count":5,"name":"NOT IN 查询 ([!])","result":true},{"count":3,"name":"IS NULL 查询","result":true},{"count":3,"name":"IS NOT NULL 查询 ([!])","result":true},{"count":0,"lastQuery":"SELECT id,title,create_time FROM `article` WHERE create_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;","name":"直接 SQL 片段查询 ([##])","result":true},{"count":3,"name":"显式 AND 条件","result":true},{"count":5,"name":"OR 条件","result":true},{"count":5,"lastQuery":"SELECT id,title,sort,state FROM `article` WHERE ( `click_num` \u003e? OR `sort` \u003e=? ) AND `state` =? LIMIT 5 ;","name":"嵌套 AND/OR 条件","result":true}]},"3_chain_query":{"name":"链式查询测试","success":true,"tests":[{"count":16659,"name":"基本链式查询 Table().Where().Select()","result":true},{"count":16659,"name":"链式 And 条件","result":true},{"count":16659,"name":"链式 Or 条件","result":true},{"count":5,"name":"链式 Order 排序","result":true},{"count":3,"name":"链式 Limit 限制","result":true},{"article":{"author":"atestu","id":1,"title":"atestu"},"name":"链式 Get 获取单条","result":true},{"count":16659,"name":"链式 Count 统计","result":true},{"count":5,"name":"链式 Page 分页","result":true},{"name":"链式 Group 分组","result":true,"stats":[{"cnt":627,"ctg_id":null},{"cnt":36,"ctg_id":1},{"cnt":57,"ctg_id":2},{"cnt":8,"ctg_id":3},{"cnt":38,"ctg_id":4},{"cnt":11,"ctg_id":5},{"cnt":79,"ctg_id":6},{"cnt":59,"ctg_id":7},{"cnt":54,"ctg_id":8},{"cnt":1,"ctg_id":9},{"cnt":12,"ctg_id":10},{"cnt":3,"ctg_id":11},{"cnt":5,"ctg_id":12},{"cnt":1,"ctg_id":13},{"cnt":1,"ctg_id":17},{"cnt":1,"ctg_id":18},{"cnt":1,"ctg_id":19},{"cnt":10,"ctg_id":20},{"cnt":1857,"ctg_id":21},{"cnt":632,"ctg_id":22},{"cnt":4912,"ctg_id":23},{"cnt":1235,"ctg_id":24},{"cnt":1156,"ctg_id":25},{"cnt":1165,"ctg_id":26},{"cnt":111,"ctg_id":27},{"cnt":115,"ctg_id":28},{"cnt":40,"ctg_id":29},{"cnt":42,"ctg_id":30},{"cnt":76,"ctg_id":31},{"cnt":11,"ctg_id":32},{"cnt":6,"ctg_id":33},{"cnt":6,"ctg_id":34},{"cnt":185,"ctg_id":35},{"cnt":3,"ctg_id":40},{"cnt":1,"ctg_id":41},{"cnt":4,"ctg_id":43},{"cnt":28,"ctg_id":44},{"cnt":11,"ctg_id":45},{"cnt":2,"ctg_id":46},{"cnt":2,"ctg_id":48},{"cnt":5,"ctg_id":49},{"cnt":1,"ctg_id":50},{"cnt":5,"ctg_id":51},{"cnt":2,"ctg_id":52},{"cnt":52,"ctg_id":53},{"cnt":3,"ctg_id":54},{"cnt":8,"ctg_id":55},{"cnt":5,"ctg_id":57},{"cnt":8,"ctg_id":60},{"cnt":20,"ctg_id":61},{"cnt":1,"ctg_id":65},{"cnt":43,"ctg_id":66},{"cnt":46,"ctg_id":67},{"cnt":30,"ctg_id":68},{"cnt":17,"ctg_id":69},{"cnt":165,"ctg_id":70},{"cnt":29,"ctg_id":71},{"cnt":15,"ctg_id":72},{"cnt":28,"ctg_id":73},{"cnt":123,"ctg_id":76},{"cnt":6,"ctg_id":77},{"cnt":1,"ctg_id":79},{"cnt":1,"ctg_id":80},{"cnt":1,"ctg_id":81},{"cnt":23,"ctg_id":83},{"cnt":1,"ctg_id":85},{"cnt":1,"ctg_id":86},{"cnt":6,"ctg_id":87},{"cnt":2,"ctg_id":89},{"cnt":1,"ctg_id":90},{"cnt":4,"ctg_id":92},{"cnt":4,"ctg_id":93},{"cnt":2,"ctg_id":96},{"cnt":7,"ctg_id":97},{"cnt":1,"ctg_id":99},{"cnt":1,"ctg_id":100},{"cnt":1,"ctg_id":101},{"cnt":3,"ctg_id":103},{"cnt":3,"ctg_id":106},{"cnt":55,"ctg_id":107},{"cnt":2,"ctg_id":108},{"cnt":1,"ctg_id":109},{"cnt":1,"ctg_id":110},{"cnt":1,"ctg_id":111},{"cnt":5,"ctg_id":113},{"cnt":2,"ctg_id":117},{"cnt":3,"ctg_id":119},{"cnt":1,"ctg_id":123},{"cnt":2,"ctg_id":124},{"cnt":2,"ctg_id":125},{"cnt":12,"ctg_id":127},{"cnt":2,"ctg_id":131},{"cnt":1,"ctg_id":133},{"cnt":1,"ctg_id":134},{"cnt":3,"ctg_id":137},{"cnt":1,"ctg_id":138},{"cnt":3,"ctg_id":140},{"cnt":20,"ctg_id":141},{"cnt":1,"ctg_id":143},{"cnt":1,"ctg_id":144},{"cnt":1,"ctg_id":145},{"cnt":1,"ctg_id":153},{"cnt":1,"ctg_id":154},{"cnt":1,"ctg_id":155},{"cnt":3,"ctg_id":157},{"cnt":1,"ctg_id":158},{"cnt":3,"ctg_id":160},{"cnt":17,"ctg_id":161},{"cnt":1,"ctg_id":163},{"cnt":1,"ctg_id":164},{"cnt":1,"ctg_id":170},{"cnt":1,"ctg_id":173},{"cnt":1,"ctg_id":174},{"cnt":1,"ctg_id":175},{"cnt":22,"ctg_id":177},{"cnt":41,"ctg_id":179},{"cnt":3,"ctg_id":180},{"cnt":17,"ctg_id":181},{"cnt":1,"ctg_id":183},{"cnt":1,"ctg_id":184},{"cnt":1,"ctg_id":185},{"cnt":7,"ctg_id":187},{"cnt":2,"ctg_id":190},{"cnt":20,"ctg_id":191},{"cnt":7,"ctg_id":193},{"cnt":23,"ctg_id":194},{"cnt":4,"ctg_id":195},{"cnt":81,"ctg_id":196},{"cnt":3,"ctg_id":197},{"cnt":5,"ctg_id":199},{"cnt":2,"ctg_id":200},{"cnt":1,"ctg_id":201},{"cnt":25,"ctg_id":202},{"cnt":31,"ctg_id":203},{"cnt":20,"ctg_id":204},{"cnt":15,"ctg_id":205},{"cnt":7,"ctg_id":206},{"cnt":34,"ctg_id":207},{"cnt":21,"ctg_id":208},{"cnt":11,"ctg_id":213},{"cnt":3,"ctg_id":214},{"cnt":2814,"ctg_id":215},{"cnt":2,"ctg_id":216},{"cnt":1,"ctg_id":217},{"cnt":1,"ctg_id":231}]},{"affected":1,"name":"链式 Update 更新","result":true}]},"4_join_query":{"name":"JOIN查询测试","success":true,"tests":[{"count":5,"data":[{"ctg_name":null,"id":1,"title":"atestu"},{"ctg_name":null,"id":2,"title":"atestu"},{"ctg_name":null,"id":3,"title":"atestu"},{"ctg_name":null,"id":4,"title":"atestu"},{"ctg_name":"纪检监察","id":5,"title":"atestu"}],"name":"LEFT JOIN 链式查询","result":true},{"count":5,"lastQuery":"SELECT article.id, article.title, ctg.name as ctg_name FROM `article` LEFT JOIN `ctg` ON article.ctg_id = ctg.id WHERE article.state=? LIMIT 5 ;","name":"传统 JOIN 语法","result":true},{"count":5,"data":[{"admin_name":"admin","ctg_name":null,"id":1,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":2,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":3,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":4,"title":"atestu"},{"admin_name":"admin","ctg_name":"纪检监察","id":5,"title":"atestu"}],"name":"多表 JOIN","result":true},{"count":5,"name":"INNER JOIN","result":true}]},"5_aggregate":{"name":"聚合函数测试","success":true,"tests":[{"count":16659,"name":"Count 总数统计","result":true},{"count":16659,"name":"Count 条件统计","result":true},{"name":"Sum 求和","result":true,"sum":499106},{"avg":29.9601,"name":"Avg 平均值","result":true},{"max":4803,"name":"Max 最大值","result":true},{"min":0,"name":"Min 最小值","result":true},{"name":"GROUP BY 分组统计","result":true,"stats":[{"article_count":4912,"avg_clicks":"34.7453","ctg_id":23,"total_clicks":"170669"},{"article_count":2814,"avg_clicks":"24.8856","ctg_id":215,"total_clicks":"70028"},{"article_count":1857,"avg_clicks":"55.4265","ctg_id":21,"total_clicks":"102927"},{"article_count":1235,"avg_clicks":"12.1061","ctg_id":24,"total_clicks":"14951"},{"article_count":1165,"avg_clicks":"2.6704","ctg_id":26,"total_clicks":"3111"},{"article_count":1156,"avg_clicks":"16.6176","ctg_id":25,"total_clicks":"19210"},{"article_count":632,"avg_clicks":"131.1487","ctg_id":22,"total_clicks":"82886"},{"article_count":627,"avg_clicks":"2.0335","ctg_id":null,"total_clicks":"1275"},{"article_count":185,"avg_clicks":"8.6757","ctg_id":35,"total_clicks":"1605"},{"article_count":165,"avg_clicks":"0.4242","ctg_id":70,"total_clicks":"70"}]}]},"6_pagination":{"name":"分页查询测试","success":true,"tests":[{"count":5,"name":"PageSelect 分页查询","result":true},{"count":5,"name":"PageSelect 第二页","result":true},{"count":3,"name":"链式 Page 分页","result":true},{"count":3,"lastQuery":"SELECT id,title FROM `article` WHERE `state` =? LIMIT 3 OFFSET 2 ;","name":"Offset 偏移查询","result":true}]},"7_batch_insert":{"name":"批量插入测试","success":true,"tests":[{"affected":3,"lastQuery":"INSERT INTO `test_batch` (`name`, `state`, `title`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)","name":"BatchInsert 批量插入","result":true},{"affected":2,"name":"BatchInsert 带 [#] 标记","result":true}]},"8_upsert":{"name":"Upsert测试","success":true,"tests":[{"affected":1,"lastQuery":"INSERT INTO `admin` (`password`, `role_id`, `title`, `create_time`, `modify_time`, `name`, `phone`, `state`) VALUES (?, ?, ?, NOW(), NOW(), ?, ?, ?) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `state` = VALUES(`state`), `title` = VALUES(`title`), `modify_time` = NOW()","name":"Upsert 插入新记录 (admin表)","result":true},{"affected":1,"name":"Upsert 更新已存在记录","result":true,"updatedAdmin":{"avatar_img":null,"create_time":"2026-01-21 21:27:52","id":17,"modify_time":"2026-01-21 21:27:52","name":"Upsert测试管理员","password":"test123","phone":"19969030872","role_id":1,"state":1,"title":"测试职位"}}]},"9_transaction":{"name":"事务测试","success":true,"tests":[{"name":"事务成功提交","recordExists":true,"result":true},{"name":"事务回滚","recordRolledBack":false,"result":true}]}},"hypothesisId":"ALL_TESTS_DONE","location":"main.go:80","message":"所有测试完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030875631} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030893205} +{"data":{"adminId":19,"query":"INSERT INTO `admin` (`role_id`,`title`,`create_time`,`modify_time`,`name`,`phone`,`state`,`password`) VALUES (?,?,NOW(),NOW(),?,?,?,?);","success":true},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030893495} +{"data":{"admin":{"avatar_img":null,"create_time":"2026-01-21 21:28:13","id":19,"modify_time":"2026-01-21 21:28:13","name":"测试管理员_1769030893","password":"test123456","phone":"13869030893","role_id":1,"state":1,"title":"测试职位"},"success":true},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030893500} +{"data":{"count":2},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030893504} +{"data":{"count":2,"query":"SELECT * FROM `admin` WHERE `role_id` \u003e? AND `state` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030893508} +{"data":{"affected":1},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030894408} +{"data":{"affected":1},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030894417} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900520} +{"data":{"count":3},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900523} +{"data":{"count":3,"query":"SELECT id,title,state FROM `article` WHERE `state` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900525} +{"data":{"count":3},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900528} +{"data":{"count":3},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900531} +{"data":{"count":3,"query":"SELECT id,title FROM `article` WHERE `title` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900534} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900538} +{"data":{"count":3,"query":"SELECT id,title,click_num FROM `article` WHERE `click_num` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900541} +{"data":{"count":0},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900561} +{"data":{"count":5,"query":"SELECT id,title FROM `article` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900564} +{"data":{"count":5},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900568} +{"data":{"count":3},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900568} +{"data":{"count":3},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900571} +{"data":{"count":0,"query":"SELECT id,title,create_time FROM `article` WHERE create_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 片段查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900590} +{"data":{"count":3},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900593} +{"data":{"count":5},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900594} +{"data":{"count":5,"query":"SELECT id,title,sort,state FROM `article` WHERE ( `click_num` \u003e? OR `sort` \u003e=? ) AND `state` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030900597} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030905523} +{"data":{"count":5},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030905528} +{"data":{"affected":1,"name":"Exec 原生执行","result":true},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030905811} +{"data":null,"hypothesisId":"ALL_TESTS","location":"main.go:48","message":"开始所有测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913581} +{"data":{"adminCount":15,"articleCount":16659,"dbType":"MySQL"},"hypothesisId":"INIT","location":"main.go:init","message":"MySQL数据库初始化检查完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913625} +{"data":null,"hypothesisId":"H1_CRUD","location":"main.go:103","message":"开始基础 CRUD 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913625} +{"data":{"adminId":20,"query":"INSERT INTO `admin` (`title`,`create_time`,`modify_time`,`name`,`phone`,`state`,`password`,`role_id`) VALUES (?,NOW(),NOW(),?,?,?,?,?);","success":true},"hypothesisId":"H1_INSERT","location":"main.go:118","message":"Insert 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913924} +{"data":{"admin":{"avatar_img":null,"create_time":"2026-01-21 21:28:33","id":20,"modify_time":"2026-01-21 21:28:33","name":"测试管理员_1769030913","password":"test123456","phone":"13869030913","role_id":1,"state":1,"title":"测试职位"},"success":true},"hypothesisId":"H1_GET","location":"main.go:126","message":"Get 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913928} +{"data":{"count":3},"hypothesisId":"H1_SELECT1","location":"main.go:134","message":"Select 单条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913930} +{"data":{"count":3,"query":"SELECT * FROM `admin` WHERE `role_id` \u003e? AND `state` =? ORDER BY id DESC LIMIT 5 ;"},"hypothesisId":"H1_SELECT2","location":"main.go:149","message":"Select 多条件自动AND测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030913933} +{"data":{"affected":1},"hypothesisId":"H1_UPDATE","location":"main.go:160","message":"Update 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914297} +{"data":{"affected":1},"hypothesisId":"H1_DELETE","location":"main.go:175","message":"Delete 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914303} +{"data":null,"hypothesisId":"H2_CONDITION","location":"main.go:188","message":"开始条件查询语法测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914303} +{"data":{"count":3},"hypothesisId":"H2_EQUAL","location":"main.go:195","message":"等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914311} +{"data":{"count":3,"query":"SELECT id,title,state FROM `article` WHERE `state` !=? LIMIT 3 ;"},"hypothesisId":"H2_NOT_EQUAL","location":"main.go:204","message":"不等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914314} +{"data":{"count":3},"hypothesisId":"H2_GREATER_LESS","location":"main.go:216","message":"大于小于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914318} +{"data":{"count":3},"hypothesisId":"H2_GTE_LTE","location":"main.go:228","message":"大于等于小于等于条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914320} +{"data":{"count":3,"query":"SELECT id,title FROM `article` WHERE `title` LIKE ? LIMIT 3 ;"},"hypothesisId":"H2_LIKE","location":"main.go:237","message":"LIKE 模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914322} +{"data":{"count":0},"hypothesisId":"H2_LIKE_RIGHT","location":"main.go:245","message":"右模糊查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914327} +{"data":{"count":3,"query":"SELECT id,title,click_num FROM `article` WHERE `click_num` BETWEEN ? AND ? LIMIT 3 ;"},"hypothesisId":"H2_BETWEEN","location":"main.go:254","message":"BETWEEN 区间查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914331} +{"data":{"count":0},"hypothesisId":"H2_NOT_BETWEEN","location":"main.go:262","message":"NOT BETWEEN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914353} +{"data":{"count":5,"query":"SELECT id,title FROM `article` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;"},"hypothesisId":"H2_IN","location":"main.go:271","message":"IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914358} +{"data":{"count":5},"hypothesisId":"H2_NOT_IN","location":"main.go:279","message":"NOT IN 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914362} +{"data":{"count":3},"hypothesisId":"H2_IS_NULL","location":"main.go:287","message":"IS NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914363} +{"data":{"count":3},"hypothesisId":"H2_IS_NOT_NULL","location":"main.go:295","message":"IS NOT NULL 查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914364} +{"data":{"count":0,"query":"SELECT id,title,create_time FROM `article` WHERE create_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;"},"hypothesisId":"H2_RAW_SQL","location":"main.go:307","message":"直接 SQL 片段查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914384} +{"data":{"count":3},"hypothesisId":"H2_EXPLICIT_AND","location":"main.go:321","message":"显式 AND 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914390} +{"data":{"count":5},"hypothesisId":"H2_OR","location":"main.go:335","message":"OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914394} +{"data":{"count":5,"query":"SELECT id,title,sort,state FROM `article` WHERE ( `click_num` \u003e? OR `sort` \u003e=? ) AND `state` =? LIMIT 5 ;"},"hypothesisId":"H2_NESTED","location":"main.go:353","message":"嵌套 AND/OR 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914398} +{"data":null,"hypothesisId":"H3_CHAIN","location":"main.go:366","message":"开始链式查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914398} +{"data":{"count":16659},"hypothesisId":"H3_BASIC","location":"main.go:375","message":"基本链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914438} +{"data":{"count":16659},"hypothesisId":"H3_AND","location":"main.go:387","message":"链式 And 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914468} +{"data":{"count":16659},"hypothesisId":"H3_OR","location":"main.go:401","message":"链式 Or 条件测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914497} +{"data":{"count":5},"hypothesisId":"H3_ORDER","location":"main.go:413","message":"链式 Order 排序测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914521} +{"data":{"count":3},"hypothesisId":"H3_LIMIT","location":"main.go:424","message":"链式 Limit 限制测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914525} +{"data":{"article":{"author":"atestu","id":1,"title":"atestu"}},"hypothesisId":"H3_GET","location":"main.go:434","message":"链式 Get 获取单条测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914529} +{"data":{"count":16659},"hypothesisId":"H3_COUNT","location":"main.go:444","message":"链式 Count 统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914550} +{"data":{"count":5},"hypothesisId":"H3_PAGE","location":"main.go:455","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914554} +{"data":{"stats":[{"cnt":627,"ctg_id":null},{"cnt":36,"ctg_id":1},{"cnt":57,"ctg_id":2},{"cnt":8,"ctg_id":3},{"cnt":38,"ctg_id":4},{"cnt":11,"ctg_id":5},{"cnt":79,"ctg_id":6},{"cnt":59,"ctg_id":7},{"cnt":54,"ctg_id":8},{"cnt":1,"ctg_id":9},{"cnt":12,"ctg_id":10},{"cnt":3,"ctg_id":11},{"cnt":5,"ctg_id":12},{"cnt":1,"ctg_id":13},{"cnt":1,"ctg_id":17},{"cnt":1,"ctg_id":18},{"cnt":1,"ctg_id":19},{"cnt":10,"ctg_id":20},{"cnt":1857,"ctg_id":21},{"cnt":632,"ctg_id":22},{"cnt":4912,"ctg_id":23},{"cnt":1235,"ctg_id":24},{"cnt":1156,"ctg_id":25},{"cnt":1165,"ctg_id":26},{"cnt":111,"ctg_id":27},{"cnt":115,"ctg_id":28},{"cnt":40,"ctg_id":29},{"cnt":42,"ctg_id":30},{"cnt":76,"ctg_id":31},{"cnt":11,"ctg_id":32},{"cnt":6,"ctg_id":33},{"cnt":6,"ctg_id":34},{"cnt":185,"ctg_id":35},{"cnt":3,"ctg_id":40},{"cnt":1,"ctg_id":41},{"cnt":4,"ctg_id":43},{"cnt":28,"ctg_id":44},{"cnt":11,"ctg_id":45},{"cnt":2,"ctg_id":46},{"cnt":2,"ctg_id":48},{"cnt":5,"ctg_id":49},{"cnt":1,"ctg_id":50},{"cnt":5,"ctg_id":51},{"cnt":2,"ctg_id":52},{"cnt":52,"ctg_id":53},{"cnt":3,"ctg_id":54},{"cnt":8,"ctg_id":55},{"cnt":5,"ctg_id":57},{"cnt":8,"ctg_id":60},{"cnt":20,"ctg_id":61},{"cnt":1,"ctg_id":65},{"cnt":43,"ctg_id":66},{"cnt":46,"ctg_id":67},{"cnt":30,"ctg_id":68},{"cnt":17,"ctg_id":69},{"cnt":165,"ctg_id":70},{"cnt":29,"ctg_id":71},{"cnt":15,"ctg_id":72},{"cnt":28,"ctg_id":73},{"cnt":123,"ctg_id":76},{"cnt":6,"ctg_id":77},{"cnt":1,"ctg_id":79},{"cnt":1,"ctg_id":80},{"cnt":1,"ctg_id":81},{"cnt":23,"ctg_id":83},{"cnt":1,"ctg_id":85},{"cnt":1,"ctg_id":86},{"cnt":6,"ctg_id":87},{"cnt":2,"ctg_id":89},{"cnt":1,"ctg_id":90},{"cnt":4,"ctg_id":92},{"cnt":4,"ctg_id":93},{"cnt":2,"ctg_id":96},{"cnt":7,"ctg_id":97},{"cnt":1,"ctg_id":99},{"cnt":1,"ctg_id":100},{"cnt":1,"ctg_id":101},{"cnt":3,"ctg_id":103},{"cnt":3,"ctg_id":106},{"cnt":55,"ctg_id":107},{"cnt":2,"ctg_id":108},{"cnt":1,"ctg_id":109},{"cnt":1,"ctg_id":110},{"cnt":1,"ctg_id":111},{"cnt":5,"ctg_id":113},{"cnt":2,"ctg_id":117},{"cnt":3,"ctg_id":119},{"cnt":1,"ctg_id":123},{"cnt":2,"ctg_id":124},{"cnt":2,"ctg_id":125},{"cnt":12,"ctg_id":127},{"cnt":2,"ctg_id":131},{"cnt":1,"ctg_id":133},{"cnt":1,"ctg_id":134},{"cnt":3,"ctg_id":137},{"cnt":1,"ctg_id":138},{"cnt":3,"ctg_id":140},{"cnt":20,"ctg_id":141},{"cnt":1,"ctg_id":143},{"cnt":1,"ctg_id":144},{"cnt":1,"ctg_id":145},{"cnt":1,"ctg_id":153},{"cnt":1,"ctg_id":154},{"cnt":1,"ctg_id":155},{"cnt":3,"ctg_id":157},{"cnt":1,"ctg_id":158},{"cnt":3,"ctg_id":160},{"cnt":17,"ctg_id":161},{"cnt":1,"ctg_id":163},{"cnt":1,"ctg_id":164},{"cnt":1,"ctg_id":170},{"cnt":1,"ctg_id":173},{"cnt":1,"ctg_id":174},{"cnt":1,"ctg_id":175},{"cnt":22,"ctg_id":177},{"cnt":41,"ctg_id":179},{"cnt":3,"ctg_id":180},{"cnt":17,"ctg_id":181},{"cnt":1,"ctg_id":183},{"cnt":1,"ctg_id":184},{"cnt":1,"ctg_id":185},{"cnt":7,"ctg_id":187},{"cnt":2,"ctg_id":190},{"cnt":20,"ctg_id":191},{"cnt":7,"ctg_id":193},{"cnt":23,"ctg_id":194},{"cnt":4,"ctg_id":195},{"cnt":81,"ctg_id":196},{"cnt":3,"ctg_id":197},{"cnt":5,"ctg_id":199},{"cnt":2,"ctg_id":200},{"cnt":1,"ctg_id":201},{"cnt":25,"ctg_id":202},{"cnt":31,"ctg_id":203},{"cnt":20,"ctg_id":204},{"cnt":15,"ctg_id":205},{"cnt":7,"ctg_id":206},{"cnt":34,"ctg_id":207},{"cnt":21,"ctg_id":208},{"cnt":11,"ctg_id":213},{"cnt":3,"ctg_id":214},{"cnt":2814,"ctg_id":215},{"cnt":2,"ctg_id":216},{"cnt":1,"ctg_id":217},{"cnt":1,"ctg_id":231}]},"hypothesisId":"H3_GROUP","location":"main.go:466","message":"链式 Group 分组测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914577} +{"data":{"affected":1,"name":"链式 Update 更新","result":true},"hypothesisId":"H3_UPDATE","location":"main.go:483","message":"链式 Update 更新测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914863} +{"data":null,"hypothesisId":"H4_JOIN","location":"main.go:496","message":"开始 JOIN 查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914863} +{"data":{"count":5},"hypothesisId":"H4_LEFT_JOIN","location":"main.go:508","message":"LEFT JOIN 链式查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914867} +{"data":{"count":5,"query":"SELECT article.id, article.title, ctg.name as ctg_name FROM `article` LEFT JOIN `ctg` ON article.ctg_id = ctg.id WHERE article.state=? LIMIT 5 ;"},"hypothesisId":"H4_TRADITIONAL_JOIN","location":"main.go:525","message":"传统 JOIN 语法测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914872} +{"data":{"count":5},"hypothesisId":"H4_MULTI_JOIN","location":"main.go:539","message":"多表 JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914875} +{"data":{"count":5},"hypothesisId":"H4_INNER_JOIN","location":"main.go:551","message":"INNER JOIN 测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914877} +{"data":null,"hypothesisId":"H5_AGGREGATE","location":"main.go:564","message":"开始聚合函数测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914877} +{"data":{"count":16659},"hypothesisId":"H5_COUNT","location":"main.go:571","message":"Count 总数统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914896} +{"data":{"count":16659},"hypothesisId":"H5_COUNT_WHERE","location":"main.go:579","message":"Count 条件统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914918} +{"data":{"sum":499106},"hypothesisId":"H5_SUM","location":"main.go:587","message":"Sum 求和测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914941} +{"data":{"avg":29.9601},"hypothesisId":"H5_AVG","location":"main.go:595","message":"Avg 平均值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914962} +{"data":{"max":4803},"hypothesisId":"H5_MAX","location":"main.go:603","message":"Max 最大值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030914984} +{"data":{"min":0},"hypothesisId":"H5_MIN","location":"main.go:611","message":"Min 最小值测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915006} +{"data":{"stats":[{"article_count":4912,"avg_clicks":"34.7453","ctg_id":23,"total_clicks":"170669"},{"article_count":2814,"avg_clicks":"24.8856","ctg_id":215,"total_clicks":"70028"},{"article_count":1857,"avg_clicks":"55.4265","ctg_id":21,"total_clicks":"102927"},{"article_count":1235,"avg_clicks":"12.1061","ctg_id":24,"total_clicks":"14951"},{"article_count":1165,"avg_clicks":"2.6704","ctg_id":26,"total_clicks":"3111"},{"article_count":1156,"avg_clicks":"16.6176","ctg_id":25,"total_clicks":"19210"},{"article_count":632,"avg_clicks":"131.1487","ctg_id":22,"total_clicks":"82886"},{"article_count":627,"avg_clicks":"2.0335","ctg_id":null,"total_clicks":"1275"},{"article_count":185,"avg_clicks":"8.6757","ctg_id":35,"total_clicks":"1605"},{"article_count":165,"avg_clicks":"0.4242","ctg_id":70,"total_clicks":"70"}]},"hypothesisId":"H5_GROUP_BY","location":"main.go:625","message":"GROUP BY 分组统计测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915033} +{"data":null,"hypothesisId":"H6_PAGINATION","location":"main.go:638","message":"开始分页查询测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915033} +{"data":{"count":5},"hypothesisId":"H6_PAGE_SELECT","location":"main.go:648","message":"PageSelect 分页查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915038} +{"data":{"count":5},"hypothesisId":"H6_PAGE_2","location":"main.go:659","message":"PageSelect 第二页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915042} +{"data":{"count":3},"hypothesisId":"H6_CHAIN_PAGE","location":"main.go:671","message":"链式 Page 分页测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915043} +{"data":{"count":3,"query":"SELECT id,title FROM `article` WHERE `state` =? LIMIT 3 OFFSET 2 ;"},"hypothesisId":"H6_OFFSET","location":"main.go:684","message":"Offset 偏移查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915045} +{"data":null,"hypothesisId":"H7_BATCH","location":"main.go:697","message":"开始批量插入测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915045} +{"data":{"affected":3,"query":"INSERT INTO `test_batch` (`name`, `state`, `title`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)"},"hypothesisId":"H7_BATCH_INSERT","location":"main.go:710","message":"BatchInsert 批量插入测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915048} +{"data":{"affected":2},"hypothesisId":"H7_BATCH_RAW","location":"main.go:722","message":"BatchInsert 带 [#] 标记测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915053} +{"data":null,"hypothesisId":"H8_UPSERT","location":"main.go:739","message":"开始 Upsert 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915057} +{"data":{"affected":1,"query":"INSERT INTO `admin` (`modify_time`, `name`, `phone`, `state`, `password`, `role_id`, `title`, `create_time`) VALUES (NOW(), ?, ?, ?, ?, ?, ?, NOW()) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `state` = VALUES(`state`), `title` = VALUES(`title`), `modify_time` = NOW()"},"hypothesisId":"H8_UPSERT_INSERT","location":"main.go:763","message":"Upsert 插入新记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030915786} +{"data":{"affected":1},"hypothesisId":"H8_UPSERT_UPDATE","location":"main.go:783","message":"Upsert 更新已存在记录测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030916267} +{"data":null,"hypothesisId":"H9_TRANSACTION","location":"main.go:803","message":"开始事务测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918576} +{"data":{"recordId":16},"hypothesisId":"H9_TX_INSERT","location":"main.go:818","message":"事务内插入记录","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918580} +{"data":{"recordExists":true,"success":true},"hypothesisId":"H9_TX_SUCCESS","location":"main.go:831","message":"事务成功提交测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918585} +{"data":{"recordId":17},"hypothesisId":"H9_TX_ROLLBACK_INSERT","location":"main.go:846","message":"事务内插入(将回滚)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918592} +{"data":{"rolledBack":false,"success":false},"hypothesisId":"H9_TX_ROLLBACK","location":"main.go:856","message":"事务回滚测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918598} +{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918601} +{"data":{"count":5},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918606} +{"data":{"affected":1,"name":"Exec 原生执行","result":true},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918976} +{"data":{"10_raw_sql":{"name":"原生SQL测试","success":true,"tests":[{"count":5,"name":"Query 原生查询","result":true},{"affected":1,"name":"Exec 原生执行","result":true}]},"1_basic_crud":{"name":"基础CRUD测试","success":true,"tests":[{"adminId":20,"lastQuery":"INSERT INTO `admin` (`title`,`create_time`,`modify_time`,`name`,`phone`,`state`,`password`,`role_id`) VALUES (?,NOW(),NOW(),?,?,?,?,?);","name":"Insert 插入测试 (admin表)","result":true},{"admin":{"avatar_img":null,"create_time":"2026-01-21 21:28:33","id":20,"modify_time":"2026-01-21 21:28:33","name":"测试管理员_1769030913","password":"test123456","phone":"13869030913","role_id":1,"state":1,"title":"测试职位"},"name":"Get 获取单条记录测试","result":true},{"count":3,"name":"Select 单条件查询测试","result":true},{"count":3,"lastQuery":"SELECT * FROM `admin` WHERE `role_id` \u003e? AND `state` =? ORDER BY id DESC LIMIT 5 ;","name":"Select 多条件自动AND测试","result":true},{"affected":1,"name":"Update 更新测试","result":true},{"affected":1,"name":"Delete 删除测试","result":true}]},"2_condition_syntax":{"name":"条件查询语法测试","success":true,"tests":[{"count":3,"name":"等于条件 (=)","result":true},{"count":3,"lastQuery":"SELECT id,title,state FROM `article` WHERE `state` !=? LIMIT 3 ;","name":"不等于条件 ([!])","result":true},{"count":3,"name":"大于小于条件 ([\u003e], [\u003c])","result":true},{"count":3,"name":"大于等于小于等于条件 ([\u003e=], [\u003c=])","result":true},{"count":3,"lastQuery":"SELECT id,title FROM `article` WHERE `title` LIKE ? LIMIT 3 ;","name":"LIKE 模糊查询 ([~])","result":true},{"count":0,"name":"右模糊查询 ([~!])","result":true},{"count":3,"lastQuery":"SELECT id,title,click_num FROM `article` WHERE `click_num` BETWEEN ? AND ? LIMIT 3 ;","name":"BETWEEN 区间查询 ([\u003c\u003e])","result":true},{"count":0,"name":"NOT BETWEEN 查询 ([\u003e\u003c])","result":true},{"count":5,"lastQuery":"SELECT id,title FROM `article` WHERE (`id` BETWEEN ? AND ? ) LIMIT 5 ;","name":"IN 查询","result":true},{"count":5,"name":"NOT IN 查询 ([!])","result":true},{"count":3,"name":"IS NULL 查询","result":true},{"count":3,"name":"IS NOT NULL 查询 ([!])","result":true},{"count":0,"lastQuery":"SELECT id,title,create_time FROM `article` WHERE create_time \u003e DATE_SUB(NOW(), INTERVAL 365 DAY) LIMIT 3 ;","name":"直接 SQL 片段查询 ([##])","result":true},{"count":3,"name":"显式 AND 条件","result":true},{"count":5,"name":"OR 条件","result":true},{"count":5,"lastQuery":"SELECT id,title,sort,state FROM `article` WHERE ( `click_num` \u003e? OR `sort` \u003e=? ) AND `state` =? LIMIT 5 ;","name":"嵌套 AND/OR 条件","result":true}]},"3_chain_query":{"name":"链式查询测试","success":true,"tests":[{"count":16659,"name":"基本链式查询 Table().Where().Select()","result":true},{"count":16659,"name":"链式 And 条件","result":true},{"count":16659,"name":"链式 Or 条件","result":true},{"count":5,"name":"链式 Order 排序","result":true},{"count":3,"name":"链式 Limit 限制","result":true},{"article":{"author":"atestu","id":1,"title":"atestu"},"name":"链式 Get 获取单条","result":true},{"count":16659,"name":"链式 Count 统计","result":true},{"count":5,"name":"链式 Page 分页","result":true},{"name":"链式 Group 分组","result":true,"stats":[{"cnt":627,"ctg_id":null},{"cnt":36,"ctg_id":1},{"cnt":57,"ctg_id":2},{"cnt":8,"ctg_id":3},{"cnt":38,"ctg_id":4},{"cnt":11,"ctg_id":5},{"cnt":79,"ctg_id":6},{"cnt":59,"ctg_id":7},{"cnt":54,"ctg_id":8},{"cnt":1,"ctg_id":9},{"cnt":12,"ctg_id":10},{"cnt":3,"ctg_id":11},{"cnt":5,"ctg_id":12},{"cnt":1,"ctg_id":13},{"cnt":1,"ctg_id":17},{"cnt":1,"ctg_id":18},{"cnt":1,"ctg_id":19},{"cnt":10,"ctg_id":20},{"cnt":1857,"ctg_id":21},{"cnt":632,"ctg_id":22},{"cnt":4912,"ctg_id":23},{"cnt":1235,"ctg_id":24},{"cnt":1156,"ctg_id":25},{"cnt":1165,"ctg_id":26},{"cnt":111,"ctg_id":27},{"cnt":115,"ctg_id":28},{"cnt":40,"ctg_id":29},{"cnt":42,"ctg_id":30},{"cnt":76,"ctg_id":31},{"cnt":11,"ctg_id":32},{"cnt":6,"ctg_id":33},{"cnt":6,"ctg_id":34},{"cnt":185,"ctg_id":35},{"cnt":3,"ctg_id":40},{"cnt":1,"ctg_id":41},{"cnt":4,"ctg_id":43},{"cnt":28,"ctg_id":44},{"cnt":11,"ctg_id":45},{"cnt":2,"ctg_id":46},{"cnt":2,"ctg_id":48},{"cnt":5,"ctg_id":49},{"cnt":1,"ctg_id":50},{"cnt":5,"ctg_id":51},{"cnt":2,"ctg_id":52},{"cnt":52,"ctg_id":53},{"cnt":3,"ctg_id":54},{"cnt":8,"ctg_id":55},{"cnt":5,"ctg_id":57},{"cnt":8,"ctg_id":60},{"cnt":20,"ctg_id":61},{"cnt":1,"ctg_id":65},{"cnt":43,"ctg_id":66},{"cnt":46,"ctg_id":67},{"cnt":30,"ctg_id":68},{"cnt":17,"ctg_id":69},{"cnt":165,"ctg_id":70},{"cnt":29,"ctg_id":71},{"cnt":15,"ctg_id":72},{"cnt":28,"ctg_id":73},{"cnt":123,"ctg_id":76},{"cnt":6,"ctg_id":77},{"cnt":1,"ctg_id":79},{"cnt":1,"ctg_id":80},{"cnt":1,"ctg_id":81},{"cnt":23,"ctg_id":83},{"cnt":1,"ctg_id":85},{"cnt":1,"ctg_id":86},{"cnt":6,"ctg_id":87},{"cnt":2,"ctg_id":89},{"cnt":1,"ctg_id":90},{"cnt":4,"ctg_id":92},{"cnt":4,"ctg_id":93},{"cnt":2,"ctg_id":96},{"cnt":7,"ctg_id":97},{"cnt":1,"ctg_id":99},{"cnt":1,"ctg_id":100},{"cnt":1,"ctg_id":101},{"cnt":3,"ctg_id":103},{"cnt":3,"ctg_id":106},{"cnt":55,"ctg_id":107},{"cnt":2,"ctg_id":108},{"cnt":1,"ctg_id":109},{"cnt":1,"ctg_id":110},{"cnt":1,"ctg_id":111},{"cnt":5,"ctg_id":113},{"cnt":2,"ctg_id":117},{"cnt":3,"ctg_id":119},{"cnt":1,"ctg_id":123},{"cnt":2,"ctg_id":124},{"cnt":2,"ctg_id":125},{"cnt":12,"ctg_id":127},{"cnt":2,"ctg_id":131},{"cnt":1,"ctg_id":133},{"cnt":1,"ctg_id":134},{"cnt":3,"ctg_id":137},{"cnt":1,"ctg_id":138},{"cnt":3,"ctg_id":140},{"cnt":20,"ctg_id":141},{"cnt":1,"ctg_id":143},{"cnt":1,"ctg_id":144},{"cnt":1,"ctg_id":145},{"cnt":1,"ctg_id":153},{"cnt":1,"ctg_id":154},{"cnt":1,"ctg_id":155},{"cnt":3,"ctg_id":157},{"cnt":1,"ctg_id":158},{"cnt":3,"ctg_id":160},{"cnt":17,"ctg_id":161},{"cnt":1,"ctg_id":163},{"cnt":1,"ctg_id":164},{"cnt":1,"ctg_id":170},{"cnt":1,"ctg_id":173},{"cnt":1,"ctg_id":174},{"cnt":1,"ctg_id":175},{"cnt":22,"ctg_id":177},{"cnt":41,"ctg_id":179},{"cnt":3,"ctg_id":180},{"cnt":17,"ctg_id":181},{"cnt":1,"ctg_id":183},{"cnt":1,"ctg_id":184},{"cnt":1,"ctg_id":185},{"cnt":7,"ctg_id":187},{"cnt":2,"ctg_id":190},{"cnt":20,"ctg_id":191},{"cnt":7,"ctg_id":193},{"cnt":23,"ctg_id":194},{"cnt":4,"ctg_id":195},{"cnt":81,"ctg_id":196},{"cnt":3,"ctg_id":197},{"cnt":5,"ctg_id":199},{"cnt":2,"ctg_id":200},{"cnt":1,"ctg_id":201},{"cnt":25,"ctg_id":202},{"cnt":31,"ctg_id":203},{"cnt":20,"ctg_id":204},{"cnt":15,"ctg_id":205},{"cnt":7,"ctg_id":206},{"cnt":34,"ctg_id":207},{"cnt":21,"ctg_id":208},{"cnt":11,"ctg_id":213},{"cnt":3,"ctg_id":214},{"cnt":2814,"ctg_id":215},{"cnt":2,"ctg_id":216},{"cnt":1,"ctg_id":217},{"cnt":1,"ctg_id":231}]},{"affected":1,"name":"链式 Update 更新","result":true}]},"4_join_query":{"name":"JOIN查询测试","success":true,"tests":[{"count":5,"data":[{"ctg_name":null,"id":1,"title":"atestu"},{"ctg_name":null,"id":2,"title":"atestu"},{"ctg_name":null,"id":3,"title":"atestu"},{"ctg_name":null,"id":4,"title":"atestu"},{"ctg_name":"纪检监察","id":5,"title":"atestu"}],"name":"LEFT JOIN 链式查询","result":true},{"count":5,"lastQuery":"SELECT article.id, article.title, ctg.name as ctg_name FROM `article` LEFT JOIN `ctg` ON article.ctg_id = ctg.id WHERE article.state=? LIMIT 5 ;","name":"传统 JOIN 语法","result":true},{"count":5,"data":[{"admin_name":"admin","ctg_name":null,"id":1,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":2,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":3,"title":"atestu"},{"admin_name":"admin","ctg_name":null,"id":4,"title":"atestu"},{"admin_name":"admin","ctg_name":"纪检监察","id":5,"title":"atestu"}],"name":"多表 JOIN","result":true},{"count":5,"name":"INNER JOIN","result":true}]},"5_aggregate":{"name":"聚合函数测试","success":true,"tests":[{"count":16659,"name":"Count 总数统计","result":true},{"count":16659,"name":"Count 条件统计","result":true},{"name":"Sum 求和","result":true,"sum":499106},{"avg":29.9601,"name":"Avg 平均值","result":true},{"max":4803,"name":"Max 最大值","result":true},{"min":0,"name":"Min 最小值","result":true},{"name":"GROUP BY 分组统计","result":true,"stats":[{"article_count":4912,"avg_clicks":"34.7453","ctg_id":23,"total_clicks":"170669"},{"article_count":2814,"avg_clicks":"24.8856","ctg_id":215,"total_clicks":"70028"},{"article_count":1857,"avg_clicks":"55.4265","ctg_id":21,"total_clicks":"102927"},{"article_count":1235,"avg_clicks":"12.1061","ctg_id":24,"total_clicks":"14951"},{"article_count":1165,"avg_clicks":"2.6704","ctg_id":26,"total_clicks":"3111"},{"article_count":1156,"avg_clicks":"16.6176","ctg_id":25,"total_clicks":"19210"},{"article_count":632,"avg_clicks":"131.1487","ctg_id":22,"total_clicks":"82886"},{"article_count":627,"avg_clicks":"2.0335","ctg_id":null,"total_clicks":"1275"},{"article_count":185,"avg_clicks":"8.6757","ctg_id":35,"total_clicks":"1605"},{"article_count":165,"avg_clicks":"0.4242","ctg_id":70,"total_clicks":"70"}]}]},"6_pagination":{"name":"分页查询测试","success":true,"tests":[{"count":5,"name":"PageSelect 分页查询","result":true},{"count":5,"name":"PageSelect 第二页","result":true},{"count":3,"name":"链式 Page 分页","result":true},{"count":3,"lastQuery":"SELECT id,title FROM `article` WHERE `state` =? LIMIT 3 OFFSET 2 ;","name":"Offset 偏移查询","result":true}]},"7_batch_insert":{"name":"批量插入测试","success":true,"tests":[{"affected":3,"lastQuery":"INSERT INTO `test_batch` (`name`, `state`, `title`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)","name":"BatchInsert 批量插入","result":true},{"affected":2,"name":"BatchInsert 带 [#] 标记","result":true}]},"8_upsert":{"name":"Upsert测试","success":true,"tests":[{"affected":1,"lastQuery":"INSERT INTO `admin` (`modify_time`, `name`, `phone`, `state`, `password`, `role_id`, `title`, `create_time`) VALUES (NOW(), ?, ?, ?, ?, ?, ?, NOW()) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `state` = VALUES(`state`), `title` = VALUES(`title`), `modify_time` = NOW()","name":"Upsert 插入新记录 (admin表)","result":true},{"affected":1,"name":"Upsert 更新已存在记录","result":true,"updatedAdmin":{"avatar_img":null,"create_time":"2026-01-21 21:28:35","id":21,"modify_time":"2026-01-21 21:28:35","name":"Upsert测试管理员","password":"test123","phone":"19969030915","role_id":1,"state":1,"title":"测试职位"}}]},"9_transaction":{"name":"事务测试","success":true,"tests":[{"name":"事务成功提交","recordExists":true,"result":true},{"name":"事务回滚","recordRolledBack":false,"result":true}]}},"hypothesisId":"ALL_TESTS_DONE","location":"main.go:80","message":"所有测试完成","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769030918977} diff --git a/config/app.json b/config/app.json new file mode 100644 index 0000000..c4dac75 --- /dev/null +++ b/config/app.json @@ -0,0 +1,19 @@ +{ + "flow": {}, + "id": "d751713988987e9331980363e24189ce", + "label": "HoTime管理平台", + "labelConfig": { + "add": "添加", + "delete": "删除", + "download": "下载清单", + "edit": "编辑", + "info": "查看详情", + "show": "开启" + }, + "menus": [], + "name": "admin", + "stop": [ + "role", + "org" + ] +} \ No newline at end of file diff --git a/example/config/config.json b/config/config.json similarity index 52% rename from example/config/config.json rename to config/config.json index 71f5f00..ea49547 100644 --- a/example/config/config.json +++ b/config/config.json @@ -1,28 +1,14 @@ { "cache": { - "db": { - "db": true, - "session": true, - "timeout": 72000 - }, "memory": { "db": true, "session": true, "timeout": 7200 - }, - "redis": { - "db": true, - "host": "127.0.0.1", - "password": "", - "port": 6379, - "session": true, - "timeout": 7200 } }, "codeConfig": [ { - "config": "config/admin.json", - "configDB": "config/adminDB.json", + "config": "config/app.json", "mode": 0, "name": "", "rule": "config/rule.json", @@ -30,12 +16,8 @@ } ], "db": { - "mysql": { - "host": "192.168.6.253", - "name": "dgs-cms260122", - "password": "dasda8454456", - "port": "3306", - "user": "root" + "sqlite": { + "path": "config/data.db" } }, "defFile": [ @@ -50,7 +32,7 @@ "5": "数据结果异常" }, "mode": 2, - "port": "8081", + "port": "80", "sessionName": "HOTIME", "tpt": "tpt" } \ No newline at end of file diff --git a/example/config/configNote.json b/config/configNote.json similarity index 100% rename from example/config/configNote.json rename to config/configNote.json diff --git a/config/data.db b/config/data.db new file mode 100644 index 0000000..e69de29 diff --git a/example/config/rule.json b/config/rule.json similarity index 99% rename from example/config/rule.json rename to config/rule.json index a77d15c..ac3cee9 100644 --- a/example/config/rule.json +++ b/config/rule.json @@ -396,7 +396,7 @@ "list": false, "must": false, "name": "auth", - "strict": true, + "strict": false, "type": "auth" }, { diff --git a/db/builder.go b/db/builder.go index 3400521..bcd77ec 100644 --- a/db/builder.go +++ b/db/builder.go @@ -23,12 +23,33 @@ func (that *HoTimeDB) Table(table string) *HotimeDBBuilder { // Get 获取单条记录 func (that *HotimeDBBuilder) Get(qu ...interface{}) Map { - return that.HoTimeDB.Get(that.table, that.join, qu, that.where) + // 构建参数:根据是否有 JOIN 来决定参数结构 + var args []interface{} + if len(that.join) > 0 { + // 有 JOIN 时:join, fields, where + if len(qu) > 0 { + args = append(args, that.join, qu[0], that.where) + } else { + args = append(args, that.join, "*", that.where) + } + } else { + // 无 JOIN 时:fields, where + if len(qu) > 0 { + args = append(args, qu[0], that.where) + } else { + args = append(args, "*", that.where) + } + } + return that.HoTimeDB.Get(that.table, args...) } // Count 统计数量 func (that *HotimeDBBuilder) Count() int { - return that.HoTimeDB.Count(that.table, that.join, that.where) + // 构建参数:根据是否有 JOIN 来决定参数结构 + if len(that.join) > 0 { + return that.HoTimeDB.Count(that.table, that.join, that.where) + } + return that.HoTimeDB.Count(that.table, that.where) } // Page 设置分页 @@ -40,10 +61,28 @@ func (that *HotimeDBBuilder) Page(page, pageRow int) *HotimeDBBuilder { // Select 查询多条记录 func (that *HotimeDBBuilder) Select(qu ...interface{}) []Map { - if that.page != 0 { - return that.HoTimeDB.Page(that.page, that.pageRow).PageSelect(that.table, that.join, qu, that.where) + // 构建参数:根据是否有 JOIN 来决定参数结构 + var args []interface{} + if len(that.join) > 0 { + // 有 JOIN 时:join, fields, where + if len(qu) > 0 { + args = append(args, that.join, qu[0], that.where) + } else { + args = append(args, that.join, "*", that.where) + } + } else { + // 无 JOIN 时:fields, where + if len(qu) > 0 { + args = append(args, qu[0], that.where) + } else { + args = append(args, "*", that.where) + } } - return that.HoTimeDB.Select(that.table, that.join, qu, that.where) + + if that.page != 0 { + return that.HoTimeDB.Page(that.page, that.pageRow).PageSelect(that.table, args...) + } + return that.HoTimeDB.Select(that.table, args...) } // Update 更新记录 diff --git a/db/where.go b/db/where.go index 917ef6e..4371387 100644 --- a/db/where.go +++ b/db/where.go @@ -186,6 +186,9 @@ func (that *HoTimeDB) varCond(k string, v interface{}) (string, []interface{}) { if k == "[#]" { k = strings.Replace(k, "[#]", "", -1) where += " " + ObjToStr(v) + " " + } else if k == "[##]" { + // 直接添加 SQL 片段(key 为 [##] 时) + where += " " + ObjToStr(v) + " " } else if length > 0 && strings.Contains(k, "[") && k[length-1] == ']' { def := false diff --git a/example/benchmark_test.go b/example/benchmark_test.go deleted file mode 100644 index bd7f0cc..0000000 --- a/example/benchmark_test.go +++ /dev/null @@ -1,262 +0,0 @@ -package main - -import ( - "encoding/json" - "fmt" - "io" - "net/http" - "sync" - "sync/atomic" - "time" -) - -// 压测配置 -type BenchConfig struct { - URL string // 测试URL - Concurrency int // 并发数 - Duration time.Duration // 持续时间 - Timeout time.Duration // 请求超时时间 -} - -// 压测结果 -type BenchResult struct { - TotalRequests int64 // 总请求数 - SuccessRequests int64 // 成功请求数 - FailedRequests int64 // 失败请求数 - TotalDuration time.Duration // 总耗时 - MinLatency time.Duration // 最小延迟 - MaxLatency time.Duration // 最大延迟 - AvgLatency time.Duration // 平均延迟 - QPS float64 // 每秒请求数 -} - -func main() { - fmt.Println("==========================================") - fmt.Println(" HoTime 框架性能压力测试") - fmt.Println("==========================================") - fmt.Println() - - // 测试配置 - configs := []BenchConfig{ - { - URL: "http://127.0.0.1:8081/app/test/hello", - Concurrency: 10, - Duration: 10 * time.Second, - Timeout: 5 * time.Second, - }, - { - URL: "http://127.0.0.1:8081/app/test/hello", - Concurrency: 50, - Duration: 10 * time.Second, - Timeout: 5 * time.Second, - }, - { - URL: "http://127.0.0.1:8081/app/test/hello", - Concurrency: 100, - Duration: 10 * time.Second, - Timeout: 5 * time.Second, - }, - { - URL: "http://127.0.0.1:8081/app/test/hello", - Concurrency: 200, - Duration: 10 * time.Second, - Timeout: 5 * time.Second, - }, - } - - // 先检查服务是否可用 - fmt.Println("正在检查服务是否可用...") - if !checkService(configs[0].URL) { - fmt.Println("❌ 服务不可用,请先启动示例应用:") - fmt.Println(" cd example && go run main.go") - return - } - fmt.Println("✅ 服务已就绪") - fmt.Println() - - // 执行压测 - for i, config := range configs { - fmt.Printf("【测试 %d】并发数: %d, 持续时间: %v\n", i+1, config.Concurrency, config.Duration) - fmt.Println("------------------------------------------") - - result := runBenchmark(config) - printResult(result) - fmt.Println() - - // 测试间隔,让服务恢复 - if i < len(configs)-1 { - fmt.Println("等待 3 秒后开始下一轮测试...") - time.Sleep(3 * time.Second) - fmt.Println() - } - } - - fmt.Println("==========================================") - fmt.Println(" 压力测试完成") - fmt.Println("==========================================") -} - -// 检查服务是否可用 -func checkService(url string) bool { - client := &http.Client{Timeout: 3 * time.Second} - resp, err := client.Get(url) - if err != nil { - return false - } - defer resp.Body.Close() - return resp.StatusCode == 200 -} - -// 执行压测 -func runBenchmark(config BenchConfig) BenchResult { - var ( - totalRequests int64 - successRequests int64 - failedRequests int64 - totalLatency int64 // 纳秒 - minLatency int64 = int64(time.Hour) - maxLatency int64 - mu sync.Mutex - ) - - // 创建HTTP客户端 - client := &http.Client{ - Timeout: config.Timeout, - Transport: &http.Transport{ - MaxIdleConns: config.Concurrency * 2, - MaxIdleConnsPerHost: config.Concurrency * 2, - IdleConnTimeout: 90 * time.Second, - }, - } - - // 控制退出 - done := make(chan struct{}) - var wg sync.WaitGroup - - startTime := time.Now() - - // 启动并发goroutine - for i := 0; i < config.Concurrency; i++ { - wg.Add(1) - go func() { - defer wg.Done() - - for { - select { - case <-done: - return - default: - reqStart := time.Now() - success := makeRequest(client, config.URL) - latency := time.Since(reqStart).Nanoseconds() - - atomic.AddInt64(&totalRequests, 1) - atomic.AddInt64(&totalLatency, latency) - - if success { - atomic.AddInt64(&successRequests, 1) - } else { - atomic.AddInt64(&failedRequests, 1) - } - - // 更新最小/最大延迟 - mu.Lock() - if latency < minLatency { - minLatency = latency - } - if latency > maxLatency { - maxLatency = latency - } - mu.Unlock() - } - } - }() - } - - // 等待指定时间 - time.Sleep(config.Duration) - close(done) - wg.Wait() - - totalDuration := time.Since(startTime) - - // 计算结果 - result := BenchResult{ - TotalRequests: totalRequests, - SuccessRequests: successRequests, - FailedRequests: failedRequests, - TotalDuration: totalDuration, - MinLatency: time.Duration(minLatency), - MaxLatency: time.Duration(maxLatency), - } - - if totalRequests > 0 { - result.AvgLatency = time.Duration(totalLatency / totalRequests) - result.QPS = float64(totalRequests) / totalDuration.Seconds() - } - - return result -} - -// 发起单个请求 -func makeRequest(client *http.Client, url string) bool { - resp, err := client.Get(url) - if err != nil { - return false - } - defer resp.Body.Close() - - // 读取响应体 - body, err := io.ReadAll(resp.Body) - if err != nil { - return false - } - - // 验证响应 - if resp.StatusCode != 200 { - return false - } - - // 验证JSON格式 - var result map[string]interface{} - if err := json.Unmarshal(body, &result); err != nil { - return false - } - - // 验证返回状态 - if status, ok := result["status"].(float64); !ok || status != 0 { - return false - } - - return true -} - -// 打印结果 -func printResult(result BenchResult) { - successRate := float64(result.SuccessRequests) / float64(result.TotalRequests) * 100 - - fmt.Printf("总请求数: %d\n", result.TotalRequests) - fmt.Printf("成功请求: %d\n", result.SuccessRequests) - fmt.Printf("失败请求: %d\n", result.FailedRequests) - fmt.Printf("成功率: %.2f%%\n", successRate) - fmt.Printf("总耗时: %v\n", result.TotalDuration.Round(time.Millisecond)) - fmt.Printf("QPS: %.2f 请求/秒\n", result.QPS) - fmt.Printf("最小延迟: %v\n", result.MinLatency.Round(time.Microsecond)) - fmt.Printf("最大延迟: %v\n", result.MaxLatency.Round(time.Microsecond)) - fmt.Printf("平均延迟: %v\n", result.AvgLatency.Round(time.Microsecond)) - - // 性能评级 - fmt.Print("性能评级: ") - switch { - case result.QPS >= 10000: - fmt.Println("🚀 优秀 (QPS >= 10000)") - case result.QPS >= 5000: - fmt.Println("⭐ 良好 (QPS >= 5000)") - case result.QPS >= 2000: - fmt.Println("👍 中等 (QPS >= 2000)") - case result.QPS >= 1000: - fmt.Println("📊 一般 (QPS >= 1000)") - default: - fmt.Println("⚠️ 需优化 (QPS < 1000)") - } -} diff --git a/example/config/admin.json b/example/config/admin.json deleted file mode 100644 index 5df4786..0000000 --- a/example/config/admin.json +++ /dev/null @@ -1,472 +0,0 @@ -{ - "flow": { - "admin": { - "sql": { - "role_id": "role_id" - }, - "stop": false, - "table": "admin" - }, - "article": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "article" - }, - "ctg": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg" - }, - "ctg_article": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg_article" - }, - "ctg_copy": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg_copy" - }, - "logs": { - "sql": { - - }, - "stop": false, - "table": "logs" - }, - "org": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "org" - }, - "role": { - "sql": { - "admin_id": "id", - "id": "role_id" - }, - "stop": true, - "table": "role" - } - }, - "id": "74a8a59407fa7d6c7fcdc85742dbae57", - "label": "HoTime管理平台", - "labelConfig": { - "add": "添加", - "delete": "删除", - "download": "下载清单", - "edit": "编辑", - "info": "查看详情", - "show": "开启" - }, - "menus": [ - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "ebw_news", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_news", - "table": "ebw_news" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_news_addition_res", - "table": "ebw_news_addition_res" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_annex", - "table": "ebw_annex" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_customer", - "table": "ebw_customer" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_items", - "table": "ebw_items" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_res", - "table": "ebw_res" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote", - "table": "ebw_vote" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote_option", - "table": "ebw_vote_option" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_user", - "table": "ebw_user" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_attachment", - "table": "ebw_attachment" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_jobs", - "table": "ebw_jobs" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote_user", - "table": "ebw_vote_user" - } - ], - "name": "sys:ebw" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "系统管理", - "menus": [ - { - "auth": [ - "show", - "download" - ], - "label": "日志管理", - "table": "logs" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "角色管理", - "table": "role" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "组织管理", - "table": "org" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "人员管理", - "table": "admin" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "文章管理", - "table": "article" - } - ], - "name": "sys" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "外部系统", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "外部系统", - "table": "swiper_sys" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "顶部", - "table": "swiper_top" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "飘窗", - "table": "swiper_fly" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "底部", - "table": "swiper_bottom" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "中间", - "table": "swiper_center" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "关联专题", - "table": "swiper_point" - } - ], - "name": "sys:swiper" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "栏目管理", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "栏目管理", - "table": "ctg" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "关联栏目", - "table": "ctg_article" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "栏目管理", - "table": "ctg_copy" - } - ], - "name": "sys:ctg" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "纪委信箱", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "纪委信箱", - "table": "mail_discipline" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "总经理信箱", - "table": "mail" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "党委书记信箱", - "table": "mail_part" - } - ], - "name": "sys:mail" - } - ], - "name": "admin", - "stop": [ - "role", - "org" - ] -} \ No newline at end of file diff --git a/example/config/adminDB.json b/example/config/adminDB.json deleted file mode 100644 index 4f3c953..0000000 --- a/example/config/adminDB.json +++ /dev/null @@ -1,5236 +0,0 @@ -{ - "flow": { - "admin": { - "sql": { - "role_id": "role_id" - }, - "stop": false, - "table": "admin" - }, - "article": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "article" - }, - "ctg": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg" - }, - "ctg_article": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg_article" - }, - "ctg_copy": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "ctg_copy" - }, - "logs": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "logs" - }, - "org": { - "sql": { - "admin_id": "id" - }, - "stop": false, - "table": "org" - }, - "role": { - "sql": { - "admin_id": "id", - "id": "role_id" - }, - "stop": true, - "table": "role" - } - }, - "id": "37a7189078e76283764336a7252d7412", - "label": "HoTime管理平台", - "labelConfig": { - "add": "添加", - "delete": "删除", - "download": "下载清单", - "edit": "编辑", - "info": "查看详情", - "show": "开启" - }, - "menus": [ - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "系统管理", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "人员管理", - "table": "admin" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "角色管理", - "table": "role" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "文章管理", - "table": "article" - }, - { - "auth": [ - "show", - "download" - ], - "label": "日志管理", - "table": "logs" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "组织管理", - "table": "org" - } - ], - "name": "sys" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "ebw_attachment", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_attachment", - "table": "ebw_attachment" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_jobs", - "table": "ebw_jobs" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_news", - "table": "ebw_news" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_news_addition_res", - "table": "ebw_news_addition_res" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_annex", - "table": "ebw_annex" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_res", - "table": "ebw_res" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_items", - "table": "ebw_items" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote", - "table": "ebw_vote" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_customer", - "table": "ebw_customer" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_user", - "table": "ebw_user" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote_option", - "table": "ebw_vote_option" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "ebw_vote_user", - "table": "ebw_vote_user" - } - ], - "name": "sys:ebw" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "纪委信箱", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "纪委信箱", - "table": "mail_discipline" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "党委书记信箱", - "table": "mail_part" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "总经理信箱", - "table": "mail" - } - ], - "name": "sys:mail" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "底部", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "底部", - "table": "swiper_bottom" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "关联专题", - "table": "swiper_point" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "中间", - "table": "swiper_center" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "飘窗", - "table": "swiper_fly" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "外部系统", - "table": "swiper_sys" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "顶部", - "table": "swiper_top" - } - ], - "name": "sys:swiper" - }, - { - "auth": [ - "show" - ], - "icon": "Setting", - "label": "栏目管理", - "menus": [ - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "栏目管理", - "table": "ctg_copy" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "关联栏目", - "table": "ctg_article" - }, - { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "label": "栏目管理", - "table": "ctg" - } - ], - "name": "sys:ctg" - } - ], - "name": "admin", - "stop": [ - "role", - "org" - ], - "tables": { - "admin": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "手机号", - "name": "phone", - "type": "text" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "info": false, - "label": "密码", - "list": false, - "name": "password", - "type": "password" - }, - { - "label": "头像", - "list": false, - "name": "avatar_img", - "type": "image" - }, - { - "label": "角色", - "link": "role", - "name": "role_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "职位", - "name": "title", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - } - ], - "label": "人员管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "职位", - "value": "title" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "手机号", - "value": "phone" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "admin" - }, - "article": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "标题", - "name": "title", - "type": "text" - }, - { - "default": "0", - "label": "优先级", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "label": "作者", - "name": "author", - "type": "text" - }, - { - "label": "来源", - "name": "origin", - "type": "text" - }, - { - "label": "头图", - "list": false, - "name": "img", - "type": "image" - }, - { - "label": "归属板块", - "link": "ctg", - "name": "ctg_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "创建用户", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "推送时间", - "name": "push_time", - "type": "time" - }, - { - "default": "0", - "label": "点击量", - "name": "click_num", - "sortable": true, - "type": "number" - }, - { - "label": "描述", - "list": false, - "name": "description", - "type": "text" - }, - { - "label": "正文", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "add": false, - "edit": false, - "label": "编号", - "name": "sn", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - } - ], - "type": "select" - } - ], - "label": "文章管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "标题", - "value": "title" - }, - { - "name": "作者", - "value": "author" - }, - { - "name": "来源", - "value": "origin" - }, - { - "name": "id", - "value": "id" - }, - { - "name": "描述", - "value": "description" - }, - { - "name": "正文", - "value": "content" - }, - { - "name": "编号", - "value": "sn" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "推送时间", - "value": "push_time" - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "归属板块", - "link": "ctg", - "name": "ctg_id", - "type": "tree", - "value": "name" - } - ], - "table": "article" - }, - "ctg": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "板块名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "编码", - "name": "sn", - "type": "text" - }, - { - "default": "0", - "label": "优先级", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "label": "源链接", - "name": "url", - "type": "text" - }, - { - "label": "头图", - "list": false, - "name": "img", - "type": "image" - }, - { - "label": "上级板块", - "link": "ctg", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "add": false, - "default": ",", - "edit": false, - "info": false, - "label": "索引", - "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" - }, - { - "label": "关联文章", - "link": "article", - "name": "article_id", - "sortable": true, - "type": "number", - "value": "title" - } - ], - "label": "栏目管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "板块名称", - "value": "name" - }, - { - "name": "编码", - "value": "sn" - }, - { - "name": "文章", - "value": "article_id" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "源链接", - "value": "url" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "上级板块", - "link": "ctg", - "name": "parent_id", - "type": "tree", - "value": "name" - } - ], - "table": "ctg" - }, - "ctg_article": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "编号", - "name": "sn", - "type": "text" - }, - { - "label": "板块", - "link": "ctg", - "name": "ctg_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "文章", - "link": "article", - "name": "article_id", - "sortable": true, - "type": "number", - "value": "title" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - } - ], - "type": "select" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - } - ], - "label": "关联栏目", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "文章", - "value": "article_id" - }, - { - "name": "id", - "value": "id" - }, - { - "name": "编号", - "value": "sn" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "板块", - "link": "ctg", - "name": "ctg_id", - "type": "tree", - "value": "name" - } - ], - "table": "ctg_article" - }, - "ctg_copy": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "板块名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "编码", - "name": "sn", - "type": "text" - }, - { - "default": "0", - "label": "优先级", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "label": "源链接", - "name": "url", - "type": "text" - }, - { - "label": "头图", - "list": false, - "name": "img", - "type": "image" - }, - { - "label": "上级板块", - "link": "ctg_copy", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "add": false, - "default": ",", - "edit": false, - "info": false, - "label": "索引", - "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" - }, - { - "label": "关联文章", - "link": "article", - "name": "article_id", - "sortable": true, - "type": "number", - "value": "title" - } - ], - "label": "栏目管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "编码", - "value": "sn" - }, - { - "name": "源链接", - "value": "url" - }, - { - "name": "文章", - "value": "article_id" - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "板块名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "上级板块", - "link": "ctg_copy", - "name": "parent_id", - "type": "tree", - "value": "name" - } - ], - "table": "ctg_copy" - }, - "ebw_annex": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "fileName", - "list": false, - "name": "fileName", - "type": "file" - }, - { - "label": "fileRealName", - "list": false, - "name": "fileRealName", - "type": "file" - }, - { - "label": "fileBack", - "list": false, - "name": "fileBack", - "type": "file" - }, - { - "label": "fileSize", - "list": false, - "name": "fileSize", - "type": "file" - }, - { - "label": "owner", - "name": "owner", - "type": "text" - }, - { - "label": "ownerName", - "name": "ownerName", - "type": "text" - }, - { - "label": "uploadTime", - "name": "uploadTime", - "type": "text" - }, - { - "label": "pid", - "name": "pid", - "type": "text" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "flag", - "name": "flag", - "type": "text" - }, - { - "label": "count", - "name": "count", - "type": "text" - }, - { - "default": "", - "label": "path", - "name": "path", - "type": "text" - } - ], - "label": "ebw_annex", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_annex" - }, - "ebw_attachment": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "path", - "must": true, - "name": "path", - "type": "text" - }, - { - "label": "fk_news", - "must": true, - "name": "fk_news", - "type": "text" - }, - { - "label": "createTime", - "name": "createTime", - "type": "text" - } - ], - "label": "ebw_attachment", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_attachment" - }, - "ebw_customer": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "title", - "name": "title", - "type": "text" - }, - { - "label": "point", - "name": "point", - "type": "text" - }, - { - "label": "content", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "floate", - "name": "floate", - "type": "text" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "timedate", - "name": "timedate", - "type": "time" - }, - { - "label": "owner", - "name": "owner", - "type": "text" - } - ], - "label": "ebw_customer", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_customer" - }, - "ebw_items": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "title", - "name": "title", - "type": "text" - }, - { - "label": "content", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "timedate", - "name": "timedate", - "type": "time" - }, - { - "label": "owner", - "name": "owner", - "type": "text" - } - ], - "label": "ebw_items", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_items" - }, - "ebw_jobs": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "title", - "name": "title", - "type": "text" - }, - { - "label": "content", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "timedate", - "name": "timedate", - "type": "time" - }, - { - "label": "owner", - "name": "owner", - "type": "text" - }, - { - "label": "depart", - "name": "depart", - "type": "text" - }, - { - "label": "totalNum", - "name": "totalNum", - "type": "text" - } - ], - "label": "ebw_jobs", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_jobs" - }, - "ebw_news": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "title", - "name": "title", - "type": "text" - }, - { - "label": "content", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "timedate", - "name": "timedate", - "type": "time" - }, - { - "label": "owner", - "name": "owner", - "type": "text" - }, - { - "label": "flag", - "name": "flag", - "type": "text" - }, - { - "label": "shenhe", - "name": "shenhe", - "type": "text" - }, - { - "default": "#000000", - "label": "titlecolor", - "name": "titlecolor", - "type": "text" - }, - { - "default": "0", - "label": "zhiding", - "name": "zhiding", - "type": "text" - }, - { - "label": "f_up_title", - "name": "f_up_title", - "type": "text" - }, - { - "label": "f_down_title", - "name": "f_down_title", - "type": "text" - }, - { - "default": "0", - "label": "readtime", - "name": "readtime", - "type": "time" - }, - { - "label": "source", - "name": "source", - "type": "text" - } - ], - "label": "ebw_news", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_news" - }, - "ebw_news_addition_res": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "label": "fk_newsid", - "must": true, - "name": "fk_newsid", - "type": "text" - }, - { - "label": "fk_res", - "must": true, - "name": "fk_res", - "type": "text" - } - ], - "label": "ebw_news_addition_res", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_news_addition_res" - }, - "ebw_res": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "default": "", - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "cid", - "name": "cid", - "type": "text" - }, - { - "label": "pid", - "name": "pid", - "type": "text" - }, - { - "label": "name", - "name": "name", - "type": "text" - }, - { - "label": "path", - "name": "path", - "type": "text" - }, - { - "label": "url", - "name": "url", - "type": "text" - }, - { - "label": "title", - "name": "title", - "type": "text" - }, - { - "label": "target", - "name": "target", - "type": "text" - }, - { - "label": "icon", - "list": false, - "name": "icon", - "type": "image" - }, - { - "label": "iconOpen", - "list": false, - "name": "iconOpen", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "tableName", - "name": "tableName", - "type": "table" - }, - { - "label": "sequence", - "list": false, - "name": "sequence", - "type": "text" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "listType", - "name": "listType", - "type": "text" - }, - { - "label": "renderInNav", - "name": "renderInNav", - "type": "text" - }, - { - "label": "isLink", - "name": "isLink", - "type": "text" - }, - { - "label": "linkPath", - "name": "linkPath", - "type": "text" - }, - { - "default": "n", - "label": "是否锁定", - "name": "locking", - "type": "text" - } - ], - "label": "ebw_res", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_res" - }, - "ebw_user": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "type": "text" - }, - { - "label": "no", - "name": "no", - "type": "text" - }, - { - "label": "account", - "name": "account", - "type": "text" - }, - { - "label": "name", - "name": "name", - "type": "text" - }, - { - "label": "sex", - "name": "sex", - "options": [], - "type": "select" - }, - { - "label": "pass", - "name": "pass", - "type": "text" - }, - { - "label": "mpass", - "name": "mpass", - "type": "text" - }, - { - "label": "adrress", - "name": "adrress", - "type": "text" - }, - { - "label": "tel", - "name": "tel", - "type": "text" - }, - { - "label": "mail", - "name": "mail", - "type": "text" - }, - { - "label": "type", - "name": "type", - "type": "text" - }, - { - "label": "depNo", - "name": "depNo", - "type": "text" - }, - { - "label": "depName", - "name": "depName", - "type": "text" - } - ], - "label": "ebw_user", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "name", - "value": "name" - }, - { - "name": "pass", - "value": "pass" - }, - { - "name": "mpass", - "value": "mpass" - }, - { - "name": "adrress", - "value": "adrress" - }, - { - "name": "tel", - "value": "tel" - }, - { - "name": "mail", - "value": "mail" - }, - { - "name": "depNo", - "value": "depNo" - }, - { - "name": "id", - "value": "id" - }, - { - "name": "account", - "value": "account" - }, - { - "name": "type", - "value": "type" - }, - { - "name": "depName", - "value": "depName" - }, - { - "name": "no", - "value": "no" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "label": "sex", - "name": "sex", - "options": [ - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "ebw_user" - }, - "ebw_vote": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "主键", - "name": "id", - "type": "text" - }, - { - "label": "主题", - "name": "theme", - "type": "text" - }, - { - "label": "主题描述", - "name": "coutent", - "type": "text" - }, - { - "label": "开始时间", - "name": "startTime", - "type": "text" - }, - { - "label": "结束时间", - "name": "endTime", - "type": "text" - }, - { - "label": "创建时间", - "name": "createTime", - "type": "text" - }, - { - "label": "创建人", - "name": "createUser", - "type": "text" - }, - { - "label": "创建人所属部门", - "name": "createDepartment", - "type": "text" - }, - { - "label": "是否显示", - "name": "isShow", - "sortable": true, - "type": "number" - } - ], - "label": "ebw_vote", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_vote" - }, - "ebw_vote_option": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "主键", - "name": "id", - "type": "text" - }, - { - "label": "投票主题ID", - "name": "voteid", - "type": "text" - }, - { - "label": "选项标题", - "name": "title", - "type": "text" - }, - { - "label": "选项内容", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "default": "0", - "label": "获得票数", - "name": "sum", - "sortable": true, - "type": "number" - }, - { - "label": "选项图片路径", - "name": "path", - "type": "text" - }, - { - "label": "编号", - "name": "unmber", - "sortable": true, - "type": "number" - } - ], - "label": "ebw_vote_option", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_vote_option" - }, - "ebw_vote_user": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "主键", - "name": "id", - "type": "text" - }, - { - "label": "投票ID", - "name": "voteid", - "type": "text" - }, - { - "label": "用户ID", - "name": "userid", - "type": "text" - }, - { - "label": "投票时间", - "name": "voteTime", - "type": "text" - } - ], - "label": "ebw_vote_user", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - } - ], - "table": "ebw_vote_user" - }, - "logs": { - "auth": [ - "show", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "default": "0", - "label": "操作类型", - "name": "type", - "options": [ - { - "name": "详情", - "value": "0" - }, - { - "name": "新增", - "value": "1" - }, - { - "name": "修改", - "value": "2" - }, - { - "name": "删除", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "操作模块", - "name": "table", - "type": "table" - }, - { - "add": false, - "edit": false, - "label": "操作数据", - "name": "table_id", - "type": "table_id" - }, - { - "label": "操作时间", - "name": "time", - "ps": "ces", - "type": "time" - }, - { - "label": "IP地址", - "name": "ip", - "type": "text" - }, - { - "label": "操作员", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "其他内容", - "name": "name", - "type": "text" - } - ], - "label": "日志管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "其他内容", - "value": "name" - }, - { - "name": "IP地址", - "value": "ip" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "操作时间", - "value": "time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "操作类型", - "name": "type", - "options": [ - { - "name": "详情", - "value": "0" - }, - { - "name": "新增", - "value": "1" - }, - { - "name": "修改", - "value": "2" - }, - { - "name": "删除", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "logs" - }, - "mail": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "编号", - "name": "sn", - "type": "text" - }, - { - "label": "标题", - "name": "title", - "type": "text" - }, - { - "label": "内容", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "姓名", - "name": "name", - "type": "text" - }, - { - "label": "手机号", - "name": "phone", - "type": "text" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "IP", - "name": "not_show_ip", - "type": "text" - } - ], - "label": "总经理信箱", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "标题", - "value": "title" - }, - { - "name": "手机号", - "value": "phone" - }, - { - "name": "IP", - "value": "not_show_ip" - }, - { - "name": "id", - "value": "id" - }, - { - "name": "编号", - "value": "sn" - }, - { - "name": "内容", - "value": "content" - }, - { - "name": "姓名", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "mail" - }, - "mail_discipline": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "编号", - "name": "sn", - "type": "text" - }, - { - "label": "标题", - "name": "title", - "type": "text" - }, - { - "label": "内容", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "姓名", - "name": "name", - "type": "text" - }, - { - "label": "手机号", - "name": "phone", - "type": "text" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "IP", - "name": "not_show_ip", - "type": "text" - } - ], - "label": "纪委信箱", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "id", - "value": "id" - }, - { - "name": "手机号", - "value": "phone" - }, - { - "name": "编号", - "value": "sn" - }, - { - "name": "标题", - "value": "title" - }, - { - "name": "内容", - "value": "content" - }, - { - "name": "姓名", - "value": "name" - }, - { - "name": "IP", - "value": "not_show_ip" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - } - ], - "table": "mail_discipline" - }, - "mail_part": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "id", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "编号", - "name": "sn", - "type": "text" - }, - { - "label": "标题", - "name": "title", - "type": "text" - }, - { - "label": "内容", - "list": false, - "name": "content", - "type": "textArea" - }, - { - "label": "姓名", - "name": "name", - "type": "text" - }, - { - "label": "手机号", - "name": "phone", - "type": "text" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - } - ], - "sortable": true, - "type": "select" - }, - { - "label": "IP", - "name": "not_show_ip", - "type": "text" - } - ], - "label": "党委书记信箱", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "id", - "value": "id" - }, - { - "name": "编号", - "value": "sn" - }, - { - "name": "内容", - "value": "content" - }, - { - "name": "手机号", - "value": "phone" - }, - { - "name": "标题", - "value": "title" - }, - { - "name": "姓名", - "value": "name" - }, - { - "name": "IP", - "value": "not_show_ip" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "进展", - "name": "status", - "options": [ - { - "name": "未处置", - "value": "0" - }, - { - "name": "已阅读", - "value": "1" - }, - { - "name": "已处置", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "是否展示", - "name": "show", - "options": [ - { - "name": "否", - "value": "0" - }, - { - "name": "是", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - } - ], - "table": "mail_part" - }, - "org": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "编码", - "name": "sn", - "type": "text" - }, - { - "label": "板块名称", - "name": "name", - "type": "text" - }, - { - "default": "0", - "label": "优先级", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "label": "上级板块", - "link": "org", - "name": "parent_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - }, - { - "add": false, - "default": ",", - "edit": false, - "info": false, - "label": "索引", - "list": false, - "name": "parent_ids", - "notUse": true, - "type": "index" - } - ], - "label": "组织管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "编码", - "value": "sn" - }, - { - "name": "板块名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "label": "上级板块", - "link": "org", - "name": "parent_id", - "type": "tree", - "value": "name" - } - ], - "table": "org" - }, - "role": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - } - ], - "type": "select" - }, - { - "label": "权限", - "list": false, - "name": "auth", - "type": "auth" - }, - { - "label": "负责人", - "link": "admin", - "name": "admin_id", - "sortable": true, - "type": "number", - "value": "name" - } - ], - "label": "角色管理", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "已启用", - "value": "0" - }, - { - "name": "未启用", - "value": "1" - }, - { - "name": "异常", - "value": "2" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "role" - }, - "swiper_bottom": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "default": "0", - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - } - ], - "label": "底部", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "变更时间", - "value": "modify_time" - }, - { - "name": "创建时间", - "value": "create_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "swiper_bottom" - }, - "swiper_center": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "default": "0", - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - } - ], - "label": "中间", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "swiper_center" - }, - "swiper_fly": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "default": "0", - "label": "位置", - "name": "pos", - "options": [ - { - "name": "左下角", - "value": "0" - }, - { - "name": "右下角", - "value": "1" - }, - { - "name": "左上角", - "value": "2" - }, - { - "name": "右上角", - "value": "3" - } - ], - "sortable": true, - "type": "select" - }, - { - "default": "200", - "label": "宽度(px)", - "name": "width", - "sortable": true, - "type": "number" - }, - { - "default": "200", - "label": "高度(px)", - "name": "height", - "sortable": true, - "type": "number" - }, - { - "label": "链接", - "name": "url", - "type": "text" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - } - ], - "label": "飘窗", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "链接", - "value": "url" - }, - { - "name": "名称", - "value": "name" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - }, - { - "default": "0", - "label": "位置", - "name": "pos", - "options": [ - { - "name": "左下角", - "value": "0" - }, - { - "name": "右下角", - "value": "1" - }, - { - "name": "左上角", - "value": "2" - }, - { - "name": "右上角", - "value": "3" - }, - { - "name": "全部", - "value": null - } - ], - "sortable": true, - "type": "select", - "value": null - } - ], - "table": "swiper_fly" - }, - "swiper_point": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "链接", - "name": "url", - "type": "text" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - } - ], - "label": "关联专题", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "链接", - "value": "url" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "swiper_point" - }, - "swiper_sys": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "名称", - "name": "name", - "type": "text" - }, - { - "label": "链接", - "name": "url", - "type": "text" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - } - ], - "label": "外部系统", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - }, - { - "name": "名称", - "value": "name" - }, - { - "name": "链接", - "value": "url" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "swiper_sys" - }, - "swiper_top": { - "auth": [ - "show", - "add", - "delete", - "edit", - "info", - "download" - ], - "columns": [ - { - "add": false, - "edit": false, - "label": "ID", - "name": "id", - "sortable": true, - "type": "number" - }, - { - "label": "轮播图片", - "list": false, - "name": "img", - "type": "image" - }, - { - "add": false, - "edit": false, - "label": "创建时间", - "list": false, - "name": "create_time", - "type": "time" - }, - { - "add": false, - "edit": false, - "label": "变更时间", - "name": "modify_time", - "type": "time" - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - } - ], - "type": "select" - }, - { - "default": "0", - "label": "排序", - "list": false, - "name": "sort", - "sortable": true, - "type": "number" - } - ], - "label": "顶部", - "search": [ - { - "label": "筛选", - "name": "keywordtable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "ID", - "value": "id" - } - ], - "type": "search", - "value": null - }, - { - "label": "筛选", - "name": "daterangetable", - "options": [ - { - "name": "无", - "value": null - }, - { - "name": "创建时间", - "value": "create_time" - }, - { - "name": "变更时间", - "value": "modify_time" - } - ], - "type": "search", - "value": null - }, - { - "label": "请输入关键词", - "name": "keyword", - "type": "search", - "value": null - }, - { - "label": "时间段", - "name": "daterange", - "type": "search", - "value": null - }, - { - "label": "排序", - "name": "sort", - "type": "search", - "value": null - }, - { - "default": "0", - "label": "状态", - "name": "state", - "options": [ - { - "name": "正常", - "value": "0" - }, - { - "name": "异常", - "value": "1" - }, - { - "name": "全部", - "value": null - } - ], - "type": "select", - "value": null - } - ], - "table": "swiper_top" - } - } -} \ No newline at end of file diff --git a/example/config/data.db b/example/config/data.db deleted file mode 100644 index 3935bce..0000000 Binary files a/example/config/data.db and /dev/null differ diff --git a/example/main.go b/example/main.go index 4aa0180..17f4bed 100644 --- a/example/main.go +++ b/example/main.go @@ -1,25 +1,962 @@ package main import ( + "encoding/json" + "fmt" + "os" + "time" + . "code.hoteas.com/golang/hotime" . "code.hoteas.com/golang/hotime/common" + . "code.hoteas.com/golang/hotime/db" ) +// 调试日志文件路径 +const debugLogPath = `d:\work\hotimev1\.cursor\debug.log` + +// debugLog 写入调试日志 +func debugLog(location, message string, data interface{}, hypothesisId string) { + // #region agent log + logEntry := Map{ + "location": location, + "message": message, + "data": data, + "timestamp": time.Now().UnixMilli(), + "sessionId": "debug-session", + "runId": "hotimedb-test-run", + "hypothesisId": hypothesisId, + } + jsonBytes, _ := json.Marshal(logEntry) + f, err := os.OpenFile(debugLogPath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) + if err == nil { + f.WriteString(string(jsonBytes) + "\n") + f.Close() + } + // #endregion +} + func main() { + debugLog("main.go:35", "开始 HoTimeDB 全功能测试", nil, "START") appIns := Init("config/config.json") appIns.SetConnectListener(func(that *Context) (isFinished bool) { - return isFinished }) appIns.Run(Router{ "app": { "test": { - "hello": func(that *Context) { - that.Display(0, Map{"message": "Hello World"}) + // 测试入口 - 运行所有测试 + "all": func(that *Context) { + results := Map{} + debugLog("main.go:48", "开始所有测试", nil, "ALL_TESTS") + + // 初始化测试表 + initTestTables(that) + + // 1. 基础 CRUD 测试 + results["1_basic_crud"] = testBasicCRUD(that) + + // 2. 条件查询语法测试 + results["2_condition_syntax"] = testConditionSyntax(that) + + // 3. 链式查询测试 + results["3_chain_query"] = testChainQuery(that) + + // 4. JOIN 查询测试 + results["4_join_query"] = testJoinQuery(that) + + // 5. 聚合函数测试 + results["5_aggregate"] = testAggregate(that) + + // 6. 分页查询测试 + results["6_pagination"] = testPagination(that) + + // 7. 批量插入测试 + results["7_batch_insert"] = testBatchInsert(that) + + // 8. Upsert 测试 + results["8_upsert"] = testUpsert(that) + + // 9. 事务测试 + results["9_transaction"] = testTransaction(that) + + // 10. 原生 SQL 测试 + results["10_raw_sql"] = testRawSQL(that) + + debugLog("main.go:80", "所有测试完成", results, "ALL_TESTS_DONE") + that.Display(0, results) }, + + // 查询数据库表结构 + "tables": func(that *Context) { + debugLog("main.go:tables", "查询数据库表结构", nil, "TABLES") + // 查询所有表 + tables := that.Db.Query("SHOW TABLES") + debugLog("main.go:tables", "表列表", tables, "TABLES") + that.Display(0, Map{"tables": tables}) + }, + + // 查询指定表的结构 + "describe": func(that *Context) { + tableName := that.Req.FormValue("table") + if tableName == "" { + that.Display(1, "请提供 table 参数") + return + } + // 查询表结构 + columns := that.Db.Query("DESCRIBE " + tableName) + // 查询表数据(前10条) + data := that.Db.Select(tableName, Map{"LIMIT": 10}) + debugLog("main.go:describe", "表结构", Map{"table": tableName, "columns": columns, "data": data}, "DESCRIBE") + that.Display(0, Map{"table": tableName, "columns": columns, "sample_data": data}) + }, + + // 单独测试入口 + "crud": func(that *Context) { that.Display(0, testBasicCRUD(that)) }, + "condition": func(that *Context) { that.Display(0, testConditionSyntax(that)) }, + "chain": func(that *Context) { that.Display(0, testChainQuery(that)) }, + "join": func(that *Context) { that.Display(0, testJoinQuery(that)) }, + "aggregate": func(that *Context) { that.Display(0, testAggregate(that)) }, + "pagination": func(that *Context) { that.Display(0, testPagination(that)) }, + "batch": func(that *Context) { that.Display(0, testBatchInsert(that)) }, + "upsert": func(that *Context) { that.Display(0, testUpsert(that)) }, + "transaction": func(that *Context) { that.Display(0, testTransaction(that)) }, + "rawsql": func(that *Context) { that.Display(0, testRawSQL(that)) }, }, }, }) } + +// initTestTables 初始化测试表(MySQL真实数据库) +func initTestTables(that *Context) { + // MySQL 真实数据库已有表,创建测试用的临时表 + // 创建测试用的批量插入表 + that.Db.Exec(`CREATE TABLE IF NOT EXISTS test_batch ( + id INT AUTO_INCREMENT PRIMARY KEY, + name VARCHAR(100), + title VARCHAR(200), + state INT DEFAULT 0, + create_time DATETIME + )`) + + // 检查 admin 表数据 + adminCount := that.Db.Count("admin") + articleCount := that.Db.Count("article") + + debugLog("main.go:init", "MySQL数据库初始化检查完成", Map{ + "adminCount": adminCount, + "articleCount": articleCount, + "dbType": "MySQL", + }, "INIT") +} + +// ==================== 1. 基础 CRUD 测试 ==================== +func testBasicCRUD(that *Context) Map { + result := Map{"name": "基础CRUD测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:103", "开始基础 CRUD 测试 (MySQL)", nil, "H1_CRUD") + + // 1.1 Insert 测试 - 使用 admin 表 + insertTest := Map{"name": "Insert 插入测试 (admin表)"} + adminId := that.Db.Insert("admin", Map{ + "name": "测试管理员_" + fmt.Sprintf("%d", time.Now().Unix()), + "phone": fmt.Sprintf("138%d", time.Now().Unix()%100000000), + "state": 1, + "password": "test123456", + "role_id": 1, + "title": "测试职位", + "create_time[#]": "NOW()", + "modify_time[#]": "NOW()", + }) + insertTest["result"] = adminId > 0 + insertTest["adminId"] = adminId + insertTest["lastQuery"] = that.Db.LastQuery + debugLog("main.go:118", "Insert 测试", Map{"adminId": adminId, "success": adminId > 0, "query": that.Db.LastQuery}, "H1_INSERT") + tests = append(tests, insertTest) + + // 1.2 Get 测试 + getTest := Map{"name": "Get 获取单条记录测试"} + admin := that.Db.Get("admin", "*", Map{"id": adminId}) + getTest["result"] = admin != nil && admin.GetInt64("id") == adminId + getTest["admin"] = admin + debugLog("main.go:126", "Get 测试", Map{"admin": admin, "success": admin != nil}, "H1_GET") + tests = append(tests, getTest) + + // 1.3 Select 测试 - 单条件 + selectTest1 := Map{"name": "Select 单条件查询测试"} + admins1 := that.Db.Select("admin", "*", Map{"state": 1, "LIMIT": 5}) + selectTest1["result"] = len(admins1) >= 0 // 可能表中没有数据 + selectTest1["count"] = len(admins1) + debugLog("main.go:134", "Select 单条件测试", Map{"count": len(admins1)}, "H1_SELECT1") + tests = append(tests, selectTest1) + + // 1.4 Select 测试 - 多条件(自动 AND) + selectTest2 := Map{"name": "Select 多条件自动AND测试"} + admins2 := that.Db.Select("admin", "*", Map{ + "state": 1, + "role_id[>]": 0, + "ORDER": "id DESC", + "LIMIT": 5, + }) + selectTest2["result"] = true // 只要不报错就算成功 + selectTest2["count"] = len(admins2) + selectTest2["lastQuery"] = that.Db.LastQuery + debugLog("main.go:149", "Select 多条件自动AND测试", Map{"count": len(admins2), "query": that.Db.LastQuery}, "H1_SELECT2") + tests = append(tests, selectTest2) + + // 1.5 Update 测试 + updateTest := Map{"name": "Update 更新测试"} + affected := that.Db.Update("admin", Map{ + "title": "更新后的职位", + "modify_time[#]": "NOW()", + }, Map{"id": adminId}) + updateTest["result"] = affected > 0 + updateTest["affected"] = affected + debugLog("main.go:160", "Update 测试", Map{"affected": affected}, "H1_UPDATE") + tests = append(tests, updateTest) + + // 1.6 Delete 测试 - 使用 test_batch 表 + deleteTest := Map{"name": "Delete 删除测试"} + // 先创建一个临时记录用于删除 + tempId := that.Db.Insert("test_batch", Map{ + "name": "临时删除测试", + "title": "测试标题", + "state": 1, + "create_time[#]": "NOW()", + }) + deleteAffected := that.Db.Delete("test_batch", Map{"id": tempId}) + deleteTest["result"] = deleteAffected > 0 + deleteTest["affected"] = deleteAffected + debugLog("main.go:175", "Delete 测试", Map{"affected": deleteAffected}, "H1_DELETE") + tests = append(tests, deleteTest) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 2. 条件查询语法测试 ==================== +func testConditionSyntax(that *Context) Map { + result := Map{"name": "条件查询语法测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:188", "开始条件查询语法测试 (MySQL)", nil, "H2_CONDITION") + + // 2.1 等于 (=) - 使用 article 表 + test1 := Map{"name": "等于条件 (=)"} + articles1 := that.Db.Select("article", "id,title", Map{"state": 0, "LIMIT": 3}) + test1["result"] = true + test1["count"] = len(articles1) + debugLog("main.go:195", "等于条件测试", Map{"count": len(articles1)}, "H2_EQUAL") + tests = append(tests, test1) + + // 2.2 不等于 ([!]) + test2 := Map{"name": "不等于条件 ([!])"} + articles2 := that.Db.Select("article", "id,title,state", Map{"state[!]": -1, "LIMIT": 3}) + test2["result"] = true + test2["count"] = len(articles2) + test2["lastQuery"] = that.Db.LastQuery + debugLog("main.go:204", "不等于条件测试", Map{"count": len(articles2), "query": that.Db.LastQuery}, "H2_NOT_EQUAL") + tests = append(tests, test2) + + // 2.3 大于 ([>]) 和 小于 ([<]) + test3 := Map{"name": "大于小于条件 ([>], [<])"} + articles3 := that.Db.Select("article", "id,title,click_num", Map{ + "click_num[>]": 0, + "click_num[<]": 100000, + "LIMIT": 3, + }) + test3["result"] = true + test3["count"] = len(articles3) + debugLog("main.go:216", "大于小于条件测试", Map{"count": len(articles3)}, "H2_GREATER_LESS") + tests = append(tests, test3) + + // 2.4 大于等于 ([>=]) 和 小于等于 ([<=]) + test4 := Map{"name": "大于等于小于等于条件 ([>=], [<=])"} + articles4 := that.Db.Select("article", "id,title,sort", Map{ + "sort[>=]": 0, + "sort[<=]": 100, + "LIMIT": 3, + }) + test4["result"] = true + test4["count"] = len(articles4) + debugLog("main.go:228", "大于等于小于等于条件测试", Map{"count": len(articles4)}, "H2_GTE_LTE") + tests = append(tests, test4) + + // 2.5 LIKE 模糊查询 ([~]) + test5 := Map{"name": "LIKE 模糊查询 ([~])"} + articles5 := that.Db.Select("article", "id,title", Map{"title[~]": "新闻", "LIMIT": 3}) + test5["result"] = true + test5["count"] = len(articles5) + test5["lastQuery"] = that.Db.LastQuery + debugLog("main.go:237", "LIKE 模糊查询测试", Map{"count": len(articles5), "query": that.Db.LastQuery}, "H2_LIKE") + tests = append(tests, test5) + + // 2.6 右模糊 ([~!]) + test6 := Map{"name": "右模糊查询 ([~!])"} + articles6 := that.Db.Select("admin", "id,name", Map{"name[~!]": "管理", "LIMIT": 3}) + test6["result"] = true + test6["count"] = len(articles6) + debugLog("main.go:245", "右模糊查询测试", Map{"count": len(articles6)}, "H2_LIKE_RIGHT") + tests = append(tests, test6) + + // 2.7 BETWEEN ([<>]) + test7 := Map{"name": "BETWEEN 区间查询 ([<>])"} + articles7 := that.Db.Select("article", "id,title,click_num", Map{"click_num[<>]": Slice{0, 1000}, "LIMIT": 3}) + test7["result"] = true + test7["count"] = len(articles7) + test7["lastQuery"] = that.Db.LastQuery + debugLog("main.go:254", "BETWEEN 区间查询测试", Map{"count": len(articles7), "query": that.Db.LastQuery}, "H2_BETWEEN") + tests = append(tests, test7) + + // 2.8 NOT BETWEEN ([><]) + test8 := Map{"name": "NOT BETWEEN 查询 ([><])"} + articles8 := that.Db.Select("article", "id,title,sort", Map{"sort[><]": Slice{-10, 0}, "LIMIT": 3}) + test8["result"] = true + test8["count"] = len(articles8) + debugLog("main.go:262", "NOT BETWEEN 查询测试", Map{"count": len(articles8)}, "H2_NOT_BETWEEN") + tests = append(tests, test8) + + // 2.9 IN 查询 + test9 := Map{"name": "IN 查询"} + articles9 := that.Db.Select("article", "id,title", Map{"id": Slice{1, 2, 3, 4, 5}, "LIMIT": 5}) + test9["result"] = true + test9["count"] = len(articles9) + test9["lastQuery"] = that.Db.LastQuery + debugLog("main.go:271", "IN 查询测试", Map{"count": len(articles9), "query": that.Db.LastQuery}, "H2_IN") + tests = append(tests, test9) + + // 2.10 NOT IN ([!]) + test10 := Map{"name": "NOT IN 查询 ([!])"} + articles10 := that.Db.Select("article", "id,title", Map{"id[!]": Slice{1, 2, 3}, "LIMIT": 5}) + test10["result"] = true + test10["count"] = len(articles10) + debugLog("main.go:279", "NOT IN 查询测试", Map{"count": len(articles10)}, "H2_NOT_IN") + tests = append(tests, test10) + + // 2.11 IS NULL + test11 := Map{"name": "IS NULL 查询"} + articles11 := that.Db.Select("article", "id,title,img", Map{"img": nil, "LIMIT": 3}) + test11["result"] = true + test11["count"] = len(articles11) + debugLog("main.go:287", "IS NULL 查询测试", Map{"count": len(articles11)}, "H2_IS_NULL") + tests = append(tests, test11) + + // 2.12 IS NOT NULL ([!]) + test12 := Map{"name": "IS NOT NULL 查询 ([!])"} + articles12 := that.Db.Select("article", "id,title,create_time", Map{"create_time[!]": nil, "LIMIT": 3}) + test12["result"] = true + test12["count"] = len(articles12) + debugLog("main.go:295", "IS NOT NULL 查询测试", Map{"count": len(articles12)}, "H2_IS_NOT_NULL") + tests = append(tests, test12) + + // 2.13 直接 SQL ([##] 用于 SQL 片段) + test13 := Map{"name": "直接 SQL 片段查询 ([##])"} + articles13 := that.Db.Select("article", "id,title,create_time", Map{ + "[##]": "create_time > DATE_SUB(NOW(), INTERVAL 365 DAY)", + "LIMIT": 3, + }) + test13["result"] = true + test13["count"] = len(articles13) + test13["lastQuery"] = that.Db.LastQuery + debugLog("main.go:307", "直接 SQL 片段查询测试", Map{"count": len(articles13), "query": that.Db.LastQuery}, "H2_RAW_SQL") + tests = append(tests, test13) + + // 2.14 显式 AND 条件 + test14 := Map{"name": "显式 AND 条件"} + articles14 := that.Db.Select("article", "id,title,state,click_num", Map{ + "AND": Map{ + "state": 0, + "click_num[>=]": 0, + }, + "LIMIT": 3, + }) + test14["result"] = true + test14["count"] = len(articles14) + debugLog("main.go:321", "显式 AND 条件测试", Map{"count": len(articles14)}, "H2_EXPLICIT_AND") + tests = append(tests, test14) + + // 2.15 OR 条件 + test15 := Map{"name": "OR 条件"} + articles15 := that.Db.Select("article", "id,title,sort,click_num", Map{ + "OR": Map{ + "sort": 0, + "click_num[>]": 10, + }, + "LIMIT": 5, + }) + test15["result"] = true + test15["count"] = len(articles15) + debugLog("main.go:335", "OR 条件测试", Map{"count": len(articles15)}, "H2_OR") + tests = append(tests, test15) + + // 2.16 嵌套 AND/OR 条件 + test16 := Map{"name": "嵌套 AND/OR 条件"} + articles16 := that.Db.Select("article", "id,title,sort,state", Map{ + "AND": Map{ + "state": 0, + "OR": Map{ + "sort[>=]": 0, + "click_num[>]": 0, + }, + }, + "LIMIT": 5, + }) + test16["result"] = true + test16["count"] = len(articles16) + test16["lastQuery"] = that.Db.LastQuery + debugLog("main.go:353", "嵌套 AND/OR 条件测试", Map{"count": len(articles16), "query": that.Db.LastQuery}, "H2_NESTED") + tests = append(tests, test16) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 3. 链式查询测试 ==================== +func testChainQuery(that *Context) Map { + result := Map{"name": "链式查询测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:366", "开始链式查询测试 (MySQL)", nil, "H3_CHAIN") + + // 3.1 基本链式查询 - 使用 article 表 + test1 := Map{"name": "基本链式查询 Table().Where().Select()"} + articles1 := that.Db.Table("article"). + Where("state", 0). + Select("id,title,author") + test1["result"] = len(articles1) >= 0 + test1["count"] = len(articles1) + debugLog("main.go:375", "基本链式查询测试", Map{"count": len(articles1)}, "H3_BASIC") + tests = append(tests, test1) + + // 3.2 链式 And 条件 + test2 := Map{"name": "链式 And 条件"} + articles2 := that.Db.Table("article"). + Where("state", 0). + And("click_num[>=]", 0). + And("sort[>=]", 0). + Select("id,title,click_num") + test2["result"] = len(articles2) >= 0 + test2["count"] = len(articles2) + debugLog("main.go:387", "链式 And 条件测试", Map{"count": len(articles2)}, "H3_AND") + tests = append(tests, test2) + + // 3.3 链式 Or 条件 + test3 := Map{"name": "链式 Or 条件"} + articles3 := that.Db.Table("article"). + Where("state", 0). + Or(Map{ + "sort": 0, + "click_num[>]": 10, + }). + Select("id,title,sort,click_num") + test3["result"] = len(articles3) >= 0 + test3["count"] = len(articles3) + debugLog("main.go:401", "链式 Or 条件测试", Map{"count": len(articles3)}, "H3_OR") + tests = append(tests, test3) + + // 3.4 链式 Order + test4 := Map{"name": "链式 Order 排序"} + articles4 := that.Db.Table("article"). + Where("state", 0). + Order("create_time DESC", "id ASC"). + Limit(0, 5). + Select("id,title,create_time") + test4["result"] = len(articles4) >= 0 + test4["count"] = len(articles4) + debugLog("main.go:413", "链式 Order 排序测试", Map{"count": len(articles4)}, "H3_ORDER") + tests = append(tests, test4) + + // 3.5 链式 Limit + test5 := Map{"name": "链式 Limit 限制"} + articles5 := that.Db.Table("article"). + Where("state", 0). + Limit(0, 3). + Select("id,title") + test5["result"] = len(articles5) <= 3 + test5["count"] = len(articles5) + debugLog("main.go:424", "链式 Limit 限制测试", Map{"count": len(articles5)}, "H3_LIMIT") + tests = append(tests, test5) + + // 3.6 链式 Get 单条 + test6 := Map{"name": "链式 Get 获取单条"} + article6 := that.Db.Table("article"). + Where("state", 0). + Get("id,title,author") + test6["result"] = article6 != nil || true // 允许为空 + test6["article"] = article6 + debugLog("main.go:434", "链式 Get 获取单条测试", Map{"article": article6}, "H3_GET") + tests = append(tests, test6) + + // 3.7 链式 Count + test7 := Map{"name": "链式 Count 统计"} + count7 := that.Db.Table("article"). + Where("state", 0). + Count() + test7["result"] = count7 >= 0 + test7["count"] = count7 + debugLog("main.go:444", "链式 Count 统计测试", Map{"count": count7}, "H3_COUNT") + tests = append(tests, test7) + + // 3.8 链式 Page 分页 + test8 := Map{"name": "链式 Page 分页"} + articles8 := that.Db.Table("article"). + Where("state", 0). + Page(1, 5). + Select("id,title") + test8["result"] = len(articles8) <= 5 + test8["count"] = len(articles8) + debugLog("main.go:455", "链式 Page 分页测试", Map{"count": len(articles8)}, "H3_PAGE") + tests = append(tests, test8) + + // 3.9 链式 Group 分组 + test9 := Map{"name": "链式 Group 分组"} + stats9 := that.Db.Table("article"). + Where("state", 0). + Group("ctg_id"). + Select("ctg_id, COUNT(*) as cnt") + test9["result"] = len(stats9) >= 0 + test9["stats"] = stats9 + debugLog("main.go:466", "链式 Group 分组测试", Map{"stats": stats9}, "H3_GROUP") + tests = append(tests, test9) + + // 3.10 链式 Update + test10 := Map{"name": "链式 Update 更新"} + // 先获取一个文章ID + testArticle := that.Db.Table("article").Where("state", 0).Get("id") + if testArticle != nil { + affected := that.Db.Table("article"). + Where("id", testArticle.GetInt64("id")). + Update(Map{"modify_time[#]": "NOW()"}) + test10["result"] = affected >= 0 + test10["affected"] = affected + } else { + test10["result"] = true + test10["note"] = "无可用测试数据" + } + debugLog("main.go:483", "链式 Update 更新测试", test10, "H3_UPDATE") + tests = append(tests, test10) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 4. JOIN 查询测试 ==================== +func testJoinQuery(that *Context) Map { + result := Map{"name": "JOIN查询测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:496", "开始 JOIN 查询测试 (MySQL)", nil, "H4_JOIN") + + // 4.1 LEFT JOIN 链式 - article 关联 ctg + test1 := Map{"name": "LEFT JOIN 链式查询"} + articles1 := that.Db.Table("article"). + LeftJoin("ctg", "article.ctg_id = ctg.id"). + Where("article.state", 0). + Limit(0, 5). + Select("article.id, article.title, ctg.name as ctg_name") + test1["result"] = len(articles1) >= 0 + test1["count"] = len(articles1) + test1["data"] = articles1 + debugLog("main.go:508", "LEFT JOIN 链式查询测试", Map{"count": len(articles1)}, "H4_LEFT_JOIN") + tests = append(tests, test1) + + // 4.2 传统 JOIN 语法 + test2 := Map{"name": "传统 JOIN 语法"} + articles2 := that.Db.Select("article", + Slice{ + Map{"[>]ctg": "article.ctg_id = ctg.id"}, + }, + "article.id, article.title, ctg.name as ctg_name", + Map{ + "article.state": 0, + "LIMIT": 5, + }) + test2["result"] = len(articles2) >= 0 + test2["count"] = len(articles2) + test2["lastQuery"] = that.Db.LastQuery + debugLog("main.go:525", "传统 JOIN 语法测试", Map{"count": len(articles2), "query": that.Db.LastQuery}, "H4_TRADITIONAL_JOIN") + tests = append(tests, test2) + + // 4.3 多表 JOIN - article 关联 ctg 和 admin + test3 := Map{"name": "多表 JOIN"} + articles3 := that.Db.Table("article"). + LeftJoin("ctg", "article.ctg_id = ctg.id"). + LeftJoin("admin", "article.admin_id = admin.id"). + Where("article.state", 0). + Limit(0, 5). + Select("article.id, article.title, ctg.name as ctg_name, admin.name as admin_name") + test3["result"] = len(articles3) >= 0 + test3["count"] = len(articles3) + test3["data"] = articles3 + debugLog("main.go:539", "多表 JOIN 测试", Map{"count": len(articles3)}, "H4_MULTI_JOIN") + tests = append(tests, test3) + + // 4.4 INNER JOIN + test4 := Map{"name": "INNER JOIN"} + articles4 := that.Db.Table("article"). + InnerJoin("ctg", "article.ctg_id = ctg.id"). + Where("ctg.state", 0). + Limit(0, 5). + Select("article.id, article.title, ctg.name as ctg_name") + test4["result"] = len(articles4) >= 0 + test4["count"] = len(articles4) + debugLog("main.go:551", "INNER JOIN 测试", Map{"count": len(articles4)}, "H4_INNER_JOIN") + tests = append(tests, test4) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 5. 聚合函数测试 ==================== +func testAggregate(that *Context) Map { + result := Map{"name": "聚合函数测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:564", "开始聚合函数测试 (MySQL)", nil, "H5_AGGREGATE") + + // 5.1 Count 总数 + test1 := Map{"name": "Count 总数统计"} + count1 := that.Db.Count("article") + test1["result"] = count1 >= 0 + test1["count"] = count1 + debugLog("main.go:571", "Count 总数统计测试", Map{"count": count1}, "H5_COUNT") + tests = append(tests, test1) + + // 5.2 Count 带条件 + test2 := Map{"name": "Count 条件统计"} + count2 := that.Db.Count("article", Map{"state": 0}) + test2["result"] = count2 >= 0 + test2["count"] = count2 + debugLog("main.go:579", "Count 条件统计测试", Map{"count": count2}, "H5_COUNT_WHERE") + tests = append(tests, test2) + + // 5.3 Sum 求和 + test3 := Map{"name": "Sum 求和"} + sum3 := that.Db.Sum("article", "click_num", Map{"state": 0}) + test3["result"] = sum3 >= 0 + test3["sum"] = sum3 + debugLog("main.go:587", "Sum 求和测试", Map{"sum": sum3}, "H5_SUM") + tests = append(tests, test3) + + // 5.4 Avg 平均值 + test4 := Map{"name": "Avg 平均值"} + avg4 := that.Db.Avg("article", "click_num", Map{"state": 0}) + test4["result"] = avg4 >= 0 + test4["avg"] = avg4 + debugLog("main.go:595", "Avg 平均值测试", Map{"avg": avg4}, "H5_AVG") + tests = append(tests, test4) + + // 5.5 Max 最大值 + test5 := Map{"name": "Max 最大值"} + max5 := that.Db.Max("article", "click_num", Map{"state": 0}) + test5["result"] = max5 >= 0 + test5["max"] = max5 + debugLog("main.go:603", "Max 最大值测试", Map{"max": max5}, "H5_MAX") + tests = append(tests, test5) + + // 5.6 Min 最小值 + test6 := Map{"name": "Min 最小值"} + min6 := that.Db.Min("article", "sort", Map{"state": 0}) + test6["result"] = true // sort 可能为 0 + test6["min"] = min6 + debugLog("main.go:611", "Min 最小值测试", Map{"min": min6}, "H5_MIN") + tests = append(tests, test6) + + // 5.7 GROUP BY 分组统计 + test7 := Map{"name": "GROUP BY 分组统计"} + stats7 := that.Db.Select("article", + "ctg_id, COUNT(*) as article_count, AVG(click_num) as avg_clicks, SUM(click_num) as total_clicks", + Map{ + "state": 0, + "GROUP": "ctg_id", + "ORDER": "article_count DESC", + "LIMIT": 10, + }) + test7["result"] = len(stats7) >= 0 + test7["stats"] = stats7 + debugLog("main.go:625", "GROUP BY 分组统计测试", Map{"stats": stats7}, "H5_GROUP_BY") + tests = append(tests, test7) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 6. 分页查询测试 ==================== +func testPagination(that *Context) Map { + result := Map{"name": "分页查询测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:638", "开始分页查询测试 (MySQL)", nil, "H6_PAGINATION") + + // 6.1 PageSelect 分页查询 + test1 := Map{"name": "PageSelect 分页查询"} + articles1 := that.Db.Page(1, 5).PageSelect("article", "*", Map{ + "state": 0, + "ORDER": "id DESC", + }) + test1["result"] = len(articles1) <= 5 + test1["count"] = len(articles1) + debugLog("main.go:648", "PageSelect 分页查询测试", Map{"count": len(articles1)}, "H6_PAGE_SELECT") + tests = append(tests, test1) + + // 6.2 第二页 + test2 := Map{"name": "PageSelect 第二页"} + articles2 := that.Db.Page(2, 5).PageSelect("article", "*", Map{ + "state": 0, + "ORDER": "id DESC", + }) + test2["result"] = len(articles2) <= 5 + test2["count"] = len(articles2) + debugLog("main.go:659", "PageSelect 第二页测试", Map{"count": len(articles2)}, "H6_PAGE_2") + tests = append(tests, test2) + + // 6.3 链式分页 + test3 := Map{"name": "链式 Page 分页"} + articles3 := that.Db.Table("article"). + Where("state", 0). + Order("id DESC"). + Page(1, 3). + Select("id,title,author") + test3["result"] = len(articles3) <= 3 + test3["count"] = len(articles3) + debugLog("main.go:671", "链式 Page 分页测试", Map{"count": len(articles3)}, "H6_CHAIN_PAGE") + tests = append(tests, test3) + + // 6.4 Offset 偏移 + test4 := Map{"name": "Offset 偏移查询"} + articles4 := that.Db.Table("article"). + Where("state", 0). + Limit(3). + Offset(2). + Select("id,title") + test4["result"] = len(articles4) <= 3 + test4["count"] = len(articles4) + test4["lastQuery"] = that.Db.LastQuery + debugLog("main.go:684", "Offset 偏移查询测试", Map{"count": len(articles4), "query": that.Db.LastQuery}, "H6_OFFSET") + tests = append(tests, test4) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 7. 批量插入测试 ==================== +func testBatchInsert(that *Context) Map { + result := Map{"name": "批量插入测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:697", "开始批量插入测试 (MySQL)", nil, "H7_BATCH") + + // 7.1 批量插入 + test1 := Map{"name": "BatchInsert 批量插入"} + timestamp := time.Now().UnixNano() + affected1 := that.Db.BatchInsert("test_batch", []Map{ + {"name": fmt.Sprintf("批量测试1_%d", timestamp), "title": "标题1", "state": 1}, + {"name": fmt.Sprintf("批量测试2_%d", timestamp), "title": "标题2", "state": 1}, + {"name": fmt.Sprintf("批量测试3_%d", timestamp), "title": "标题3", "state": 1}, + }) + test1["result"] = affected1 >= 0 + test1["affected"] = affected1 + test1["lastQuery"] = that.Db.LastQuery + debugLog("main.go:710", "BatchInsert 批量插入测试", Map{"affected": affected1, "query": that.Db.LastQuery}, "H7_BATCH_INSERT") + tests = append(tests, test1) + + // 7.2 带 [#] 的批量插入 + test2 := Map{"name": "BatchInsert 带 [#] 标记"} + timestamp2 := time.Now().UnixNano() + affected2 := that.Db.BatchInsert("test_batch", []Map{ + {"name": fmt.Sprintf("带时间测试1_%d", timestamp2), "title": "标题带时间1", "state": 1, "create_time[#]": "NOW()"}, + {"name": fmt.Sprintf("带时间测试2_%d", timestamp2), "title": "标题带时间2", "state": 1, "create_time[#]": "NOW()"}, + }) + test2["result"] = affected2 >= 0 + test2["affected"] = affected2 + debugLog("main.go:722", "BatchInsert 带 [#] 标记测试", Map{"affected": affected2}, "H7_BATCH_RAW") + tests = append(tests, test2) + + // 清理测试数据 + that.Db.Delete("test_batch", Map{"name[~]": fmt.Sprintf("_%d", timestamp)}) + that.Db.Delete("test_batch", Map{"name[~]": fmt.Sprintf("_%d", timestamp2)}) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 8. Upsert 测试 ==================== +func testUpsert(that *Context) Map { + result := Map{"name": "Upsert测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:739", "开始 Upsert 测试 (MySQL)", nil, "H8_UPSERT") + + // 使用 admin 表测试 Upsert(MySQL ON DUPLICATE KEY UPDATE) + timestamp := time.Now().Unix() + testPhone := fmt.Sprintf("199%08d", timestamp%100000000) + + // 8.1 Upsert 插入新记录 + test1 := Map{"name": "Upsert 插入新记录 (admin表)"} + affected1 := that.Db.Upsert("admin", + Map{ + "name": "Upsert测试管理员", + "phone": testPhone, + "state": 1, + "password": "test123", + "role_id": 1, + "title": "测试职位", + "create_time[#]": "NOW()", + "modify_time[#]": "NOW()", + }, + Slice{"phone"}, + Slice{"name", "state", "title", "modify_time"}, + ) + test1["result"] = affected1 >= 0 + test1["affected"] = affected1 + test1["lastQuery"] = that.Db.LastQuery + debugLog("main.go:763", "Upsert 插入新记录测试", Map{"affected": affected1, "query": that.Db.LastQuery}, "H8_UPSERT_INSERT") + tests = append(tests, test1) + + // 8.2 Upsert 更新已存在记录 + test2 := Map{"name": "Upsert 更新已存在记录"} + affected2 := that.Db.Upsert("admin", + Map{ + "name": "Upsert更新后管理员", + "phone": testPhone, + "state": 1, + "password": "updated123", + "role_id": 2, + "title": "更新后职位", + "create_time[#]": "NOW()", + "modify_time[#]": "NOW()", + }, + Slice{"phone"}, + Slice{"name", "title", "role_id", "modify_time"}, + ) + test2["result"] = affected2 >= 0 + test2["affected"] = affected2 + debugLog("main.go:783", "Upsert 更新已存在记录测试", Map{"affected": affected2}, "H8_UPSERT_UPDATE") + tests = append(tests, test2) + + // 验证更新结果 + updatedAdmin := that.Db.Get("admin", "*", Map{"phone": testPhone}) + test2["updatedAdmin"] = updatedAdmin + + // 清理测试数据 + that.Db.Delete("admin", Map{"phone": testPhone}) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 9. 事务测试 ==================== +func testTransaction(that *Context) Map { + result := Map{"name": "事务测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:803", "开始事务测试 (MySQL)", nil, "H9_TRANSACTION") + + // 9.1 事务成功提交 + test1 := Map{"name": "事务成功提交"} + timestamp := time.Now().Unix() + testName1 := fmt.Sprintf("事务测试_%d", timestamp) + + success1 := that.Db.Action(func(tx HoTimeDB) bool { + // 插入记录到 test_batch 表 + recordId := tx.Insert("test_batch", Map{ + "name": testName1, + "title": "事务提交测试", + "state": 1, + "create_time[#]": "NOW()", + }) + debugLog("main.go:818", "事务内插入记录", Map{"recordId": recordId}, "H9_TX_INSERT") + + return recordId != 0 + }) + + test1["result"] = success1 + // 验证数据是否存在 + checkRecord := that.Db.Get("test_batch", "*", Map{"name": testName1}) + test1["recordExists"] = checkRecord != nil + debugLog("main.go:831", "事务成功提交测试", Map{"success": success1, "recordExists": checkRecord != nil}, "H9_TX_SUCCESS") + tests = append(tests, test1) + + // 9.2 事务回滚 + test2 := Map{"name": "事务回滚"} + testName2 := fmt.Sprintf("事务回滚测试_%d", timestamp) + + success2 := that.Db.Action(func(tx HoTimeDB) bool { + // 插入记录 + recordId := tx.Insert("test_batch", Map{ + "name": testName2, + "title": "事务回滚测试", + "state": 1, + "create_time[#]": "NOW()", + }) + debugLog("main.go:846", "事务内插入(将回滚)", Map{"recordId": recordId}, "H9_TX_ROLLBACK_INSERT") + + // 返回 false 触发回滚 + return false + }) + + test2["result"] = !success2 // 期望回滚,所以 success2 应该为 false + // 验证数据是否不存在(已回滚) + checkRecord2 := that.Db.Get("test_batch", "*", Map{"name": testName2}) + test2["recordRolledBack"] = checkRecord2 == nil + debugLog("main.go:856", "事务回滚测试", Map{"success": success2, "rolledBack": checkRecord2 == nil}, "H9_TX_ROLLBACK") + tests = append(tests, test2) + + // 清理测试数据 + that.Db.Delete("test_batch", Map{"name": testName1}) + + result["tests"] = tests + result["success"] = true + return result +} + +// ==================== 10. 原生 SQL 测试 ==================== +func testRawSQL(that *Context) Map { + result := Map{"name": "原生SQL测试", "tests": Slice{}} + tests := Slice{} + + debugLog("main.go:872", "开始原生 SQL 测试 (MySQL)", nil, "H10_RAW_SQL") + + // 10.1 Query 查询 - 使用真实的 article 表 + test1 := Map{"name": "Query 原生查询"} + articles1 := that.Db.Query("SELECT id, title, author FROM `article` WHERE state = ? LIMIT ?", 0, 5) + test1["result"] = len(articles1) >= 0 + test1["count"] = len(articles1) + debugLog("main.go:879", "Query 原生查询测试", Map{"count": len(articles1)}, "H10_QUERY") + tests = append(tests, test1) + + // 10.2 Exec 执行 - 使用 article 表 + test2 := Map{"name": "Exec 原生执行"} + // 更新一条记录 + testArticle := that.Db.Get("article", "id", Map{"state": 0}) + if testArticle != nil { + res, err := that.Db.Exec("UPDATE `article` SET modify_time = NOW() WHERE id = ?", testArticle.GetInt64("id")) + if err.GetError() == nil && res != nil { + affected, _ := res.RowsAffected() + test2["result"] = affected >= 0 + test2["affected"] = affected + } else { + test2["result"] = false + test2["error"] = err.GetError() + } + } else { + test2["result"] = true + test2["note"] = "无可用测试数据" + } + debugLog("main.go:899", "Exec 原生执行测试", test2, "H10_EXEC") + tests = append(tests, test2) + + result["tests"] = tests + result["success"] = true + return result +} diff --git a/example/zctv2.exe b/example/test_server.exe similarity index 57% rename from example/zctv2.exe rename to example/test_server.exe index 15f80f9..d57aea6 100644 Binary files a/example/zctv2.exe and b/example/test_server.exe differ