首页>代码>SSM实现的博客系统代码分享>/Blog-System/src/main/java/com/blog/dao/CommentDao.java
package com.blog.dao;

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

import java.util.List;

@Repository
public interface CommentDao {
    int deleteByPrimaryKey(Long id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKeyWithBLOBs(Comment record);

    int updateByPrimaryKey(Comment record);

    int countAllNum();

    List<Comment> queryAll(@Param("article_id") int article_id,@Param("offset") int offset, @Param("limit") int limit);
}
最近下载更多
yellow_flowers  LV8 4月26日
daoshuweiling  LV1 2023年12月23日
拜托你仔细听  LV3 2023年9月21日
周敏国  LV9 2023年8月21日
全栈小白  LV34 2023年4月25日
youzitao  LV11 2023年4月16日
laogou  LV4 2023年4月6日
luolukka  LV8 2023年3月15日
GeminiLong  LV6 2022年12月22日
jlmarket  LV22 2022年12月2日
最近浏览更多
yellow_flowers  LV8 4月26日
xiongM  LV4 4月20日
wanglinddad  LV54 4月12日
wzhzs666 4月8日
暂无贡献等级
a318888331  LV13 3月10日
玖零定制问题修复  LV34 3月3日
罗清晨  LV11 2月28日
3334004690  LV3 2月20日
bin2337  LV4 1月22日
吞吞吐吐她  LV5 1月18日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友