fix list comment error
This commit is contained in:
@ -17,6 +17,12 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public interface CommentMapper extends BaseMapper<Comment, Long> {
|
public interface CommentMapper extends BaseMapper<Comment, Long> {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
long count();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
List<Comment> list(long offset, int limit);
|
||||||
|
|
||||||
@Select("SELECT * FROM comment WHERE id = #{id}" + NOT_DELETE)
|
@Select("SELECT * FROM comment WHERE id = #{id}" + NOT_DELETE)
|
||||||
Comment select(Long id);
|
Comment select(Long id);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user