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
d87f5b65
Commit
d87f5b65
authored
Sep 06, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单事项,辅助接件事项材料列表查询方法subList优化;材料附件下载到本地以及转换预览图片方法修改
parent
c47c661c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
...m/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
+3
-0
No files found.
single-matter/src/main/java/com/mortals/xhx/daemon/task/MatterDatumConvertTaskImpl.java
View file @
d87f5b65
...
...
@@ -28,6 +28,7 @@ import org.springframework.stereotype.Service;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
...
...
@@ -103,6 +104,7 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
update
.
setLocalFileUrl
(
savePath
+
fileName
);
String
newName
=
genPreviewPath
(
rootPath
,
prePath
,
savePath
+
fileName
);
update
.
setPreviewUrl
(
prePath
+
newName
);
update
.
setUpdateTime
(
new
Date
());
matterDatumFileService
.
update
(
update
);
}
convertIdList
.
add
(
datumEntity
.
getMatterId
());
...
...
@@ -117,6 +119,7 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
SiteMatterEntity
updateEntity
=
new
SiteMatterEntity
();
updateEntity
.
setId
(
matterEntity
.
getId
());
updateEntity
.
setIsConvert
(
1
);
updateEntity
.
setUpdateTime
(
new
Date
());
siteMatterService
.
update
(
updateEntity
);
}
}
...
...
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