|
@@ -77,7 +77,7 @@ public class HttpRetPageArr<T> implements Serializable {
|
|
|
|
|
|
public static <T> HttpRetPageArr<T> genResultPage(int code, String msg, TableDataInfo<T> tableDataInfo) {
|
|
|
HttpRetPageArr<T> result = new HttpRetPageArr<T>(code, msg, tableDataInfo.getRows());
|
|
|
- result.outTotalCount = tableDataInfo.getTotal().intValue();
|
|
|
+ result.outTotalCount = Integer.parseInt(String.valueOf(tableDataInfo.getTotal()));
|
|
|
return result;
|
|
|
}
|
|
|
|