|
|
|
|
@ -34,11 +34,12 @@ public class VelocityUtils
|
|
|
|
|
String businessName = genTable.getBusinessName();
|
|
|
|
|
String packageName = genTable.getPackageName();
|
|
|
|
|
String tplCategory = genTable.getTplCategory();
|
|
|
|
|
String functionName = genTable.getFunctionName();
|
|
|
|
|
|
|
|
|
|
VelocityContext velocityContext = new VelocityContext();
|
|
|
|
|
velocityContext.put("tplCategory", genTable.getTplCategory());
|
|
|
|
|
velocityContext.put("tableName", genTable.getTableName());
|
|
|
|
|
velocityContext.put("functionName", genTable.getFunctionName());
|
|
|
|
|
velocityContext.put("functionName", StringUtils.isNotEmpty(functionName) ? functionName : "【请填写功能名称】");
|
|
|
|
|
velocityContext.put("ClassName", genTable.getClassName());
|
|
|
|
|
velocityContext.put("className", StringUtils.uncapitalize(genTable.getClassName()));
|
|
|
|
|
velocityContext.put("moduleName", genTable.getModuleName());
|
|
|
|
|
|