update table
<trim prefix="SET" suffixOverrides=",">
<if test="items != null and items != ''">items = #{items},</if>
<if test="publishDate != null">publish_date = #{publishDate},</if>
<if test="name != null and name != ''">name = #{name},</if>
<if test="area != null and area != ''">area = #{area},</if>
<if test="address != null and address != ''">address = #{address},</if>
<if test="zipcode != null and zipcode != ''">zipcode = #{zipcode},</if>
</trim>
<trim>的用法
最新推荐文章于 2024-09-08 16:19:39 发布