Ver código fonte

生成java代码

master
郑根木 2 anos atrás
pai
commit
884ded9012
2 arquivos alterados com 2 adições e 2 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar