|
@@ -2,6 +2,7 @@ package com.ylcm.sys.mapper;
|
2
|
2
|
|
3
|
3
|
import com.ylcm.sys.domain.AdMedia;
|
4
|
4
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
5
|
+import org.apache.ibatis.annotations.Param;
|
5
|
6
|
|
6
|
7
|
import java.util.List;
|
7
|
8
|
|
|
@@ -15,5 +16,6 @@ import java.util.List;
|
15
|
16
|
*/
|
16
|
17
|
public interface AdMediaMapper extends BaseMapper<AdMedia> {
|
17
|
18
|
|
18
|
|
- List<AdMedia> getListByPage(String name, Integer rank, Integer pageSize, Integer pageNo);
|
|
19
|
+ List<AdMedia> getListByPage(@Param("name") String name, @Param("rank") Integer rank
|
|
20
|
+ , @Param("pageSize") Integer pageSize, @Param("pageNo") Integer pageNo);
|
19
|
21
|
}
|