| | |
| | | <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> |