From 36b0ebf54c45d2f8991d2190cf278241bd455867 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 06 九月 2021 11:08:09 +0800 Subject: [PATCH] update 代码生成 查询数据库列表 按照时间倒序 --- ruoyi-common/src/main/java/com/ruoyi/common/utils/PageUtils.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/PageUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/PageUtils.java index 68167df..a0b4d3c 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/PageUtils.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/PageUtils.java @@ -135,4 +135,11 @@ return rspData; } + public static <T> TableDataInfo<T> buildDataInfo() { + TableDataInfo<T> rspData = new TableDataInfo<>(); + rspData.setCode(HttpStatus.HTTP_OK); + rspData.setMsg("鏌ヨ鎴愬姛"); + return rspData; + } + } -- Gitblit v1.9.3