在打开模型的时候,重新设置localAttribute以及对模型节点的属性进行查漏补缺
This commit is contained in:
parent
969ed256f3
commit
5bce2fff5d
Binary file not shown.
@ -852,10 +852,13 @@ public class CoeDesignerShapeAPIManager {
|
||||
*/
|
||||
public JSONObject getCoeDefinitionAndSort(String define, String wsid, String methodId) {
|
||||
JSONObject definition = JSONObject.parseObject(define);
|
||||
JSONObject localAttribute = definition.containsKey("localAttribute") ? definition.getJSONObject("localAttribute") : new JSONObject();
|
||||
// JSONObject localAttribute = definition.containsKey("localAttribute") ? definition.getJSONObject("localAttribute") : new JSONObject();
|
||||
JSONObject localAttribute = new JSONObject();
|
||||
if (localAttribute.isEmpty()) {
|
||||
//处理流程节点属性配置
|
||||
handlePlShapeAttrConfig(wsid, methodId, localAttribute);
|
||||
// 对图元属性查漏补缺
|
||||
CoeDesignerShapeAPIManager.getInstance().updateShapeDataAttributes(definition, localAttribute);
|
||||
}
|
||||
//获取最新属性的设置
|
||||
List<PALMethodAttributeModel> attrList = getAllValidShapeAttributeModels(wsid, methodId);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user