Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曹鹏
bigdatainterservice
Commits
ca93c295
Commit
ca93c295
authored
Aug 16, 2019
by
wangling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志查询添加导出功能
parent
c465c71e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/founder/interservice/loginlog/controller/LoginLogController.java
+1
-1
src/main/java/com/founder/interservice/recordLog/controller/RecordLogController.java
+1
-1
src/main/resources/mybatis/mapper/xzxt/SplogMapper.xml
+2
-2
No files found.
src/main/java/com/founder/interservice/loginlog/controller/LoginLogController.java
View file @
ca93c295
...
...
@@ -113,7 +113,7 @@ public class LoginLogController {
//导出Excel
ExportExcelUtil
<
LoginLog
>
exportExcelUtil
=
new
ExportExcelUtil
<>();
String
[]
headersName
=
{
"案事件编号"
,
"登录人姓名"
,
"登录人身份证号"
,
"登录人警号"
,
"登录人联系电话"
,
"登录单位"
,
"登录IP"
,
"登录时间"
};
String
[]
headersField
=
{
"asjbh"
,
"cxrXm"
,
"cxrSfzh"
,
"cxrJh"
,
"cxrLxdh"
,
"dldwmc"
,
"cxr
Kssj"
,
"cxrIp"
,
"cxrJs
sj"
};
String
[]
headersField
=
{
"asjbh"
,
"cxrXm"
,
"cxrSfzh"
,
"cxrJh"
,
"cxrLxdh"
,
"dldwmc"
,
"cxr
Ip"
,
"cxrDl
sj"
};
exportExcelUtil
.
exportExcel
(
"登录日志显示统计表"
,
headersName
,
headersField
,
rtrdList
,
response
);
}
...
...
src/main/java/com/founder/interservice/recordLog/controller/RecordLogController.java
View file @
ca93c295
...
...
@@ -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"
,
"cxrJs
sj"
};
String
[]
headersField
=
{
"asjbh"
,
"cxbsh"
,
"bshlxmc"
,
"cxrXm"
,
"cxrSfzh"
,
"cxrJh"
,
"cxrLxdh"
,
"dldwmc"
,
"
dj
sj"
};
exportExcelUtil
.
exportExcel
(
"查询日志显示统计表"
,
headersName
,
headersField
,
rtrdList
,
response
);
}
...
...
src/main/resources/mybatis/mapper/xzxt/SplogMapper.xml
View file @
ca93c295
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment