ruoyi-system/src/main/resources/mapper/system/TSystemBulletinMapper.xml
@@ -18,5 +18,13 @@ <sql id="Base_Column_List"> id, create_time, update_time, create_by, update_by, disabled, content, status </sql> <select id="pageList" resultType="com.ruoyi.system.vo.system.SystemBulletinListVO"> select * from t_system_bulletin where disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} <if test="query.content != null and query.content != ''"> and content like concat('%',#{query.content},'%') </if> order by create_time desc </select> </mapper>