|
|
@ -24,10 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
|
<result property="remark" column="remark" />
|
|
|
|
<result property="remark" column="remark" />
|
|
|
|
|
|
|
|
<result property="appraiserType" column="appraiser_type" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectTcNetworkEvaluateVo">
|
|
|
|
<sql id="selectTcNetworkEvaluateVo">
|
|
|
|
select id, area_id, article_id, article_type, appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
|
|
|
|
select id, area_id, article_id, article_type, appraiser_type,appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTcNetworkEvaluateList" parameterType="TcNetworkEvaluate" resultMap="TcNetworkEvaluateResult">
|
|
|
|
<select id="selectTcNetworkEvaluateList" parameterType="TcNetworkEvaluate" resultMap="TcNetworkEvaluateResult">
|
|
|
@ -46,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="pjTime != null "> and pj_time = #{pjTime}</if>
|
|
|
|
<if test="pjTime != null "> and pj_time = #{pjTime}</if>
|
|
|
|
<if test="createId != null "> and create_id = #{createId}</if>
|
|
|
|
<if test="createId != null "> and create_id = #{createId}</if>
|
|
|
|
<if test="updateId != null "> and update_id = #{updateId}</if>
|
|
|
|
<if test="updateId != null "> and update_id = #{updateId}</if>
|
|
|
|
|
|
|
|
<if test="appraiserType != null "> and appraiser_type = #{appraiserType}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -75,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
<if test="remark != null">remark,</if>
|
|
|
|
<if test="remark != null">remark,</if>
|
|
|
|
|
|
|
|
<if test="appraiserType != null">appraiser_type,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="areaId != null">#{areaId},</if>
|
|
|
|
<if test="areaId != null">#{areaId},</if>
|
|
|
@ -95,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
|
|
|
|
<if test="appraiserType != null">#{appraiserType},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
@ -119,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
|
|
|
|
<if test="appraiserType != null">appraiser_type = #{appraiserType},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|