You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
607 B
36 lines
607 B
package com.yx.dao;
|
|
|
|
import com.yx.po.BookInfo;
|
|
|
|
import java.awt.print.Book;
|
|
import java.util.List;
|
|
|
|
public interface BookInfoMapper {
|
|
|
|
int deleteByPrimaryKey(Integer id);
|
|
|
|
|
|
int insert(BookInfo record);
|
|
|
|
|
|
int insertSelective(BookInfo record);
|
|
|
|
|
|
BookInfo selectByPrimaryKey(Integer id);
|
|
|
|
|
|
int updateByPrimaryKeySelective(BookInfo record);
|
|
|
|
|
|
int updateByPrimaryKey(BookInfo record);
|
|
|
|
/**
|
|
* 查询所有图书记录
|
|
*/
|
|
List<BookInfo> queryBookInfoAll(BookInfo bookInfo);
|
|
|
|
/**
|
|
* 根据类型获取图书数量
|
|
*/
|
|
List<BookInfo> getBookCountByType();
|
|
} |