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
c3096bc3
Commit
c3096bc3
authored
Sep 07, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改材料附件转换任务
parent
f3f286dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
...m/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
+7
-0
No files found.
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
View file @
c3096bc3
...
...
@@ -107,6 +107,12 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
update
.
setPreviewUrl
(
prePath
+
newName
);
update
.
setUpdateTime
(
new
Date
());
matterDatumFileService
.
update
(
update
);
try
{
log
.
info
(
"事项材料处理暂停20秒"
);
Thread
.
sleep
(
20000
);
}
catch
(
Exception
e
){
log
.
error
(
"文件转换任务休眠失败"
,
e
);
}
}
convertIdList
.
add
(
datumEntity
.
getMatterId
());
}
...
...
@@ -121,6 +127,7 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
updateEntity
.
setIsConvert
(
1
);
updateEntity
.
setUpdateTime
(
new
Date
());
siteMatterService
.
update
(
updateEntity
);
log
.
info
(
"站点事项已更新,id:"
+
matterEntity
.
getId
());
}
}
}
...
...
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