实体类:AntennaSystem
添加需要关联的实体
private List<ExtendedAttr> extendedAttrs;
AntennaSystemMapper.xml
配置关联实体
<collection property="deviceModelAttr" ofType="com.bonc.industry.txsp.entity.DeviceModelAttr">
<id property="modelAttrId" column="model_attr_id"/>
<result property="dmAttrType" column="dm_attr_type"/>
<result property="attrValue" column="attr_value"/>
<result property="modelId" column="model_id"/>
</collection>