| | |
| | | <sql id="Base_Column_List"> |
| | | id, banner_name, banner_type, pictures, url_link, sort_by, create_time, update_time, create_by, update_by, disabled |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.model.TSysBanner"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from t_sys_banner |
| | | <where> |
| | | <if test="query.bannerName != null and query.bannerName != ''"> |
| | | and banner_name like concat('%',#{query.bannerName},'%') |
| | | </if> |
| | | AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY create_time DESC |
| | | </select> |
| | | |
| | | </mapper> |