package com.landtool.lanbase.modules.sys.dao; import java.util.List; import java.util.Map; /** * @author lanbase * @Description: TODO(还需在XML文件里,有对应的SQL语句) * @date 2017-6-23 15:07 */ public interface BaseDao { void save(T t); void save(Map map); void saveBatch(List list); int update(T t); int update(Map map); int delete(Object id); int delete(Map map); int deleteBatch(Object[] id); T queryObject(Object id); List queryList(Map map); List queryList(Object id); int queryTotal(Map map); int queryTotal(); Long queryUserId(String UserName); }