|
@@ -7,6 +7,7 @@ import com.om.config.MybatisRedisCache;
|
|
|
import com.om.entity.po.Guide;
|
|
|
import org.apache.ibatis.annotations.CacheNamespace;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -20,5 +21,5 @@ import org.apache.ibatis.annotations.Mapper;
|
|
|
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
|
|
|
public interface GuideMapper extends BaseMapper<Guide> {
|
|
|
|
|
|
- Page<Guide> findGuide(Page<Guide> page, String title);
|
|
|
+ Page<Guide> findGuide(Page<Guide> page, @Param("title") String title);
|
|
|
}
|