首页>代码>基于Spring+Spring MVC+Mybatis搭建的个人博客系统>/Blog-System/src/main/java/com/blog/dao/ArticleDao.java
package com.blog.dao;

import com.blog.domain.Article;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticleDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer id);

    Article selectLastArticle(Integer id);

    Article selectNextArticle(Integer id);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);

    int countAllNum();


    List<Article> queryAll();

    List<Article> selectByWord(String word);
}
最近下载更多
zolscy  LV24 2024年12月9日
麻辣香锅加锐澳  LV7 2024年9月1日
lsglsg9  LV23 2023年11月21日
1379585889  LV11 2023年6月6日
Pojem2222  LV2 2022年6月4日
hezienjoy  LV3 2022年6月4日
kks9580  LV6 2021年12月17日
Navy²³  LV2 2021年11月28日
zmzmzmzm  LV8 2021年11月25日
kiritoYCQ  LV5 2021年7月6日
最近浏览更多
ma406805131  LV19 2024年12月18日
dengge123  LV14 2024年12月13日
zolscy  LV24 2024年12月9日
krispeng  LV14 2024年11月20日
栾庆浩 2024年10月23日
暂无贡献等级
麻辣香锅加锐澳  LV7 2024年9月1日
微信网友_7030143019094016  LV1 2024年6月9日
林灵123456  LV8 2024年6月6日
happySuperman  LV2 2024年6月4日
ccccchhhh 2024年5月31日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友