src/main/java/com/hx/common/dao/CommonDao.java
@@ -27,6 +27,13 @@ */ <T extends Serializable> int selectCount(Class<?> mapperClass, SqlSentence sqlSentence); /**查询条数 * @param mapperClass mapper类 * @param sqlSentence 查询参数类 * @return 返回条数 */ <T extends Serializable> int selectCountSql(Class<?> mapperClass, SqlSentence sqlSentence); /**查询列表,返回实体类的List * @param mapperClass mapper类 * @param sqlSentence 查询参数类