Browse Source

页面+BillType,表定义加buildBean

4.0
郑根木 2 years ago
parent
commit
038b02e7d8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/CodeBuildHandler.java

+ 3
- 1
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/CodeBuildHandler.java View File

@@ -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();
}



Loading…
Cancel
Save