liujie
2025-11-06 c2f0603d45c6ed4e189329f6460f94af1eb3df53
ruoyi-system/src/main/resources/mapper/system/TServiceGuideFileMapper.xml
@@ -19,5 +19,17 @@
    <sql id="Base_Column_List">
        id, file_name, file_url, download_count, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TServiceGuideFile">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_service_guide_file
        <where>
            <if test="fileName != null and fileName != ''">
                AND file_name LIKE concat('%',#{fileName},'%')
            </if>
            AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>