fix: 分页数据异常

This commit is contained in:
禾几海
2021-03-15 17:31:37 +08:00
parent 5632d47674
commit fafee4f918
5 changed files with 220 additions and 188 deletions

View File

@@ -1,6 +1,7 @@
package cn.celess.blog.mapper;
import cn.celess.blog.entity.ArticleTag;
import cn.celess.blog.entity.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@@ -27,6 +28,8 @@ public interface ArticleTagMapper {
List<ArticleTag> findAllByArticleId(Long articleId);
List<Tag> findTagByArticleId(Long articleId);
int deleteMultiById(List<ArticleTag> articleTags);
List<ArticleTag> findArticleByTag(Long tagId);