Commit ca93c295 by wangling

日志查询添加导出功能

parent c465c71e
......@@ -113,7 +113,7 @@ public class LoginLogController {
//导出Excel
ExportExcelUtil<LoginLog> exportExcelUtil = new ExportExcelUtil<>();
String[] headersName = {"案事件编号","登录人姓名","登录人身份证号","登录人警号","登录人联系电话","登录单位","登录IP","登录时间"};
String[] headersField = {"asjbh","cxrXm","cxrSfzh","cxrJh","cxrLxdh","dldwmc","cxrKssj","cxrIp","cxrJssj"};
String[] headersField = {"asjbh","cxrXm","cxrSfzh","cxrJh","cxrLxdh","dldwmc","cxrIp","cxrDlsj"};
exportExcelUtil.exportExcel("登录日志显示统计表", headersName, headersField, rtrdList, response);
}
......
......@@ -109,7 +109,7 @@ public class RecordLogController {
//导出Excel
ExportExcelUtil<Querylog> exportExcelUtil = new ExportExcelUtil<>();
String[] headersName = {"案事件编号","查询标识号","标识号类型名称","查询人姓名","查询人身份证号","查询人警号","查询人联系电话","查询人单位","登记时间"};
String[] headersField = {"asjbh","cxbsh","bshlxmc","cxrXm","cxrSfzh","cxrJh","cxrLxdh","dldwmc","cxrKssj","cxrJssj"};
String[] headersField = {"asjbh","cxbsh","bshlxmc","cxrXm","cxrSfzh","cxrJh","cxrLxdh","dldwmc","djsj"};
exportExcelUtil.exportExcel("查询日志显示统计表", headersName, headersField, rtrdList, response);
}
......
......@@ -39,10 +39,10 @@
<if test="asjbh != null and asjbh != ''">
and t.ASJBH like CONCAT(CONCAT('%',#{asjbh}),'%')
</if>
<if test="kssj != null and kssj != ''">
<if test="startTime != null and startTime != ''">
and t.DJSJ <![CDATA[>=]]> to_date(#{startTime},'yyyy-MM-dd')
</if>
<if test="jssj != null and jssj != ''">
<if test="endTime != null and endTime != ''">
and t.DJSJ <![CDATA[<=]]> to_date(#{endTime},'yyyy-MM-dd')
</if>
</sql>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment