Fix system log can not search bug

This commit is contained in:
2024-01-02 17:20:49 +08:00
parent 21e9bd98c9
commit 41a9cecdf5
2 changed files with 2 additions and 5 deletions

View File

@@ -45,10 +45,7 @@ class SysLogServiceImpl(
sysLogGetParam?.searchStartTime,
sysLogGetParam?.searchEndTime
)
sysLogIPage.records.forEach {
it.operateUsername =
it.operateUserId?.let { it1 -> userService.getOne(it1)?.username }
}
if (sysLogIPage.records.isNotEmpty()) {
val userIds = sysLogIPage.records.map { it.operateUserId }