Complete core functions #9

Merged
FatttSnake merged 171 commits from FatttSnake into dev 2024-02-23 11:56:35 +08:00
2 changed files with 2 additions and 5 deletions
Showing only changes of commit 41a9cecdf5 - Show all commits

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 }

View File

@@ -30,7 +30,7 @@
<if test="searchRequestUrl != null">
and t_sys_log.request_server_address || t_sys_log.request_uri ||
case when length(t_sys_log.request_params) != 0 then '?' || t_sys_log.request_params else '' end like
'%'||'mail'||'%'
'%'||#{searchRequestUrl}||'%'
</if>
<if test="searchStartTime != null and searchEndTime != null">
and t_sys_log.start_time between #{searchStartTime} and #{searchEndTime}