All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zyy.common.mybatis.BaseMapper Maven / Gradle / Ivy

package com.zyy.common.mybatis;

import com.zyy.common.util.BaseModel;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
import tk.mybatis.mapper.provider.base.BaseSelectProvider;

import java.util.List;

public interface BaseMapper extends Mapper, MySqlMapper {
    @Override
    @SelectProvider(type = BaseMapperProvider.class, method = "dynamicSQL")
    List select(T t);

    @Override
    @Deprecated
    @SelectProvider(type = BaseMapperProvider.class, method = "dynamicSQL")
    List selectAll();

    @SelectProvider(type = BaseMapperProvider.class, method = "dynamicSQL")
    List selectByPage(T t);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy