Complete core functions #9
@@ -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 }
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user