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

com.zhangzlyuyx.easy.mybatis.mapper.SelectByJoinExampleMapper Maven / Gradle / Ivy

package com.zhangzlyuyx.easy.mybatis.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.session.RowBounds;

import com.zhangzlyuyx.easy.mybatis.entity.JoinExample;

/**
 * SelectByJoinExampleMapper
 * @author zhangzlyuyx
 *
 * @param 
 */
@tk.mybatis.mapper.annotation.RegisterMapper
public interface SelectByJoinExampleMapper {

	@SelectProvider(type = JoinExampleProvider.class, method = "dynamicSQL")
	List selectByJoinExample(JoinExample joinExample);
	
	@SelectProvider(type = JoinExampleProvider.class, method = "dynamicSQL")
	List selectByJoinExampleAndRowBounds(JoinExample joinExample, RowBounds rowBounds);
	
	@SelectProvider(type = JoinExampleProvider.class, method = "dynamicSQL")
	@ResultType(Map.class)
	List> selectMapByJoinExample(JoinExample joinExample);
	
	@SelectProvider(type = JoinExampleProvider.class, method = "dynamicSQL")
	@ResultType(Map.class)
	List> selectMapByJoinExampleAndRowBounds(JoinExample joinExample, RowBounds rowBounds);
	
	@SelectProvider(type = JoinExampleProvider.class, method = "dynamicSQL")
	Integer selectCountByJoinExample(JoinExample joinExample);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy