|
|
@@ -57,6 +57,7 @@ public class CodeBuildHandler extends AbstractHandler { |
|
|
|
buildJavaTable(tableId, needBean, needCache); |
|
|
|
} |
|
|
|
if (needBuildService) buildJavaService(pageId); |
|
|
|
System.out.println("JAVA代码路径:" + codePath); |
|
|
|
return R.success(); |
|
|
|
} |
|
|
|
|
|
|
@@ -94,7 +95,7 @@ public class CodeBuildHandler extends AbstractHandler { |
|
|
|
new File(codePath).mkdirs(); |
|
|
|
|
|
|
|
buildJavaTable(tableId, true, table.isNeedCache()); |
|
|
|
|
|
|
|
System.out.println("JAVA代码路径:" + codePath); |
|
|
|
return R.success(); |
|
|
|
} |
|
|
|
|
|
|
@@ -117,6 +118,7 @@ public class CodeBuildHandler extends AbstractHandler { |
|
|
|
model.put("title", form.getTitle()); |
|
|
|
model.put("eventPath", eventPath + "." + form.getName()); |
|
|
|
CodeGenerator.getInstance().generateJsEvent(model, codePath + "/" + form.getName() + ".js"); |
|
|
|
System.out.println("JS代码路径:" + codePath); |
|
|
|
return R.success(); |
|
|
|
} |
|
|
|
|
|
|
|