陈昶聿
6 天以前 987e38327f849e1b13d8541246dde08d877db0e8
ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -43,7 +43,6 @@
    <select id="selectNoticeList" parameterType="SysNotice" resultMap="SysNoticeResult">
        <include refid="selectNoticeVo"/>
        WHERE 1=1
            <if test="noticeTitle != null and noticeTitle != ''">
                AND notice_title like concat('%', #{noticeTitle}, '%')
            </if>
@@ -53,10 +52,9 @@
            <if test="createBy != null and createBy != ''">
                AND create_by like concat('%', #{createBy}, '%')
            </if>
                   <if test="orgid != null and orgid != ''">
             <if test="orgid != null and orgid != ''">
                AND orgid = #{orgid}
            </if>
    </select>
    <insert id="insertNotice" parameterType="SysNotice">
@@ -79,8 +77,7 @@
        <if test="createBy != null and createBy != ''">#{createBy},</if>
        <if test="guid != null and guid != ''">#{guid},</if>
        <if test="orgid != null and orgid != ''">#{orgid},</if>
        sysdate()
        )
        sysdate())
    </insert>
    <update id="updateNotice" parameterType="SysNotice">