Commit 6d6835067009449ff6d92f859fa6a9e19c0d3511

Authored by xp.Huang
1 parent c8416e97

feat: 物模型返回扩展描述字段extensionDesc

@@ -17,4 +17,7 @@ public class AttributeModelDTO extends BaseModelDTO { @@ -17,4 +17,7 @@ public class AttributeModelDTO extends BaseModelDTO {
17 17
18 @ApiModelProperty(value = "规格内容") 18 @ApiModelProperty(value = "规格内容")
19 private JsonNode specs; 19 private JsonNode specs;
  20 +
  21 + @ApiModelProperty(value = "TCP/UDP属性扩展描述")
  22 + private JsonNode extensionDesc;
20 } 23 }
@@ -660,6 +660,7 @@ public class TkDeviceServiceImpl extends AbstractBaseService<DeviceMapper, TkDev @@ -660,6 +660,7 @@ public class TkDeviceServiceImpl extends AbstractBaseService<DeviceMapper, TkDev
660 attribute.put("identifier", dto.getIdentifier()); 660 attribute.put("identifier", dto.getIdentifier());
661 attribute.put("detail", functionJson); 661 attribute.put("detail", functionJson);
662 attribute.put("accessMode",dto.getAccessMode()); 662 attribute.put("accessMode",dto.getAccessMode());
  663 + attribute.put("extensionDesc",dto.getExtensionDesc());
663 attributes.add(attribute); 664 attributes.add(attribute);
664 } 665 }
665 } 666 }