update - 兼容上一个版本的模型
This commit is contained in:
parent
18841ca0fd
commit
06c6f85985
@ -200,6 +200,9 @@ public final class BpmnJsonConverterUtil {
|
||||
}
|
||||
|
||||
private static void setProcessFieldConfig(List<BpmnFieldConf> fieldConf, Process mainProcess) {
|
||||
if (CollectionUtils.isEmpty(fieldConf)) {
|
||||
return;
|
||||
}
|
||||
ExtensionElement fieldConfigElement = new ExtensionElement();
|
||||
fieldConfigElement.setName(CONFIG_FIELD);
|
||||
|
||||
@ -248,6 +251,9 @@ public final class BpmnJsonConverterUtil {
|
||||
}
|
||||
|
||||
private static void setProcessButtonConfig(BpmnButtonConf buttonConf, Process mainProcess) {
|
||||
if (Objects.isNull(buttonConf)) {
|
||||
return;
|
||||
}
|
||||
ExtensionElement buttonConfigElement = new ExtensionElement();
|
||||
buttonConfigElement.setName(CONFIG_BUTTON);
|
||||
|
||||
@ -299,6 +305,9 @@ public final class BpmnJsonConverterUtil {
|
||||
}
|
||||
|
||||
private static void setProcessNoticeConfig(BpmnNoticeConf noticeConf, Process mainProcess) {
|
||||
if (Objects.isNull(noticeConf)) {
|
||||
return;
|
||||
}
|
||||
ExtensionElement noticeConfigElement = new ExtensionElement();
|
||||
noticeConfigElement.setName(CONFIG_NOTICE);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user