xuhy
19 小时以前 69a0e318bb6ce1efec4d67d8751b7574b37ba49e
ruoyi-system/src/main/resources/mapper/system/TSysActivityMapper.xml
@@ -45,5 +45,24 @@
        </where>
        ORDER BY create_time DESC
    </select>
    <select id="pageListApp" resultType="com.ruoyi.system.model.TSysActivity">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_sys_activity
        <where>
            <if test="query.activityName != null and query.activityName != ''">
                AND activity_name LIKE concat('%',#{query.activityName},'%')
            </if>
            <if test="query.showType != null">
                AND show_type = #{query.showType}
            </if>
            <if test="query.status != null">
                AND status = #{query.status}
            </if>
            AND show_type in (1,3)
            AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>