|
@@ -11,12 +11,13 @@
|
|
|
<result column="creator" property="creator" />
|
|
|
<result column="modifier" property="modifier" />
|
|
|
<result column="dis_id" property="disId" />
|
|
|
+ <result column="parent_id" property="parentId" />
|
|
|
<result column="type" property="type" />
|
|
|
<result column="remark" property="remark" />
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="getDisType" resultType="com.diagbot.dto.DisDTO">
|
|
|
- SELECT a.type,b.name,b.id,b.tag_type FROM `icss_dis_type` a, icss_question_info b
|
|
|
+ SELECT a.type,a.parent_id,b.name,b.id,b.tag_type FROM `icss_dis_type` a, icss_question_info b
|
|
|
where a.dis_id = b.id and a.is_deleted = 'N' and b.is_deleted = 'N' order by a.type
|
|
|
</select>
|
|
|
</mapper>
|