diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java index 78ff9e5..b88a7b3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java @@ -111,7 +111,7 @@ public class HomeController { windowWrapper.eq(SysColumn::getColumnType, WINDOW_COLUMN_TYPE); windowWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE); windowWrapper.eq(SysColumn::getStatus,STATUS); - queryWrapper.orderByAsc(SysColumn::getOrderNum); + windowWrapper.orderByAsc(SysColumn::getOrderNum); List windowColumns = columnService.list(windowWrapper); mmap.put("windowColumns", windowColumns); //访问量 @@ -168,7 +168,7 @@ public class HomeController { windowWrapper.eq(SysColumn::getColumnType, WINDOW_COLUMN_TYPE); windowWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE); windowWrapper.eq(SysColumn::getStatus,STATUS); - queryWrapper.orderByAsc(SysColumn::getOrderNum); + windowWrapper.orderByAsc(SysColumn::getOrderNum); List windowColumns = columnService.list(windowWrapper); mmap.put("windowColumns", windowColumns); diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index 4ca0f88..35bcb4f 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -8,7 +8,7 @@ spring: # 主库数据源 master: #url: jdbc:postgresql://192.168.254.176:5432/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - url: jdbc:highgo://127.0.0.1:5866/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:highgo://192.168.254.85:5866/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 #username: postgres highgo #password: Qwer@1234 Qwer@1234 username: ENC(6lCfD2O9U7Q/OtDbbDJcsQ==)