12345678910111213141516171819202122232425262728293031 |
- package com.qxgmat.data.relation;
- import com.qxgmat.data.dao.entity.Comment;
- import org.apache.ibatis.annotations.Param;
- import java.util.Collection;
- import java.util.List;
- /**
- * Created by gaojie on 2017/11/9.
- */
- public interface CommentRelationMapper {
- List<Comment> listWithUser(
- @Param("user") Boolean user,
- @Param("channel") String channel,
- @Param("position") String position,
- @Param("userId") Number userId,
- @Param("isSpecial") Integer isSpecial,
- @Param("isShow") Integer isShow,
- @Param("min") Integer min,
- @Param("max") Integer max,
- String order,
- String direction
- );
- List<Comment> groupByPosition(
- @Param("channel") String channel,
- @Param("positions") Collection positions,
- @Param("top") Integer top
- );
- }
|