Files
love-nav/src/main/java/com/lovenav/dao/CommentDao.java
2023-12-22 14:03:59 +08:00

26 lines
581 B
Java

package com.lovenav.dao;
import com.lovenav.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
@Mapper
public interface CommentDao {
int deleteByPrimaryKey(Integer id);
int insert(Comment record);
int insertSelective(Comment record);
Comment selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(Comment record);
int updateByPrimaryKey(Comment record);
List<Comment> selectByAllComment();
}