Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
7aaa5c79
Commit
7aaa5c79
authored
Mar 13, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改更新废证循环单状态
parent
90097547
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
ExportExcelApi.java
src/main/java/com/yxproject/start/api/ExportExcelApi.java
+2
-2
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+12
-12
No files found.
src/main/java/com/yxproject/start/api/ExportExcelApi.java
View file @
7aaa5c79
...
...
@@ -33,11 +33,11 @@ public class ExportExcelApi {
List
<
Map
<
String
,
Object
>>
mapList
=
detailReceiptListService
.
selectPostDetails
(
replaceDate
(
date
));
response
.
setContentType
(
"application/x-download"
);
response
.
setCharacterEncoding
(
"UTF-8"
);
String
dateTime
=
DateFormatUtils
.
format
(
new
Date
(),
"yyyy
年MM月dd日
"
);
String
dateTime
=
DateFormatUtils
.
format
(
new
Date
(),
"yyyy
-MM-dd
"
);
// //使用Servlet实现文件下载的时候,避免浏览器自动打开文件
String
fout
=
null
;
fout
=
ExportExcel
.
exportExcelDate
(
mapList
);
String
outFile
=
dateTime
+
"公安网数据"
;
String
outFile
=
dateTime
+
"公安网信息表"
;
try
{
FileInputStream
fis
=
new
FileInputStream
(
new
File
(
fout
));
byte
[]
b
=
new
byte
[
fis
.
available
()];
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
7aaa5c79
...
...
@@ -255,13 +255,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
List
<
Object
>
selectByCountyAtAuxiliary
(
long
process
)
{
//查询普通组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common
(
process
,
process
-
2
);
//查询快证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast
(
process
,
process
-
2
);
//查询余证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind
(
process
,
process
-
2
);
//查询废证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed
(
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed
(
process
-
2
);
List
list
=
new
ArrayList
();
list
=
formateMap
(
mapList_common
);
list
.
addAll
(
formateMap
(
mapList_fast
));
...
...
@@ -282,13 +282,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Map
selectByCountyAtAuxiliary2
(
long
process
)
{
//查询普通组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common
(
process
,
process
-
2
);
//查询快证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast
(
process
,
process
-
2
);
//查询余证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind
(
process
,
process
-
2
);
//查询废证组号列表 在辅助库中
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed
(
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed
(
process
-
2
);
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
list
=
formateMap
(
mapList_common
);
...
...
@@ -318,13 +318,13 @@ public class TaskListServiceImpl implements TaskListService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
List
selectByCountyAtAuxiliary3
(
long
process
)
{
//查询普通组号列表 在辅助库、制证库中
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common2
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_common
=
taskListMapper
.
selectByCountyAtAuxiliary_common2
(
process
,
process
-
2
);
//查询快证组号列表 在辅助库、制证库中
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast2
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_fast
=
taskListMapper
.
selectByCountyAtAuxiliary_fast2
(
process
,
process
-
2
);
//查询余证组号列表 在辅助库、制证库中
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind2
(
process
,
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_remaind
=
taskListMapper
.
selectByCountyAtAuxiliary_remaind2
(
process
,
process
-
2
);
//查询余证组号列表 在辅助库、制证库中
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed2
(
process
-
1
);
List
<
Map
<
String
,
Object
>>
mapList_failed
=
taskListMapper
.
selectByCountyAtAuxiliary_failed2
(
process
-
2
);
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
list
=
formateMap2
(
mapList_common
);
list
.
addAll
(
formateMap2
(
mapList_fast
));
...
...
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