mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-01 23:26:38 +00:00
35 lines
626 B
Java
35 lines
626 B
Java
package com.java2nb.novel.dao;
|
|
|
|
import com.java2nb.novel.domain.BookIndexDO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 小说目录表
|
|
*
|
|
* @author xiongxy
|
|
* @email 1179705413@qq.com
|
|
* @date 2023-04-14 19:51:54
|
|
*/
|
|
@Mapper
|
|
public interface BookIndexDao {
|
|
|
|
BookIndexDO get(Long id);
|
|
|
|
List<BookIndexDO> list(Map<String, Object> map);
|
|
|
|
int count(Map<String, Object> map);
|
|
|
|
int save(BookIndexDO bookIndex);
|
|
|
|
int update(BookIndexDO bookIndex);
|
|
|
|
int remove(Long id);
|
|
|
|
int batchRemove(Long[] ids);
|
|
|
|
List<Long> getIdsByBookId(Long bookId);
|
|
}
|