mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-02-24 00:00:01 +08:00
用户增加导出、操作日志添加条件,导出、修复svg无法设置fill属性问题等
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"groupId" : "9ec6f9ec92d24a369952bb13eddc134f",
|
||||
"name" : "操作日志",
|
||||
"createTime" : null,
|
||||
"updateTime" : 1646552462421,
|
||||
"updateTime" : 1649001507013,
|
||||
"lock" : "0",
|
||||
"createBy" : null,
|
||||
"updateBy" : null,
|
||||
@@ -252,7 +252,13 @@
|
||||
================================
|
||||
return db.page("""
|
||||
select sol.*,su.username from sys_oper_log sol left join sys_user su on sol.create_by = su.id where 1=1
|
||||
?{userIp, and sol.user_ip like concat('%', #{userIp}, '%')}
|
||||
?{username, and su.username like concat('%', #{username}, '%')}
|
||||
?{apiName, and sol.api_name like concat('%', #{apiName}, '%')}
|
||||
?{apiPath, and sol.api_path like concat('%', #{apiPath}, '%')}
|
||||
?{createDate && createDate.split(',')[0], and sol.create_date >= #{createDate.split(',')[0]}}
|
||||
?{createDate && createDate.split(',')[1], and sol.create_date <= #{createDate.split(',')[1]}}
|
||||
?{costTime && costTime.split(',')[0], and sol.cost_time >= #{costTime.split(',')[0]}}
|
||||
?{costTime && costTime.split(',')[1], and sol.cost_time <= #{costTime.split(',')[1]}}
|
||||
order by create_date desc
|
||||
""")
|
||||
Reference in New Issue
Block a user