评论,回复,删评

This commit is contained in:
sjm
2023-12-22 10:03:33 +08:00
parent 1399bfd1e5
commit ae032c0d53
5 changed files with 114 additions and 15 deletions

View File

@@ -5,6 +5,8 @@ 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 {
@@ -19,4 +21,6 @@ public interface CommentDao {
int updateByPrimaryKeySelective(Comment record);
int updateByPrimaryKey(Comment record);
List<Integer> selectByRootId(Integer rootid);
}