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