批注接口的使用
cn.com.pism.mybatis.core.annotation.EntityFill
使用EntityFill的程序包
-
cn.com.pism.mybatis.core.service.impl中EntityFill的使用
修饰符和类型方法说明intComServiceImpl.batchInsert(Collection<T> list) intComServiceImpl.batchUpdate(Collection<T> list) intComServiceImpl.batchUpdateSelective(Collection<T> list) booleanComServiceImpl.insertOrUpdateById(T t) booleanComServiceImpl.insertOrUpdateSelective(T t) booleanComServiceImpl.insertSelective(T entity) boolean插入一条记录(选择字段,策略插入)booleanComServiceImpl.saveBatch(Collection<T> entityList) 插入(批量)booleanComServiceImpl.saveBatch(Collection<T> entityList, int batchSize) 插入(批量)booleanComServiceImpl.saveOrUpdate(T entity) TableId 注解存在更新记录,否插入一条记录booleanComServiceImpl.saveOrUpdateBatch(Collection<T> entityList) 批量修改插入booleanComServiceImpl.saveOrUpdateBatch(Collection<T> entityList, int batchSize) 批量修改插入booleanComServiceImpl.updateBatchById(Collection<T> entityList) 根据ID 批量更新booleanComServiceImpl.updateBatchById(Collection<T> entityList, int batchSize) 根据ID 批量更新booleanComServiceImpl.updateById(T entity) 根据 ID 选择修改booleanComServiceImpl.updateSelectiveByPrimaryKey(T entity)