网评表xml字段修改

dongdingding
董丁丁 2 years ago
parent 125fce7c32
commit b5ce270999

@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="appraiserName" column="appraiser_name" /> <result property="appraiserName" column="appraiser_name" />
<result property="articleTitle" column="article_title" /> <result property="articleTitle" column="article_title" />
<result property="articleContent" column="article_content" /> <result property="articleContent" column="article_content" />
<result property="article source" column="article_ source" /> <result property="articleSource" column="article_source" />
<result property="articleUrl" column="article_url" /> <result property="articleUrl" column="article_url" />
<result property="pjContent" column="pj_content" /> <result property="pjContent" column="pj_content" />
<result property="pjTime" column="pj_time" /> <result property="pjTime" column="pj_time" />
@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</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_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">
@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="appraiserName != null and appraiserName != ''"> and appraiser_name like concat('%', #{appraiserName}, '%')</if> <if test="appraiserName != null and appraiserName != ''"> and appraiser_name like concat('%', #{appraiserName}, '%')</if>
<if test="articleTitle != null and articleTitle != ''"> and article_title = #{articleTitle}</if> <if test="articleTitle != null and articleTitle != ''"> and article_title = #{articleTitle}</if>
<if test="articleContent != null and articleContent != ''"> and article_content = #{articleContent}</if> <if test="articleContent != null and articleContent != ''"> and article_content = #{articleContent}</if>
<if test="article source != null and article source != ''"> and article_ source = #{article source}</if> <if test="articleSource != null and articleSource != ''"> and article_source = #{articleSource}</if>
<if test="articleUrl != null and articleUrl != ''"> and article_url = #{articleUrl}</if> <if test="articleUrl != null and articleUrl != ''"> and article_url = #{articleUrl}</if>
<if test="pjContent != null and pjContent != ''"> and pj_content = #{pjContent}</if> <if test="pjContent != null and pjContent != ''"> and pj_content = #{pjContent}</if>
<if test="pjTime != null "> and pj_time = #{pjTime}</if> <if test="pjTime != null "> and pj_time = #{pjTime}</if>
@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="appraiserName != null">appraiser_name,</if> <if test="appraiserName != null">appraiser_name,</if>
<if test="articleTitle != null">article_title,</if> <if test="articleTitle != null">article_title,</if>
<if test="articleContent != null">article_content,</if> <if test="articleContent != null">article_content,</if>
<if test="article source != null">article_ source,</if> <if test="articleSource != null">article_source,</if>
<if test="articleUrl != null">article_url,</if> <if test="articleUrl != null">article_url,</if>
<if test="pjContent != null">pj_content,</if> <if test="pjContent != null">pj_content,</if>
<if test="pjTime != null">pj_time,</if> <if test="pjTime != null">pj_time,</if>
@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="appraiserName != null">#{appraiserName},</if> <if test="appraiserName != null">#{appraiserName},</if>
<if test="articleTitle != null">#{articleTitle},</if> <if test="articleTitle != null">#{articleTitle},</if>
<if test="articleContent != null">#{articleContent},</if> <if test="articleContent != null">#{articleContent},</if>
<if test="article source != null">#{article source},</if> <if test="articleSource != null">#{articleSource},</if>
<if test="articleUrl != null">#{articleUrl},</if> <if test="articleUrl != null">#{articleUrl},</if>
<if test="pjContent != null">#{pjContent},</if> <if test="pjContent != null">#{pjContent},</if>
<if test="pjTime != null">#{pjTime},</if> <if test="pjTime != null">#{pjTime},</if>
@ -108,7 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="appraiserName != null">appraiser_name = #{appraiserName},</if> <if test="appraiserName != null">appraiser_name = #{appraiserName},</if>
<if test="articleTitle != null">article_title = #{articleTitle},</if> <if test="articleTitle != null">article_title = #{articleTitle},</if>
<if test="articleContent != null">article_content = #{articleContent},</if> <if test="articleContent != null">article_content = #{articleContent},</if>
<if test="article source != null">article_ source = #{article source},</if> <if test="articleSource != null">article_source = #{articleSource},</if>
<if test="articleUrl != null">article_url = #{articleUrl},</if> <if test="articleUrl != null">article_url = #{articleUrl},</if>
<if test="pjContent != null">pj_content = #{pjContent},</if> <if test="pjContent != null">pj_content = #{pjContent},</if>
<if test="pjTime != null">pj_time = #{pjTime},</if> <if test="pjTime != null">pj_time = #{pjTime},</if>

Loading…
Cancel
Save