package com.xxfc.platform.tour.mapper;

import com.xxfc.platform.tour.entity.TourBanner;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 首页banner图
 * 
 * @author zjw
 * @email nishijjo@qq.com
 * @date 2019-06-06 11:41:51
 */
@Repository
public interface TourBannerMapper extends Mapper<TourBanner> {

    @Select("select * from tour_banner where is_del=#{isDel} order by rank ASC")
   List<TourBanner> findBannerListByisDelOrderByRank(TourBanner banner);

}
