
sf.dynamicsql.DynmicSQLModelInf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
package sf.dynamicsql;
import org.mybatis.dynamic.sql.delete.DeleteModel;
import org.mybatis.dynamic.sql.insert.GeneralInsertModel;
import org.mybatis.dynamic.sql.insert.InsertSelectModel;
import org.mybatis.dynamic.sql.select.SelectModel;
import org.mybatis.dynamic.sql.update.UpdateModel;
import sf.common.wrapper.Page;
import java.sql.Connection;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import java.util.stream.Stream;
public interface DynmicSQLModelInf {
int insert(Connection conn, List pkeys, Map keyValues, GeneralInsertModel generalInsertModel);
int insertSelect(Connection conn, List pkeys, Map keyValues, InsertSelectModel insertSelectModel);
int update(Connection conn, UpdateModel updateModel);
int delete(Connection conn, DeleteModel deleteModel);
Page selectPage(Connection conn, long start, int limit, Class beanClass, SelectModel selectModel);
Page selectPageRaw(Connection conn, long start, int limit, Class beanClass, SelectModel countSelectModel,
SelectModel listSelectModel);
Object[] selectArray(Connection conn, SelectModel selectModel);
List selectList(Connection conn, Class beanClass, SelectModel selectModel);
List selectList(Connection conn, Class beanClass, SelectModel selectModel, long start, int limit);
T selectOne(Connection conn, Class beanClass, SelectModel selectModel);
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy