package com.artfess.base.manager;
import java.util.List;
import java.util.Map;
import com.artfess.base.exception.SystemException;
import com.artfess.base.query.PageBean;
import com.artfess.base.query.PageList;
import com.artfess.base.query.QueryFilter;
/**
* 通用管理器
*
* @company 阿特菲斯信息技术有限公司
* @author heyifan
* @email heyf@jee-soft.cn
* @date 2018年4月25日
*/
public interface CommonManager{
/**
* 执行sql语句
* @param sql sql语句
*/
int execute(String sql);
/**
* 执行sql语句
*
* update .. set key=?
*
* @param sql sql语句
* @param objs 参数化中参数的值
*/
int execute(String sql, Object...objs);
/**
* 执行sql语句
*
* update .. set key=#{key}
*
* @param sql sql语句
* @param map 以Map构成的参数值(注意,map中不能定义key为sql的参数)
*/
int execute(String sql, Map map);
/**
* 查询列表数据
* @param sql sql语句
* @return 列表数据
*/
List