|
|
@@ -165,6 +165,13 @@ public class BaseMybatisDao<T> extends SqlSessionDaoSupport {
|
|
|
return findList(DEFAULT_SQL_ID, params, pageNo, pageSize);
|
|
|
}
|
|
|
|
|
|
+ public Pagination<?> findPage(String sqlId, String countId, Object params) {
|
|
|
+ Map<String, Object> map = BeanUtilsExt.pushMap(params);
|
|
|
+ Integer pageNo=(Integer) map.get("pageNo");
|
|
|
+ Integer pageSize=(Integer) map.get("pageSize");
|
|
|
+ return findPage(sqlId, countId, map, pageNo, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
public Pagination<?> findPage(String sqlId, String countId, Object params, Integer pageNo,
|
|
|
Integer pageSize) {
|