| | |
| | | package com.yeshi.fanli.dao.mybatis.user; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.invite.SpreadImg; |
| | | |
| | | public interface SpreadImgMapper extends BaseMapper<SpreadImg> { |
| | | /** |
| | | * 获取所有推广图 |
| | | * |
| | | * @return |
| | | */ |
| | | List<SpreadImg> listAll(); |
| | | |
| | | |
| | | List<SpreadImg> listQuery(@Param("start") long start, @Param("count") int count, @Param("url") String url); |
| | | |
| | | |
| | | long countQuery(@Param("url") String url); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.user;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.invite.SpreadImg;
|
| | |
|
| | | public interface SpreadImgMapper extends BaseMapper<SpreadImg> {
|
| | | /**
|
| | | * 获取所有推广图
|
| | | * |
| | | * @return
|
| | | */
|
| | | List<SpreadImg> listAll();
|
| | | |
| | | long countAll();
|
| | | |
| | | List<SpreadImg> listQuery(@Param("start") long start, @Param("count") int count, @Param("url") String url);
|
| | | |
| | | |
| | | long countQuery(@Param("url") String url);
|
| | | |
| | | } |