|
@@ -16,7 +16,7 @@ public class TableDataInfo<T> implements Serializable
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
/** 总记录数 */
|
|
|
- private long total;
|
|
|
+ private Integer total;
|
|
|
|
|
|
/** 列表数据 */
|
|
|
private List<T> rows;
|
|
@@ -40,13 +40,13 @@ public class TableDataInfo<T> implements Serializable
|
|
|
* @param list 列表数据
|
|
|
* @param total 总记录数
|
|
|
*/
|
|
|
- public TableDataInfo(List<T> list, long total)
|
|
|
+ public TableDataInfo(List<T> list, Integer total)
|
|
|
{
|
|
|
this.rows = list;
|
|
|
this.total = total;
|
|
|
}
|
|
|
|
|
|
- public long getTotal()
|
|
|
+ public Integer getTotal()
|
|
|
{
|
|
|
return total;
|
|
|
}
|