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

com.telewave.logger.dao.BaseDao Maven / Gradle / Ivy

There is a newer version: 1.1.1.7
Show newest version
package com.telewave.logger.dao;

import com.telewave.logger.page.PageResult;

import java.util.List;

/**
 * Created by aiowang on 2018/7/25.
 */
public interface BaseDao {

    PageResult selectByPage(String sql, List sqlArgs, int pageNum, int pageSize);
    T selectByPrimary(String sql,String id);
    int insert(T record,String sql);
    int delete(String sql ,String id);
    int update(String sql, Object[] sqlArgs);
    int creatTableIfNoExists(String sql);
    int[] deleteBatch(String[] ids,String sql);
    int updateSql(String sql);
    int selectTotleReport(String sql);
}