解决日志分页问题,修改查询条件为tracecode
This commit is contained in:
@@ -73,9 +73,7 @@ public class Page<T> {
|
||||
* @param response 用于设置 Cookie,记住页码
|
||||
*/
|
||||
public Page(HttpServletRequest request, HttpServletResponse response){
|
||||
|
||||
//this(request, response,Integer.valueOf(Configurations.getIntProperty("page.pageSize", 30)));
|
||||
|
||||
this(request, response,Integer.valueOf(Configurations.getIntProperty("page.pageSize", 30)));
|
||||
}
|
||||
/**
|
||||
* 构造方法
|
||||
|
||||
@@ -15,6 +15,9 @@
|
||||
<if test="dbName == 'mssql'">'%'+#{requestContent}+'%'</if>
|
||||
<if test="dbName == 'mysql'">CONCAT('%', #{requestContent}, '%')</if>
|
||||
</if>
|
||||
<if test="traceCode != null and traceCode != ''">
|
||||
AND a.trace_Code=#{traceCode}
|
||||
</if>
|
||||
|
||||
<if test="exceptionInfo != null and exceptionInfo != ''">
|
||||
AND a.exception_Info LIKE
|
||||
|
||||
Reference in New Issue
Block a user