Commit c7898c8b authored by 周健威's avatar 周健威

修改banner

parent 69645b4a
...@@ -20,7 +20,7 @@ import java.util.List; ...@@ -20,7 +20,7 @@ import java.util.List;
public interface BannerMapper extends Mapper<Banner> { public interface BannerMapper extends Mapper<Banner> {
@Select("select * from `banner` where is_del=#{isDel} and `platform`=#{platform} " + @Select("select * from `banner` where is_del=#{isDel} and `platform`=#{platform} " +
" <when test='stats != null'> and `stats`=#{stats} </when > " + " <when test='status != null'> and `status`=#{status} </when > " +
" <when test='location != null'> and `location`=#{location} </when > " + " <when test='location != null'> and `location`=#{location} </when > " +
"order by rank ASC") "order by rank ASC")
List<Banner> findBannerListByisDelOrderByRank(Banner banner); List<Banner> findBannerListByisDelOrderByRank(Banner 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