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

io.github.shmilyjxs.core.INativeDao Maven / Gradle / Ivy

There is a newer version: 1.37
Show newest version
package io.github.shmilyjxs.core;

import io.github.shmilyjxs.utils.PageResult;
import org.intellij.lang.annotations.Language;

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

public interface INativeDao {

     T scalar(@Language("SQL") final String sql, Class mappedClass, Object... args);

     List scalarList(@Language("SQL") final String sql, Class mappedClass, Object... args);

    long count(@Language("SQL") final String sql, Object... args);

    boolean exists(@Language("SQL") final String sql, Object... args);

    int nativeUpdate(@Language("SQL") final String sql, Object... args);

     T selectBean(@Language("SQL") final String sql, Class mappedClass, Object... args);

     List selectBeans(@Language("SQL") final String sql, Class mappedClass, Object... args);

     PageResult selectPage(@Language("SQL") final String sql, long pageNum, long pageSize, Class mappedClass, Object... args);

    Map selectMap(@Language("SQL") final String sql, Object... args);

    List> selectList(@Language("SQL") final String sql, Object... args);

    PageResult> selectPage(@Language("SQL") final String sql, long pageNum, long pageSize, Object... args);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy