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
21f8838c
Commit
21f8838c
authored
Mar 09, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
eeef6787
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+7
-10
No files found.
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
21f8838c
...
...
@@ -614,15 +614,14 @@ public class TaskListServiceImpl implements TaskListService {
int
specialCount
=
0
;
int
eWriteCount
=
0
;
int
faileCount
=
0
;
int
policeCount
=
0
;
String
countyName
=
null
;
String
countyCode
=
null
;
Object
submitDate
=
null
;
String
policeCode
=
null
;
String
policeName
=
null
;
List
<
Map
<
String
,
Object
>>
countyMapList
=
mapList
.
get
(
taskId
);
for
(
Map
<
String
,
Object
>
countyMap:
countyMapList
){
submitDate
=
countyMap
.
get
(
"SUBMIT_DATE"
);
policeCode
=
countyMap
.
get
(
"POLICE
_CODE"
)+
""
;
policeName
=
countyMap
.
get
(
"GAMC
"
)+
""
;
countyCode
=
countyMap
.
get
(
"COUNTY
_CODE"
)+
""
;
countyName
=
countyMap
.
get
(
"COUNTYNAME
"
)+
""
;
typeName
=
countyMap
.
get
(
"CARD_TYPE_ID"
)
+
""
;
typeSum
+=
Integer
.
valueOf
(
countyMap
.
get
(
"VALID_COUNT"
)
+
""
);
typeSum
-=
Integer
.
valueOf
(
countyMap
.
get
(
"SPECIAL_CARD_COUNT"
)
+
""
);
...
...
@@ -631,7 +630,6 @@ public class TaskListServiceImpl implements TaskListService {
specialCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"SPECIAL_CARD_COUNT"
)
+
""
);
faileCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"FAILECOUNT"
)
+
""
);
eWriteCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"E_WRITER_COUNT"
)
+
""
);
policeCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"POLICE_COUNT"
)
+
""
);
}
if
(
countyMapList
.
size
()==
1
){
countyMapGroup
.
put
(
"groupNum"
,
countyMapList
.
get
(
0
).
get
(
"GROUP_NO"
));
...
...
@@ -656,21 +654,20 @@ public class TaskListServiceImpl implements TaskListService {
}
countyMapGroup
.
put
(
"faileCount"
,
faileCount
);
countyMapGroup
.
put
(
"specialCount"
,
specialCount
);
countyMapGroup
.
put
(
"
policeCode"
,
police
Code
);
countyMapGroup
.
put
(
"
countyCode"
,
county
Code
);
countyMapGroup
.
put
(
"taskId"
,
taskId
);
countyMapGroup
.
put
(
"groupList"
,
countyMapList
);
countyMapGroup
.
put
(
"saveDate"
,
submitDate
);
countyMapGroup
.
put
(
"
policeName"
,
police
Name
);
countyMapGroup
.
put
(
"
countyName"
,
county
Name
);
countyMapGroup
.
put
(
"eWriteCount"
,
eWriteCount
);
countyMapGroup
.
put
(
"countyValidCount"
,
validCount
);
countyMapGroup
.
put
(
"countyInvalidCount"
,
invalidCount
);
countyMapGroup
.
put
(
"policeCount"
,
policeCount
);
countyList
.
add
(
countyMapGroup
);
}
mapType
.
put
(
"typeCode"
,
typeName
);
mapType
.
put
(
"typeSum"
,
typeSum
);
mapType
.
put
(
"typeName"
,
type
);
mapType
.
put
(
"
police
List"
,
countyList
);
mapType
.
put
(
"
county
List"
,
countyList
);
typeList
.
add
(
mapType
);
}
return
typeList
;
...
...
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