提交 aaf3bfbc 编写于 作者: xignzi006's avatar xignzi006

fix:流程发布对象

上级 f5b850f7
......@@ -142,6 +142,13 @@ public class ModelStorage {
rt.addOption(opt);
});
}
else if (type.equals(TemplateFileType.workflow)) {
getSystemModel().getWorkflows().forEach(item -> {
CliOption opt = newCliOption(TemplateFileType.workflow)
.baseData(item, item.getCodeName().toString());
rt.addOption(opt);
});
}
// else if (type.equals(TemplateFileType.subService)) {
// getSystemModel().getSubServiceApi().forEach(item -> {
// CliOption opt = newCliOption(TemplateFileType.subService)
......
......@@ -9,7 +9,8 @@ public enum TemplateFileType {
apiDto(Constants.API_DTOS),
entity(Constants.ENTITIES),
module(Constants.MODULES),
subService(Constants.SUB_SERVICEAPI),
workflow(Constants.WORKFLOWS),
subService(Constants.SUB_SERVICEAPIS),
subEntity(Constants.SUB_ENTITIES),
api(Constants.APIS),
app(Constants.APPS),
......@@ -50,7 +51,8 @@ public enum TemplateFileType {
public static final String APIS = "apis";
public static final String APPS = "apps";
public static final String ENTITIES = "entities";
public static final String SUB_SERVICEAPI = "subServiceApi";
public static final String WORKFLOWS = "workflows";
public static final String SUB_SERVICEAPIS = "subServiceApis";
public static final String SUB_ENTITIES = "subEntities";
public static final String API_ENTITIES = "apiEntities";
public static final String API_DTOS = "apiDtos";
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册