陈昶聿
4 天以前 23feaf8352295616f844b32ebd2a19f857f891c9
ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -42,7 +42,7 @@
    <select id="selectNoticeList" parameterType="SysNotice" resultMap="SysNoticeResult">
        <include refid="selectNoticeVo"/>
        <where>
        where 1=1
            <if test="noticeTitle != null and noticeTitle != ''">
                AND notice_title like concat('%', #{noticeTitle}, '%')
            </if>
@@ -52,7 +52,9 @@
            <if test="createBy != null and createBy != ''">
                AND create_by like concat('%', #{createBy}, '%')
            </if>
        </where>
            <if test="orgid != null and orgid != ''">
                AND orgid = #{orgid}
            </if>
    </select>
    <insert id="insertNotice" parameterType="SysNotice">