zjh
2025-06-20 5f1d1c462bbf49bc6a22b9e17b49733bcc1e0bc6
ltkj-system/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -27,7 +27,9 @@
               create_time,
               update_by,
               update_time,
               remark
               remark,
               dept_id
        from sys_notice
    </sql>
@@ -53,6 +55,7 @@
    <insert id="insertNotice" parameterType="SysNotice">
        insert into sys_notice (
        <if test="noticeId != null and noticeId != '' ">notice_id,</if>
        <if test="noticeTitle != null and noticeTitle != '' ">notice_title,</if>
        <if test="noticeType != null and noticeType != '' ">notice_type,</if>
        <if test="noticeContent != null and noticeContent != '' ">notice_content,</if>
@@ -61,6 +64,7 @@
        <if test="createBy != null and createBy != ''">create_by,</if>
        create_time
        )values(
        <if test="noticeId != null and noticeId != '' ">#{noticeId},</if>
        <if test="noticeTitle != null and noticeTitle != ''">#{noticeTitle},</if>
        <if test="noticeType != null and noticeType != ''">#{noticeType},</if>
        <if test="noticeContent != null and noticeContent != ''">#{noticeContent},</if>
@@ -97,4 +101,4 @@
        </foreach>
    </delete>
</mapper>
</mapper>