fix(db): 修复日志查询使用 QueryUtil.getQuery 改为 getQueryAll

SysExceptionLogRepository 和 SysLoginLogRepository 中
getQuery 改为 getQueryAll 以正确查询包含软删除记录的日志数据;
补充开发环境 PostgreSQL 数据源配置。
This commit is contained in:
张翔
2026-05-06 14:17:04 +08:00
parent 7e2752b533
commit fb2a1e8105
3 changed files with 10 additions and 5 deletions
@@ -11,6 +11,11 @@ spring:
max-idle-time: 10m
max-life-time: 30m
acquire-timeout: 3s
datasource:
url: jdbc:postgresql://localhost:55432/manage_system
username: novalon
password: novalon123
driver-class-name: org.postgresql.Driver
flyway:
enabled: true
locations: classpath:db/migration