mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
自动生成数据库映射文件
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.AuthorDO;
|
||||
|
||||
public interface AuthorDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(AuthorDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(AuthorDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
AuthorDO selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(AuthorDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_author_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(AuthorDO record);
|
||||
}
|
@@ -0,0 +1,62 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.BookDO;
|
||||
import plus.bookshelf.Dao.DO.BookDOKey;
|
||||
|
||||
public interface BookDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(BookDOKey key);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(BookDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(BookDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
BookDO selectByPrimaryKey(BookDOKey key);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(BookDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(BookDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(BookDO record);
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.CategoryDO;
|
||||
|
||||
public interface CategoryDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(CategoryDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(CategoryDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
CategoryDO selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(CategoryDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(CategoryDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table category_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(CategoryDO record);
|
||||
}
|
@@ -0,0 +1,54 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.FileDO;
|
||||
import plus.bookshelf.Dao.DO.FileDOKey;
|
||||
|
||||
public interface FileDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(FileDOKey key);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(FileDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(FileDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
FileDO selectByPrimaryKey(FileDOKey key);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(FileDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(FileDO record);
|
||||
}
|
@@ -0,0 +1,53 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.FileObjectDO;
|
||||
|
||||
public interface FileObjectDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(FileObjectDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(FileObjectDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
FileObjectDO selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(FileObjectDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(FileObjectDO record);
|
||||
}
|
@@ -0,0 +1,53 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.PublishingHouseDO;
|
||||
|
||||
public interface PublishingHouseDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(PublishingHouseDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(PublishingHouseDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
PublishingHouseDO selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(PublishingHouseDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_publishing_house_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(PublishingHouseDO record);
|
||||
}
|
@@ -0,0 +1,53 @@
|
||||
package plus.bookshelf.Dao.Mapper;
|
||||
|
||||
import plus.bookshelf.Dao.DO.ThumbnailDO;
|
||||
|
||||
public interface ThumbnailDOMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insert(ThumbnailDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int insertSelective(ThumbnailDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
ThumbnailDO selectByPrimaryKey(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKeySelective(ThumbnailDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table book_thumbnail_info
|
||||
*
|
||||
* @mbg.generated Sat Mar 12 18:53:08 SGT 2022
|
||||
*/
|
||||
int updateByPrimaryKey(ThumbnailDO record);
|
||||
}
|
Reference in New Issue
Block a user