diff --git a/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java b/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java index 9d7ebf8..38fe4da 100644 --- a/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java +++ b/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/ModelFormService.java @@ -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(); diff --git a/smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java b/smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java index 1216a6c..f1b4be8 100644 --- a/smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java +++ b/smtweb-system/sw-system-bpm/src/test/java/cc/smtweb/system/bpm/test/ModelFormTest.java @@ -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()); } }