解决日志分页问题,修改查询条件为tracecode

This commit is contained in:
RenKaiGe-Office
2018-08-07 15:50:12 +08:00
parent 8190e85cc1
commit 8b47d39ae7
3 changed files with 5 additions and 4 deletions

View File

@@ -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)));
}
/**
* 构造方法

View File

@@ -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