fix list comment error

This commit is contained in:
Timi
2025-11-06 14:51:29 +08:00
parent 6f1cf2083d
commit 06bb86ccd5

View File

@ -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);