io.github.shmilyjxs.core.INativeDao Maven / Gradle / Ivy
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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy