use of com.zyd.blog.business.vo.LinkConditionVO in project OneBlog by zhangyd-c.
the class SysLinkServiceImpl method listOfIndex.
/**
* 查询可在首页显示的友情链接列表
*
* @return
*/
@Override
@RedisCache
public List<Link> listOfIndex() {
LinkConditionVO vo = new LinkConditionVO(1, 1);
vo.setPageSize(100);
PageInfo<Link> pageInfo = this.findPageBreakByCondition(vo);
return pageInfo == null ? null : pageInfo.getList();
}
use of com.zyd.blog.business.vo.LinkConditionVO in project OneBlog by zhangyd-c.
the class SysLinkServiceImpl method listOfDisable.
/**
* 查询已禁用的友情链接列表
*
* @return
*/
@Override
@RedisCache
public List<Link> listOfDisable() {
LinkConditionVO vo = new LinkConditionVO(0, null);
vo.setPageSize(100);
PageInfo<Link> pageInfo = this.findPageBreakByCondition(vo);
return pageInfo == null ? null : pageInfo.getList();
}
use of com.zyd.blog.business.vo.LinkConditionVO in project OneBlog by zhangyd-c.
the class SysLinkServiceImpl method listOfInside.
/**
* 查询可在内页显示的友情链接列表
*
* @return
*/
@Override
@RedisCache
public List<Link> listOfInside() {
LinkConditionVO vo = new LinkConditionVO(1, 0);
vo.setPageSize(100);
PageInfo<Link> pageInfo = this.findPageBreakByCondition(vo);
return pageInfo == null ? null : pageInfo.getList();
}
Aggregations