com.github.wz2cool.dynamic.mybatis.mapper.SelectByDynamicQueryMapper Maven / Gradle / Ivy
package com.github.wz2cool.dynamic.mybatis.mapper;
import com.github.wz2cool.dynamic.DynamicQuery;
import com.github.wz2cool.dynamic.mybatis.mapper.constant.MapperConstants;
import com.github.wz2cool.dynamic.mybatis.mapper.provider.DynamicQueryProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;
import java.util.List;
/**
* @author Frank
*/
@RegisterMapper
public interface SelectByDynamicQueryMapper {
/**
* select by dynamic query
*
* @param dynamicQuery dynamic query
* @return list of item
*/
@SelectProvider(type = DynamicQueryProvider.class, method = "dynamicSQL")
List selectByDynamicQuery(@Param(MapperConstants.DYNAMIC_QUERY) DynamicQuery dynamicQuery);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy