-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
128 lines (128 loc) · 4.56 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"单表增删改查": [
{
"templateName": "Controller",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/controller/${ClassName}Controller.java",
"templateFile": "single/Controller.java"
},
{
"templateName": "Service",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/service/${ClassName}Service.java",
"templateFile": "single/Service.java"
},
{
"templateName": "ServiceImpl",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/service/impl/${ClassName}ServiceImpl.java",
"templateFile": "single/ServiceImpl.java"
},
{
"templateName": "实体",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/entity/${ClassName}Entity.java",
"templateFile": "single/实体.java"
},
{
"templateName": "Mapper",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/mapper/${ClassName}Mapper.java",
"templateFile": "single/Mapper.java"
},
{
"templateName": "Mapper.xml",
"generatorPath": "${backendPath}/src/main/resources/mapper/${ClassName}Mapper.xml",
"templateFile": "single/Mapper.xml"
},
{
"templateName": "权限菜单",
"generatorPath": "${backendPath}/menu/${functionName}_menu.sql",
"templateFile": "common/权限菜单.sql"
},
{
"templateName": "api.ts",
"generatorPath": "${frontendPath}/src/api/${moduleName}/${functionName}.ts",
"templateFile": "common/api.ts"
},
{
"templateName": "表格",
"generatorPath": "${frontendPath}/src/views/${moduleName}/${functionName}/index.vue",
"templateFile": "single/表格.vue"
},
{
"templateName": "表单",
"generatorPath": "${frontendPath}/src/views/${moduleName}/${functionName}/form.vue",
"templateFile": "single/表单.vue"
}
],
"主子表增删改查": [
{
"templateName": "Service",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/service/${ClassName}Service.java",
"templateFile": "multiple/主子Service.java"
},
{
"templateName": "ServiceImpl",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/service/impl/${ClassName}ServiceImpl.java",
"templateFile": "multiple/主子ServiceImpl.java"
},
{
"templateName": "主实体",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/entity/${ClassName}Entity.java",
"templateFile": "multiple/主实体.java"
},
{
"templateName": "Mapper",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/mapper/${ClassName}Mapper.java",
"templateFile": "single/Mapper.java"
},
{
"templateName": "Mapper.xml",
"generatorPath": "${backendPath}/src/main/resources/mapper/${ClassName}Mapper.xml",
"templateFile": "single/Mapper.xml"
},
{
"templateName": "权限菜单",
"generatorPath": "${backendPath}/menu/${functionName}_menu.sql",
"templateFile": "common/权限菜单.sql"
},
{
"templateName": "api.ts",
"generatorPath": "${frontendPath}/src/api/${moduleName}/${functionName}.ts",
"templateFile": "common/api.ts"
},
{
"templateName": "子实体",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/entity/${ChildClassName}Entity.java",
"templateFile": "multiple/子实体.java"
},
{
"templateName": "主子Contoller",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/controller/${ClassName}Controller.java",
"templateFile": "multiple/主子Contoller.java"
},
{
"templateName": "主子表单",
"generatorPath": "${frontendPath}/src/views/${moduleName}/${functionName}/form.vue",
"templateFile": "multiple/主子表单.vue"
},
{
"templateName": "主子表格",
"generatorPath": "${frontendPath}/src/views/${moduleName}/${functionName}/index.vue",
"templateFile": "multiple/主子表格.vue"
},
{
"templateName": "子Mapper",
"generatorPath": "${backendPath}/src/main/java/${packagePath}/${moduleName}/mapper/${ChildClassName}Mapper.java",
"templateFile": "multiple/子Mapper.java"
}
],
"vform":[
{
"templateName": "vform.json",
"generatorPath": "/",
"templateFile": "vform/vform.json"
},
{
"templateName": "vform.vue",
"generatorPath": "/",
"templateFile": "vform/vform.vue"
}
]
}