package com.ruoyi.novel.mapper;

import org.apache.ibatis.annotations.Mapper;

// NovelChapterMapper.java
@Mapper
public interface NovelChapterMapper {
    List<NovelChapter> selectChapterListByNovelId(Long novelId);
    NovelChapter selectChapterById(Long chapterId);
    int insertChapter(NovelChapter chapter);
    int updateChapter(NovelChapter chapter);
}