|
@@ -90,7 +90,7 @@ public class ResultHelper {
|
|
|
* @param <T>
|
|
|
* @return
|
|
|
*/
|
|
|
- private static <T> CommonResult<PageList<T>> multi(List<T> records, long total) {
|
|
|
+ public static <T> CommonResult<PageList<T>> multi(List<T> records, long total) {
|
|
|
PageList<T> pageList = new PageList<>(records, total);
|
|
|
return new CommonResult(ResponseCode.A00000.getCode(), ResponseCode.A00000.getDesc(), pageList);
|
|
|
}
|