@Component public class CodeBuilder extends Object
构造器和说明 |
---|
CodeBuilder() |
限定符和类型 | 方法和说明 |
---|---|
Map<String,Map<String,Object>> |
build(String schemeName,
String datasource,
List<String> tables) |
void |
buildFile(String path,
String schemeName,
String datasource,
List<String> tables) |
String |
getFileName(String packageName,
com.alibaba.fastjson.JSONObject templateObject,
CodeVO codeVO)
获取路径
|
public void buildFile(String path, String schemeName, String datasource, List<String> tables) throws Exception
path
- schemeName
- 方案datasource
- tables
- Exception
public Map<String,Map<String,Object>> build(String schemeName, String datasource, List<String> tables) throws Exception
schemeName
- datasource
- tables
- Exception
Copyright © 2025. All rights reserved.