xiaoyong931011
2022-07-05 ed5b338a4ef3e95db7354ad3f3d65f8752b5915c
src/main/java/com/xcong/farmer/cms/modules/system/mapper/ArticleMapper.java
@@ -6,6 +6,7 @@
import com.xcong.farmer.cms.modules.system.entity.ArticleEntity;
import com.xcong.farmer.cms.modules.system.vo.AdminArticleVo;
import com.xcong.farmer.cms.modules.system.vo.AdminSeeArticleInfoVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
public interface ArticleMapper extends BaseMapper<ArticleEntity> {
@@ -13,4 +14,8 @@
    IPage<AdminArticleVo> selectAdminArticleInPage(Page<AdminArticleVo> page, @Param("record")ArticleEntity articleEntity);
    AdminSeeArticleInfoVo selectAdminArticleByid(@Param("id")Long id);
    ArticleEntity selectPrevOrNextArticle(@Param("id") Long id, @Param("columnId") Long columnId, @Param("type") Integer type);
    ArticleEntity selectArticleById(@Param("id") Long id);
}