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
641a372f
Commit
641a372f
authored
Mar 28, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
879cf19b
b4009e41
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+1
-0
GroupNoMapper.java
src/main/java/com/yxproject/start/mapper/GroupNoMapper.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+0
-7
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
641a372f
...
...
@@ -254,6 +254,7 @@ public class TaskListApi {
JSONObject
jsonObject
=
JSONObject
.
fromObject
(
str
);
String
date
=
jsonObject
.
getString
(
"date"
);
String
name
=
jsonObject
.
getString
(
"name"
);
// JSONArray jsonCounty = jsonObject.getJSONArray("countyList");
JSONArray
jsonGroup
=
jsonObject
.
getJSONArray
(
"groupList"
);
// List<Map<String, Object>> countyList = (List<Map<String, Object>>) jsonCounty;
...
...
src/main/java/com/yxproject/start/mapper/GroupNoMapper.java
View file @
641a372f
...
...
@@ -55,7 +55,7 @@ public interface GroupNoMapper {
"where "
+
// "county_dic.COUNTY_CODE is not null and " +
"ACC_GROUP_T.deal_flag =3 and"
+
" ACC_GROUP_T.group_no in (
#
{groupNo} ) "
)
" ACC_GROUP_T.group_no in (
$
{groupNo} ) "
)
public
List
<
Map
<
String
,
Object
>>
selectGroupAtACCUByGroupNo
(
@Param
(
"groupNo"
)
String
groupNo
);
/**
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
641a372f
...
...
@@ -130,7 +130,6 @@ public class TaskListServiceImpl implements TaskListService {
Map
<
String
,
Object
>
typeMap
=
new
LinkedHashMap
<>();
//将查询出结果 按制证类型分成 Map
for
(
Map
o
:
maps
)
{
System
.
out
.
println
(
o
.
get
(
"GROUP_NO"
)+
"-----------"
);
// 组合JSON
if
(
typeMap
!=
null
&&
typeMap
.
containsKey
(
o
.
get
(
"CARD_TYPE"
)
+
""
))
{
List
<
Map
<
String
,
Object
>>
mapList
=
(
List
<
Map
<
String
,
Object
>>)
typeMap
.
get
(
o
.
get
(
"CARD_TYPE"
)+
""
);
...
...
@@ -151,29 +150,23 @@ public class TaskListServiceImpl implements TaskListService {
if
(
typemap
.
containsKey
(
i
+
""
)){
List
<
Map
<
String
,
Object
>>
maplist
=
(
List
<
Map
<
String
,
Object
>>)
typemap
.
get
(
i
+
""
);
if
(
maplist
.
size
()>=
30
){
System
.
out
.
println
(
"==========="
);
i
++;
List
<
Map
<
String
,
Object
>>
maplist1
=
new
ArrayList
<>();
maplist1
.
add
(
o
);
typemap
.
put
(
i
+
""
,
maplist1
);
continue
;
}
else
{
System
.
out
.
println
(
"------------"
);
maplist
.
add
(
o
);
typemap
.
put
(
i
+
""
,
maplist
);
continue
;
}
}
else
{
System
.
out
.
println
(
"+++++++++++"
);
List
<
Map
<
String
,
Object
>>
maplist
=
new
ArrayList
<>();
maplist
.
add
(
o
);
typemap
.
put
(
i
+
""
,
maplist
);
continue
;
}
// mapList.get(i);
}
typeMap
.
put
(
type
,
typemap
);
}
...
...
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