|
@@ -1,9 +1,10 @@
|
|
|
package cn.efunbox.dao;
|
|
|
|
|
|
import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
-import cn.efunbox.model.Recommend;;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
+
|
|
|
+import cn.efunbox.model.Recommend;
|
|
|
|
|
|
public interface RecommendMapper {
|
|
|
/**
|
|
@@ -22,5 +23,5 @@ public interface RecommendMapper {
|
|
|
* 搜索
|
|
|
* @return
|
|
|
*/
|
|
|
- List<Recommend> search(int age, int sex, int limit, int offset);
|
|
|
+ List<Recommend> search(@Param("age") int age, @Param("sex") int sex, @Param("limit") int limit, @Param("offset") int offset);
|
|
|
}
|