com.obatis.orm.mapper.CommonMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obatis-orm Show documentation
Show all versions of obatis-orm Show documentation
obatis-orm, apply database project
The newest version!
package com.obatis.orm.mapper;
import com.obatis.orm.sql.SqlProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface CommonMapper {
@SelectProvider(type = SqlProvider.class, method = "find")
R find(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
Integer findInteger(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
BigInteger findBigInteger(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
Long findLong(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
Double findDouble(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
BigDecimal findBigDecimal(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
Date findDate(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
LocalDate findLocalDate(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
LocalDateTime findLocalDateTime(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
LocalTime findLocalTime(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
String findString(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "find")
List list(@Param("request") Map param, String tableName);
@SelectProvider(type = SqlProvider.class, method = "replaceSql")
R findBySql(String sql, @Param("request") List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy