mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2025-12-26 05:48:33 +08:00
Update CodeGenServiceTest.java
This commit is contained in:
parent
6652a7c5a9
commit
19db269e92
@ -88,24 +88,10 @@ class CodeGenServiceTest {
|
|||||||
private void setupJsonTestData() {
|
private void setupJsonTestData() {
|
||||||
paramInfo.setTableSql("""
|
paramInfo.setTableSql("""
|
||||||
{
|
{
|
||||||
"user_id": {
|
"user_id": "int",
|
||||||
"type": "number",
|
"user_name":"用户名",
|
||||||
"description": "用户编号"
|
"status": "状态",
|
||||||
},
|
"create_time":"创建时间"
|
||||||
"user_name": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "用户名",
|
|
||||||
"maxLength": 255
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"type": "boolean",
|
|
||||||
"description": "状态"
|
|
||||||
},
|
|
||||||
"create_time": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"description": "创建时间"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
""");
|
""");
|
||||||
paramInfo.setOptions(new HashMap<>());
|
paramInfo.setOptions(new HashMap<>());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user