| | |
| | | package com.yeshi.fanli.dao;
|
| | |
|
| | | public interface BaseMapper<T> {
|
| | |
|
| | | int deleteByPrimaryKey(Long id);
|
| | |
|
| | | int insert(T record);
|
| | |
|
| | | int insertSelective(T record);
|
| | |
|
| | | T selectByPrimaryKey(Long id);
|
| | |
|
| | | int updateByPrimaryKeySelective(T record);
|
| | |
|
| | | int updateByPrimaryKey(T record);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.dao; |
| | | |
| | | public interface BaseMapper<T> { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(T record); |
| | | |
| | | int insertSelective(T record); |
| | | |
| | | T selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(T record); |
| | | |
| | | int updateByPrimaryKey(T record); |
| | | |
| | | } |