Package io.mybatis.activerecord
Interface ActiveRecord<T,I extends Serializable>
-
- Type Parameters:
T- 实体类类型I- 主键类型
- All Superinterfaces:
io.mybatis.provider.EntityInfoMapper<T>,EntityRecord<T,I>,ExampleRecord<T,I>,MapperRecord<T,I,BaseMapper<T,I>>
public interface ActiveRecord<T,I extends Serializable> extends EntityRecord<T,I>, ExampleRecord<T,I>
建议将继承该抽象类的实现类的作用范围控制在 Service 层,不能超出范围,其它层使用时转换为 VO 或 DTO 后使用- Author:
- liuzh
-
-
Method Summary
-
Methods inherited from interface io.mybatis.activerecord.EntityRecord
count, delete, deleteByFieldList, deleteById, deleteById, findAll, findByFieldList, findById, findList, findOne, pkHasValue, pkValue, save, saveOrUpdate, saveOrUpdateSelective, saveSelective, update, updateSelective, updateSelective
-
Methods inherited from interface io.mybatis.activerecord.ExampleRecord
count, delete, example, findList, findOne, update, updateSelective
-
Methods inherited from interface io.mybatis.activerecord.MapperRecord
baseMapper
-
-