Commit 1a3bc9ac authored by libin's avatar libin

banner

parent 8807cf40
......@@ -33,9 +33,10 @@ public class TourBannerBiz extends BaseBiz<TourBannerMapper,TourBanner> {
this.deleteById(id);
}
public List<TourBanner> findBannerList() {
public List<TourBanner> findBannerList(Integer type) {
TourBanner banner = new TourBanner();
banner.setIsDel(0);
banner.setType(type);
return mapper.findBannerListByisDelOrderByRank(banner);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment