Skip to content

Commit 38f99e3

Browse files
committed
feat: code migration
1 parent e31271a commit 38f99e3

201 files changed

Lines changed: 1530 additions & 850 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

chat2db-client/mock/sqlResult.json

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
{
2+
"success": true,
3+
"errorCode": null,
4+
"errorMessage": null,
5+
"data": [
6+
{
7+
"sql": "SELECT *\nFROM students\nLIMIT 500",
8+
"description": "执行成功",
9+
"message": null,
10+
"success": true,
11+
"headerList": [
12+
{
13+
"dataType": "NUMERIC",
14+
"name": "id"
15+
},
16+
{
17+
"dataType": "STRING",
18+
"name": "name"
19+
},
20+
{
21+
"dataType": "STRING",
22+
"name": "gender"
23+
},
24+
{
25+
"dataType": "DATETIME",
26+
"name": "birthday"
27+
},
28+
{
29+
"dataType": "STRING",
30+
"name": "address"
31+
},
32+
{
33+
"dataType": "STRING",
34+
"name": "phone"
35+
},
36+
{
37+
"dataType": "STRING",
38+
"name": "email"
39+
},
40+
{
41+
"dataType": "DATETIME",
42+
"name": "create_time"
43+
},
44+
{
45+
"dataType": "DATETIME",
46+
"name": "update_time"
47+
}
48+
],
49+
"dataList": [
50+
[
51+
"1",
52+
"张三",
53+
"",
54+
null,
55+
"北京市海淀区",
56+
"12345678901",
57+
"zhangsan@example.com",
58+
"2023-05-31 10:41:56.000",
59+
"2023-05-31 10:41:56.000"
60+
],
61+
[
62+
"2",
63+
"李四",
64+
"",
65+
null,
66+
"上海市浦东新区",
67+
"12345678902",
68+
"lisi@example.com",
69+
"2023-05-31 10:41:56.000",
70+
"2023-05-31 10:41:56.000"
71+
],
72+
[
73+
"3",
74+
"王五",
75+
"",
76+
null,
77+
"广州市天河区",
78+
"12345678903",
79+
"wangwu@example.com",
80+
"2023-05-31 10:41:56.000",
81+
"2023-05-31 10:41:56.000"
82+
],
83+
[
84+
"4",
85+
"赵六",
86+
"",
87+
null,
88+
"深圳市南山区",
89+
"12345678904",
90+
"zhaoliu@example.com",
91+
"2023-05-31 10:41:56.000",
92+
"2023-05-31 10:41:56.000"
93+
],
94+
[
95+
"5",
96+
"陈七",
97+
"",
98+
null,
99+
"武汉市江汉区",
100+
"12345678905",
101+
"chenqi@example.com",
102+
"2023-05-31 10:41:56.000",
103+
"2023-05-31 10:41:56.000"
104+
],
105+
[
106+
"6",
107+
"刘八",
108+
"",
109+
null,
110+
"成都市高新区",
111+
"12345678906",
112+
"liuba@example.com",
113+
"2023-05-31 10:41:56.000",
114+
"2023-05-31 10:41:56.000"
115+
],
116+
[
117+
"7",
118+
"魏九",
119+
"",
120+
null,
121+
"重庆市渝北区",
122+
"12345678907",
123+
"weijiu@example.com",
124+
"2023-05-31 10:41:56.000",
125+
"2023-05-31 10:41:56.000"
126+
],
127+
[
128+
"8",
129+
"孙十",
130+
"",
131+
null,
132+
"南京市鼓楼区",
133+
"12345678908",
134+
"sunshi@example.com",
135+
"2023-05-31 10:41:56.000",
136+
"2023-05-31 10:41:56.000"
137+
],
138+
[
139+
"9",
140+
"郑十一",
141+
"",
142+
null,
143+
"西安市雁塔区",
144+
"12345678909",
145+
"zhengshiyi@example.com",
146+
"2023-05-31 10:41:56.000",
147+
"2023-05-31 10:41:56.000"
148+
],
149+
[
150+
"10",
151+
"许十二",
152+
"",
153+
null,
154+
"苏州市姑苏区",
155+
"12345678910",
156+
"xushier@example.com",
157+
"2023-05-31 10:41:56.000",
158+
"2023-05-31 10:41:56.000"
159+
]
160+
],
161+
"sqlType": "SELECT",
162+
"hasNextPage": false,
163+
"pageNo": 1,
164+
"pageSize": 500,
165+
"duration": 6
166+
}
167+
],
168+
"traceId": null
169+
}

0 commit comments

Comments
 (0)