src/main/java/com/hx/common/service/CommonService.java
@@ -27,6 +27,14 @@ */ <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 查询参数类