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
4c07ab9f
Commit
4c07ab9f
authored
Dec 16, 2020
by
liuxinben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成任务单,创建数据合核验报表逻辑修改
parent
50566cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+14
-5
No files found.
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
4c07ab9f
...
...
@@ -759,12 +759,21 @@ public class TaskListServiceImpl implements TaskListService {
groupNoMapper
.
saveGroupNo
(
groupNoEntity
);
}
// 查询数据核验报表信息 并保存数据核验报表
List
<
Map
<
String
,
Object
>>
mapList
=
dataAuditingMapper
.
selectDataAuditingEntity
(
groupNo
);
for
(
Map
<
String
,
Object
>
map
:
mapList
){
// List<Map<String, Object>> mapList = dataAuditingMapper.selectDataAuditingEntity(groupNo);
// for (Map<String, Object> map : mapList){
// DataAuditingEntity dataAuditingEntity = new DataAuditingEntity();
// dataAuditingEntity.setValidCount(Long.valueOf(map.get("INVALID_COUNT")+""));
// dataAuditingEntity.setValidCount(Long.valueOf(map.get("VALID_COUNT")+""));
// dataAuditingEntity.setPoliceSubstation(map.get("POLICE_SUBSTATION")+"");
// dataAuditingEntity.setTaskId(taskEntity.getTaskId());
// dataAuditingMapper.saveDataAuditingEntity(dataAuditingEntity);
// }
for
(
Object
object
:
list
)
{
Map
<
String
,
Object
>
map
=
(
Map
<
String
,
Object
>)
object
;
DataAuditingEntity
dataAuditingEntity
=
new
DataAuditingEntity
();
dataAuditingEntity
.
set
ValidCount
(
Long
.
valueOf
(
map
.
get
(
"INVALID_COUNT"
)+
""
));
dataAuditingEntity
.
setValidCount
(
Long
.
valueOf
(
map
.
get
(
"VALID_COUNT"
)
+
""
));
dataAuditingEntity
.
setPoliceSubstation
(
map
.
get
(
"
POLICE_SUBSTATION"
)+
""
);
dataAuditingEntity
.
set
InvalidCount
(
Long
.
valueOf
(
map
.
get
(
"INVALID_COUNT"
)
+
""
));
dataAuditingEntity
.
setValidCount
(
Long
.
valueOf
(
map
.
get
(
"VALID_COUNT"
)
+
""
));
dataAuditingEntity
.
setPoliceSubstation
(
map
.
get
(
"
COUNTY_CODE"
)
+
""
);
dataAuditingEntity
.
setTaskId
(
taskEntity
.
getTaskId
());
dataAuditingMapper
.
saveDataAuditingEntity
(
dataAuditingEntity
);
}
...
...
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