Browse Source

生成java代码

master
郑根木 2 years ago
parent
commit
884ded9012
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java
  2. +1
    -1
      smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java

+ 1
- 1
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java View File

@@ -146,7 +146,7 @@ public class ModelFormService extends AbstractCompService {
}

//加载模板定义
public R buildJaveCode(@SwBody SwMap params, UserSession us) {
public R buildJavaCode(@SwBody SwMap params, UserSession us) {
try {
CodeBuildHandler handler = (CodeBuildHandler) getHandler(params, us, TYPE_CODE);
return handler.buildJavaCode();


+ 1
- 1
smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java View File

@@ -92,7 +92,7 @@ public class ModelFormTest {
table.add(map);

ModelFormService service = new ModelFormService();
R r = service.buildJaveCode(params, null);
R r = service.buildJavaCode(params, null);
System.out.println(r.readSuccess());
}
}

Loading…
Cancel
Save