mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-11-15 06:59:29 +08:00
⚡ 优化代码生成字段
This commit is contained in:
parent
3573ae657d
commit
2548f082d1
@ -135,12 +135,12 @@ public class BladeCodeGenerator {
|
|||||||
|
|
||||||
Map<String, Object> customMap = new HashMap<>(11);
|
Map<String, Object> customMap = new HashMap<>(11);
|
||||||
customMap.put("codeName", codeName);
|
customMap.put("codeName", codeName);
|
||||||
customMap.put("hasServiceName", hasServiceName);
|
|
||||||
customMap.put("serviceName", serviceName);
|
customMap.put("serviceName", serviceName);
|
||||||
customMap.put("servicePackage", servicePackage);
|
customMap.put("servicePackage", servicePackage);
|
||||||
customMap.put("servicePackageLowerCase", servicePackage.toLowerCase());
|
customMap.put("servicePackageLowerCase", servicePackage.toLowerCase());
|
||||||
customMap.put("tenantColumn", tenantColumn);
|
customMap.put("tenantColumn", tenantColumn);
|
||||||
customMap.put("hasWrapper", hasWrapper);
|
customMap.put("hasWrapper", hasWrapper);
|
||||||
|
customMap.put("hasServiceName", hasServiceName);
|
||||||
Map<String, String> customFile = new HashMap<>(15);
|
Map<String, String> customFile = new HashMap<>(15);
|
||||||
customFile.put("menu.sql", "/templates/sql/menu.sql.vm");
|
customFile.put("menu.sql", "/templates/sql/menu.sql.vm");
|
||||||
customFile.put("entityVO.java", "/templates/entityVO.java.vm");
|
customFile.put("entityVO.java", "/templates/entityVO.java.vm");
|
||||||
|
Loading…
Reference in New Issue
Block a user