| | |
| | | import java.util.Map; |
| | | |
| | | @Mapper |
| | | public interface BaBlockMapper extends BaseMapper<BaPrivilege> { |
| | | /** |
| | | * delete by primary key |
| | | * @param id primaryKey |
| | | * @return deleteCount |
| | | */ |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * 逻辑删除 |
| | | * @param id primaryKey |
| | | * @return update count |
| | | */ |
| | | int deleteLogicById(Long id); |
| | | |
| | | /** |
| | | * insert record to table |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(BaBlock record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(BaBlock record); |
| | | public interface BaBlockMapper extends BaseMapper<BaBlock> { |
| | | |
| | | /** |
| | | * select by primary key |
| | |
| | | List<BaBlock> selectSome(Map<?, ?> params) ; |
| | | |
| | | /** |
| | | * insert record to table |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(BaBlock record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(BaBlock record); |
| | | |
| | | /** |
| | | * update record selective |
| | | * @param record the updated record |
| | | * @return update count |
| | |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKey(BaBlock record); |
| | | /** |
| | | * 实际删除 |
| | | * @param id primaryKey |
| | | * @return deleteCount |
| | | */ |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * 逻辑删除 |
| | | * @param id primaryKey |
| | | * @return update count |
| | | */ |
| | | int deleteLogicById(Long id); |
| | | } |