导航,附件,拦截器
This commit is contained in:
@@ -230,22 +230,56 @@
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.lovenav.entity.UrlList">
|
||||
update ln_url_list
|
||||
set `name` = #{name,jdbcType=VARCHAR},
|
||||
icon = #{icon,jdbcType=VARCHAR},
|
||||
cate_id = #{cateId,jdbcType=INTEGER},
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
createtime = #{createtime,jdbcType=BIGINT},
|
||||
views = #{views,jdbcType=BIGINT},
|
||||
tags = #{tags,jdbcType=VARCHAR},
|
||||
weigh = #{weigh,jdbcType=BIGINT},
|
||||
`status` = #{status,jdbcType=TINYINT},
|
||||
`desc` = #{desc,jdbcType=VARCHAR},
|
||||
need_login = #{needLogin,jdbcType=TINYINT},
|
||||
agent_hint = #{agentHint,jdbcType=VARCHAR},
|
||||
is_need_agent = #{isNeedAgent,jdbcType=TINYINT},
|
||||
is_ad = #{isAd,jdbcType=TINYINT},
|
||||
is_top = #{isTop,jdbcType=TINYINT},
|
||||
is_encrypt = #{isEncrypt,jdbcType=TINYINT}
|
||||
<set>
|
||||
<if test="name != null">
|
||||
`name` = #{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="icon != null">
|
||||
icon = #{icon,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="cateId != null">
|
||||
cate_id = #{cateId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="url != null">
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createtime != null">
|
||||
createtime = #{createtime,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="views != null">
|
||||
views = #{views,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="tags != null">
|
||||
tags = #{tags,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="weigh != null">
|
||||
weigh = #{weigh,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
`status` = #{status,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="desc != null">
|
||||
`desc` = #{desc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="needLogin != null">
|
||||
need_login = #{needLogin,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="agentHint != null">
|
||||
agent_hint = #{agentHint,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isNeedAgent != null">
|
||||
is_need_agent = #{isNeedAgent,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="isAd != null">
|
||||
is_ad = #{isAd,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="isTop != null">
|
||||
is_top = #{isTop,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="isEncrypt != null">
|
||||
is_encrypt = #{isEncrypt,jdbcType=TINYINT},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
Reference in New Issue
Block a user