| | |
| | | package com.yeshi.fanli.dao.mybatis.common; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.common.JumpDetail; |
| | | |
| | | public interface JumpDetailMapper extends BaseMapper<JumpDetail> { |
| | | |
| | | /** |
| | | * 根据名字搜索 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | List<JumpDetail> listSearchByName(@Param("name") String name, @Param("start") long start, |
| | | @Param("count") int count); |
| | | |
| | | /** |
| | | * 根据名字的搜索结果获取数量 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | long countSearchByName(@Param("name") String name); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.common;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.common.JumpDetail;
|
| | |
|
| | | public interface JumpDetailMapper extends BaseMapper<JumpDetail> {
|
| | |
|
| | | /**
|
| | | * 根据名字搜索
|
| | | * |
| | | * @param name
|
| | | * @return
|
| | | */
|
| | | List<JumpDetail> listSearchByName(@Param("name") String name, @Param("start") long start,
|
| | | @Param("count") int count);
|
| | |
|
| | | /**
|
| | | * 根据名字的搜索结果获取数量
|
| | | * |
| | | * @param name
|
| | | * @return
|
| | | */
|
| | | long countSearchByName(@Param("name") String name);
|
| | |
|
| | | } |