com.github.freegeese.maven.plugin.autocode.demo.base.BaseMapper Maven / Gradle / Ivy
package com.github.freegeese.maven.plugin.autocode.demo.base;
import java.util.List;
import java.util.Map;
public interface BaseMapper {
int insert(E entity);
int insertSelective(E entity);
int deleteByPrimaryKey(ID id);
int deleteByPrimaryKeys(List ids);
int updateByPrimaryKey(E entity);
int updateByPrimaryKeySelective(E entity);
E selectByPrimaryKey(ID id);
List selectByPrimaryKeys(List ids);
List selectAll();
List selectByRecord(E entity);
List selectByConditions(Map conditions);
int batchInsert(List entities);
int batchUpdate(List entities);
Long count();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy