部分字段设置可修改为空

This commit is contained in:
RuoYi
2019-01-18 16:40:56 +08:00
parent f5af4e8204
commit eae8c660cf
12 changed files with 32 additions and 26 deletions

View File

@@ -67,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<set>
<if test="noticeTitle != null and noticeTitle != ''">notice_title = #{noticeTitle}, </if>
<if test="noticeType != null and noticeType != ''">notice_type = #{noticeType}, </if>
<if test="noticeContent != null and noticeContent != ''">notice_content = #{noticeContent}, </if>
<if test="noticeContent != null">notice_content = #{noticeContent}, </if>
<if test="status != null and status != ''">status = #{status}, </if>
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
update_time = sysdate()