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
9e39ff1a
Commit
9e39ff1a
authored
Mar 06, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询XML制证信息
parent
a5a0a682
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
FilesMapper.java
src/main/java/com/yxproject/start/mapper/FilesMapper.java
+2
-3
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+5
-1
No files found.
src/main/java/com/yxproject/start/mapper/FilesMapper.java
View file @
9e39ff1a
...
...
@@ -25,7 +25,7 @@ public interface FilesMapper {
"<if test=\"importDate !=null\">"
+
" and to_char(FILES.UPLOAD_DATE,'yyyyMMdd')= #{importDate}"
+
"</if> "
+
"group by FILES.upload_date,FILES.ID) group by upload_date"
+
"group by FILES.upload_date,FILES.ID) group by upload_date
, rownum
"
+
") where rn BETWEEN #{minNum} and #{maxNum} </script>"
)
public
List
<
CountDataEntity
>
selectFiles
(
@Param
(
"importDate"
)
String
importDate
,
@Param
(
"maxNum"
)
long
maxNum
,
@Param
(
"minNum"
)
long
minNum
);
...
...
@@ -46,8 +46,7 @@ public interface FilesMapper {
" and to_char(FILES.UPLOAD_DATE,'yyyyMMdd')= #{importDate}"
+
"</if>"
+
" group by FILES.upload_date,FILES.ID)a"
+
" group by a.upload_date "
+
"select * from PREPRO_PERSON"
+
" group by a.upload_date, rownum "
+
"</script>"
})
public
List
<
CountDataEntity
>
selectFilesCount
(
@Param
(
"importDate"
)
String
importDate
);
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
9e39ff1a
...
...
@@ -72,7 +72,9 @@ public class TaskListServiceImpl implements TaskListService {
List
<
Map
<
String
,
Object
>>
typeList
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
mapList
=
(
List
<
Map
<
String
,
Object
>>)
typeMap
.
get
(
type
);
int
typeSum
=
0
;
String
typeCode
=
null
;
for
(
Map
o:
mapList
)
{
typeCode
=
o
.
get
(
"CARD_TYPE_ID"
).
toString
();
typeSum
+=
Integer
.
valueOf
(
o
.
get
(
"VALID_COUNT"
)
+
""
);
Map
<
String
,
Object
>
countyMap
=
new
LinkedHashMap
<>();
if
(
countyMap
!=
null
&
countyMap
.
containsKey
(
o
.
get
(
"COUNTYNAME"
)+
""
)){
...
...
@@ -93,11 +95,13 @@ public class TaskListServiceImpl implements TaskListService {
countyMap
.
put
(
"countyInvalidCount"
,
Integer
.
valueOf
(
o
.
get
(
"INVALID_COUNT"
)+
""
));
}
countyMap
.
put
(
"countyList"
,
o
);
countyMap
.
put
(
"saveDate"
,
o
.
get
(
"SUBMIT_DATE"
));
typeList
.
add
(
countyMap
);
}
typeMapList
.
put
(
"typeName"
,
type
);
typeMapList
.
put
(
"typeCode"
,
typeCode
);
typeMapList
.
put
(
"typeSum"
,
typeSum
);
typeMapList
.
put
(
"
type
List"
,
typeList
);
typeMapList
.
put
(
"
county
List"
,
typeList
);
list
.
add
(
typeMapList
);
...
...
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