|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="ancestors" column="ancestors" />
|
|
|
<result property="orderNum" column="order_num" />
|
|
|
<result property="title" column="title" />
|
|
|
+ <result property="titleSize" column="title_size" />
|
|
|
<result property="url" column="url" />
|
|
|
<result property="status" column="status" />
|
|
|
<result property="content" column="content" />
|
|
@@ -22,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectInvestigateDispositionVo">
|
|
|
- select investigate_disposition_id, parent_id, ancestors, order_num, title, url,content, status, create_by, create_time, update_by, update_time, remark from investigate_disposition
|
|
|
+ select investigate_disposition_id, parent_id, ancestors, order_num, title,title_size, url,content, status, create_by, create_time, update_by, update_time, remark from investigate_disposition
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectInvestigateDispositionList" parameterType="InvestigateDisposition" resultMap="InvestigateDispositionResult">
|
|
@@ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">ancestors,</if>
|
|
|
<if test="orderNum != null">order_num,</if>
|
|
|
<if test="title != null">title,</if>
|
|
|
+ <if test="titleSize != null">title_size,</if>
|
|
|
<if test="url != null">url,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="content != null">content,</if>
|
|
@@ -64,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">#{ancestors},</if>
|
|
|
<if test="orderNum != null">#{orderNum},</if>
|
|
|
<if test="title != null">#{title},</if>
|
|
|
+ <if test="titleSize != null">#{titleSize},</if>
|
|
|
<if test="url != null">#{url},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="content != null">#{content},</if>
|
|
@@ -82,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="ancestors != null">ancestors = #{ancestors},</if>
|
|
|
<if test="orderNum != null">order_num = #{orderNum},</if>
|
|
|
<if test="title != null">title = #{title},</if>
|
|
|
+ <if test="titleSize != null">title_size = #{titleSize},</if>
|
|
|
<if test="url != null">url = #{url},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="content != null">content = #{content},</if>
|
|
@@ -106,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</delete>
|
|
|
|
|
|
<select id="selectInvestigateDispositionById" parameterType="Long" resultMap="InvestigateDispositionResult">
|
|
|
- select d.investigate_disposition_id, d.parent_id, d.ancestors, d.order_num, d.title, d.url, d.status,d.content,
|
|
|
+ select d.investigate_disposition_id, d.parent_id, d.ancestors, d.order_num, d.title,d.title_size, d.url, d.status,d.content,
|
|
|
(select title from investigate_disposition where investigate_disposition_id = d.investigate_disposition_id) parent_name
|
|
|
from investigate_disposition d
|
|
|
where d.investigate_disposition_id = #{investigateDispositionId}
|