import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 类BaseMapper的描述: 基础的mapper类
*
* @author gaojian.penggj 2018/3/15 下午2:31
*/
public interface BaseMapper<DOExample, DO> {
int countByExample(DOExample example);
int deleteByExample(DOExample example);
int deleteByPrimaryKey(Long id);
int insert(DO record);
int insertSelective(DO record);
List<DO> selectByExampleWithBLOBs(DOExample example);
List<DO> selectByExample(DOExample example);
DO selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") DO record, @Param("example") DOExample example);
int updateByExampleWithBLOBs(@Param("record") DO record, @Param("example") DOExample example);
int updateByExample(@Param("record") DO record, @Param("example") DOExample example);
int updateByPrimaryKeySelective(DO record);
int updateByPrimaryKeyWithBLOBs(DO record);
int updateByPrimaryKey(DO record);
}