mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-06 15:01:38 +08:00
feat: 系统日志新增导出 API
This commit is contained in:
@@ -1,7 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="top.charles7c.continew.admin.system.mapper.LogMapper">
|
||||
<select id="selectLogPage" resultType="top.charles7c.continew.admin.system.model.resp.LogResp">
|
||||
<select id="selectLogPage" resultType="top.charles7c.continew.admin.system.model.resp.log.LogResp">
|
||||
SELECT
|
||||
t1.id,
|
||||
t1.description,
|
||||
t1.module,
|
||||
t1.time_taken,
|
||||
t1.ip,
|
||||
t1.address,
|
||||
t1.browser,
|
||||
t1.os,
|
||||
t1.status,
|
||||
t1.error_msg,
|
||||
t1.create_user,
|
||||
t1.create_time,
|
||||
t2.nickname AS createUserString
|
||||
FROM sys_log AS t1
|
||||
LEFT JOIN sys_user AS t2 ON t2.id = t1.create_user
|
||||
${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
<select id="selectLogList" resultType="top.charles7c.continew.admin.system.model.resp.log.LogResp">
|
||||
SELECT
|
||||
t1.id,
|
||||
t1.description,
|
||||
@@ -68,4 +88,4 @@
|
||||
ORDER BY value DESC
|
||||
LIMIT 10
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user