fix(db): 修复日志查询使用 QueryUtil.getQuery 改为 getQueryAll
SysExceptionLogRepository 和 SysLoginLogRepository 中 getQuery 改为 getQueryAll 以正确查询包含软删除记录的日志数据; 补充开发环境 PostgreSQL 数据源配置。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user