|
@@ -111,7 +111,7 @@
|
|
<update id="updateOne" parameterType="com.jd.zfjyjgfwpt.entity.TArticle">
|
|
<update id="updateOne" parameterType="com.jd.zfjyjgfwpt.entity.TArticle">
|
|
UPDATE t_article
|
|
UPDATE t_article
|
|
|
|
|
|
- <trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
<if test="articleNum !=null">
|
|
<if test="articleNum !=null">
|
|
articleNum = #{articleNum},
|
|
articleNum = #{articleNum},
|
|
</if>
|
|
</if>
|
|
@@ -208,9 +208,7 @@
|
|
<if test="updateDate != null ">
|
|
<if test="updateDate != null ">
|
|
updateDate = #{updateDate},
|
|
updateDate = #{updateDate},
|
|
</if>
|
|
</if>
|
|
- <if test="url != null and url !=''">
|
|
|
|
url = #{url},
|
|
url = #{url},
|
|
- </if>
|
|
|
|
<if test="websiteId != null and websiteId !='' ">
|
|
<if test="websiteId != null and websiteId !='' ">
|
|
websiteId = #{websiteId},
|
|
websiteId = #{websiteId},
|
|
</if>
|
|
</if>
|