生成手册出现空指针问题

This commit is contained in:
446052889@qq.com 2022-09-21 15:39:39 +08:00
parent 6778201fff
commit f3c5c72c57
2 changed files with 1 additions and 0 deletions

View File

@ -5180,6 +5180,7 @@ public class PALRepositoryQueryAPIManager {
attrObj.put("text", "");// 属性内容单行文本
attrObj.put("value", new JSONArray());// 属性内容集relation或awsorg类型时存储对应的json数据
String inputValue = property.getPropertyValue();
inputValue = UtilString.isEmpty(inputValue) ? "" : inputValue;
if ("relation".equals(attributeModel.getType())) {
List<String> inputValueList = new ArrayList<>();
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(plModel.getId(), "", attributeModel.getKey());