|
@@ -4,10 +4,14 @@
|
|
|
<mapper namespace="com.diagbot.mapper.KgMapper">
|
|
|
|
|
|
<resultMap id="GraphResultMap" type="com.diagbot.dto.GraphDTO">
|
|
|
- <id column="sName" property="name"/>
|
|
|
- <result column="rType" property="rType"/>
|
|
|
- <collection property="eNodeDTOS" ofType="com.diagbot.dto.BaseNodeDTO">
|
|
|
- <result column="eName" property="name"/>
|
|
|
+ <result column="sName" property="name"/>
|
|
|
+ <result column="sLabel" property="label"/>
|
|
|
+ <collection property="eNodeRDTOS" ofType="com.diagbot.dto.BaseNodeRDTO">
|
|
|
+ <result column="rType" property="rType"/>
|
|
|
+ <collection property="eNodeDTOS" ofType="com.diagbot.dto.BaseNodeDTO">
|
|
|
+ <result column="eName" property="name"/>
|
|
|
+ <result column="eLabel" property="label"/>
|
|
|
+ </collection>
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
|