1:新增请求地址字段
2:修改访问swagger日志界面和行为日志界面时不记录日志
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#{beginDate} AND #{endDate}
|
||||
|
||||
<if test="requestContent != null and requestContent != ''">
|
||||
AND a.request_Content LIKE
|
||||
AND a.request_Content LIKE
|
||||
<if test="dbName == 'oracle'">'%'||#{requestContent}||'%'</if>
|
||||
<if test="dbName == 'mssql'">'%'+#{requestContent}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{requestContent}, '%')</if>
|
||||
@@ -18,22 +18,31 @@
|
||||
<if test="traceCode != null and traceCode != ''">
|
||||
AND a.trace_Code=#{traceCode}
|
||||
</if>
|
||||
<if test="businessCode != null and businessCode != ''">
|
||||
AND a.business_Code=#{businessCode}
|
||||
</if>
|
||||
<if test="requestUri != null and requestUri != ''">
|
||||
AND a.REQUEST_URI LIKE
|
||||
<if test="dbName == 'oracle'">'%'||#{requestUri}||'%'</if>
|
||||
<if test="dbName == 'mssql'">'%'+#{requestUri}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{requestUri}, '%')</if>
|
||||
</if>
|
||||
|
||||
<if test="exceptionInfo != null and exceptionInfo != ''">
|
||||
AND a.exception_Info LIKE
|
||||
AND a.exception_Info LIKE
|
||||
<if test="dbName == 'oracle'">'%'||#{exceptionInfo}||'%'</if>
|
||||
<if test="dbName == 'mssql'">'%'+#{exceptionInfo}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{exceptionInfo}, '%')</if>
|
||||
</if>
|
||||
|
||||
<if test="requestIp != null and requestIp != ''">
|
||||
AND a.request_ip like
|
||||
AND a.request_ip like
|
||||
<if test="dbName == 'oracle'">'%'||#{requestIp}||'%'</if>
|
||||
<if test="dbName == 'mssql'">'%'+#{requestIp}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{requestIp}, '%')</if>
|
||||
</if>
|
||||
<if test="serverIp != null and serverIp != ''">
|
||||
AND a.server_Ip like
|
||||
AND a.server_Ip like
|
||||
<if test="dbName == 'oracle'">'%'||#{serverIp}||'%'</if>
|
||||
<if test="dbName == 'mssql'">'%'+#{serverIp}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{serverIp}, '%')</if>
|
||||
|
||||
Reference in New Issue
Block a user