fix: 修复 流程图回显时,网关连线缺失问题。

This commit is contained in:
konbai
2023-03-02 01:39:11 +08:00
parent a3d3f962a3
commit a170d7d4c0
3 changed files with 24 additions and 18 deletions

View File

@@ -30,9 +30,11 @@ public class ModelUtils {
/**
* bpmnModel转xml字符串
*
* @deprecated 存在会丢失 bpmn 连线问题
* @param bpmnModel bpmnModel对象
* @return xml字符串
*/
@Deprecated
public static String getBpmnXmlStr(BpmnModel bpmnModel) {
return StrUtil.utf8Str(getBpmnXml(bpmnModel));
}
@@ -40,9 +42,11 @@ public class ModelUtils {
/**
* bpmnModel转xml对象
*
* @deprecated 存在丢失 bpmn 连线问题
* @param bpmnModel bpmnModel对象
* @return xml
*/
@Deprecated
public static byte[] getBpmnXml(BpmnModel bpmnModel) {
return bpmnXMLConverter.convertToXML(bpmnModel);
}