调整数据库字段,优化部分接口 #1

Merged
xiaohai2271 merged 33 commits from dev into master 2020-05-27 16:45:03 +08:00
Showing only changes of commit d3757c5880 - Show all commits

View File

@@ -18,11 +18,11 @@
<update id="update" parameterType="cn.celess.blog.entity.PartnerSite">
update links set
<if test="name!=null">l_name=#{name},</if>
<if test="url!=null">l_url=#{url},</if>
<if test="open!=null">l_is_open=#{open},</if>
<if test="iconPath!=null">l_icon_path=#{iconPath},</if>
<if test="desc!=null">l_desc=#{desc}</if>
<if test="desc!=null">l_desc=#{desc},</if>
<if test="url!=null">l_url=#{url},</if>
<if test="name!=null">l_name=#{name}</if>
where l_id=#{id}
</update>