Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chuanshan_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
chuanshan_gov_platform
Commits
f9dfd8cc
Commit
f9dfd8cc
authored
Sep 07, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改材料附件转换任务
parent
632f4e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
...m/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
+23
-13
No files found.
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
View file @
f9dfd8cc
...
@@ -107,22 +107,32 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
...
@@ -107,22 +107,32 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
update
.
setUpdateTime
(
new
Date
());
update
.
setUpdateTime
(
new
Date
());
matterDatumFileService
.
update
(
update
);
matterDatumFileService
.
update
(
update
);
}
}
convertIdList
.
add
(
datumEntity
.
getMatterId
());
//convertIdList.add(datumEntity.getMatterId());
SiteMatterQuery
matterQuery
=
new
SiteMatterQuery
();
matterQuery
.
setMatterId
(
datumEntity
.
getMatterId
());
List
<
SiteMatterEntity
>
matterEntities
=
siteMatterService
.
find
(
matterQuery
);
for
(
SiteMatterEntity
matterEntity:
matterEntities
){
SiteMatterEntity
updateEntity
=
new
SiteMatterEntity
();
updateEntity
.
setId
(
matterEntity
.
getId
());
updateEntity
.
setIsConvert
(
1
);
updateEntity
.
setUpdateTime
(
new
Date
());
siteMatterService
.
update
(
updateEntity
);
}
}
}
}
}
}
}
if
(
convertIdList
.
size
()>
0
){
//
if(convertIdList.size()>0){
SiteMatterQuery
matterQuery
=
new
SiteMatterQuery
();
//
SiteMatterQuery matterQuery = new SiteMatterQuery();
matterQuery
.
setMatterIdList
(
convertIdList
);
//
matterQuery.setMatterIdList(convertIdList);
List
<
SiteMatterEntity
>
matterEntities
=
siteMatterService
.
find
(
matterQuery
);
//
List<SiteMatterEntity> matterEntities = siteMatterService.find(matterQuery);
for
(
SiteMatterEntity
matterEntity:
matterEntities
){
//
for(SiteMatterEntity matterEntity:matterEntities){
SiteMatterEntity
updateEntity
=
new
SiteMatterEntity
();
//
SiteMatterEntity updateEntity = new SiteMatterEntity();
updateEntity
.
setId
(
matterEntity
.
getId
());
//
updateEntity.setId(matterEntity.getId());
updateEntity
.
setIsConvert
(
1
);
//
updateEntity.setIsConvert(1);
updateEntity
.
setUpdateTime
(
new
Date
());
//
updateEntity.setUpdateTime(new Date());
siteMatterService
.
update
(
updateEntity
);
//
siteMatterService.update(updateEntity);
}
//
}
}
//
}
}
}
log
.
info
(
"事项材料处理完成..."
);
log
.
info
(
"事项材料处理完成..."
);
}
}
...
...
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