Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HYH.APSJ
Project
Project
Details
Activity
Releases
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
佟礼
HYH.APSJ
Commits
50fde73c
Commit
50fde73c
authored
Apr 29, 2026
by
DESKTOP-VKRD9QF\Administration
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缩略图速度
parent
074de057
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
235 additions
and
10 deletions
+235
-10
PlanResultService.java
src/main/java/com/aps/service/plan/PlanResultService.java
+226
-3
SceneService.java
src/main/java/com/aps/service/plan/SceneService.java
+9
-7
No files found.
src/main/java/com/aps/service/plan/PlanResultService.java
View file @
50fde73c
This diff is collapsed.
Click to expand it.
src/main/java/com/aps/service/plan/SceneService.java
View file @
50fde73c
...
@@ -63,6 +63,14 @@ public class SceneService {
...
@@ -63,6 +63,14 @@ public class SceneService {
return
new
File
(
resultDir
,
fileName
);
return
new
File
(
resultDir
,
fileName
);
}
}
public
File
getCurrentChromosomeFile
(
String
sceneId
)
{
SceneChromsome
sceneChromsome
=
(
SceneChromsome
)
redisUtils
.
get
(
"SceneId."
+
sceneId
);
if
(
sceneChromsome
==
null
)
{
return
getChromosomeFile
(
sceneId
);
}
return
getChromosomeFile
(
sceneId
,
sceneChromsome
.
getVersion
().
toString
());
}
/**
/**
* 从文件中读取 Chromosome 对象,并拆分文件读取与反序列化耗时。
* 从文件中读取 Chromosome 对象,并拆分文件读取与反序列化耗时。
*/
*/
...
@@ -74,13 +82,7 @@ public class SceneService {
...
@@ -74,13 +82,7 @@ public class SceneService {
try
{
try
{
long
totalStart
=
System
.
nanoTime
();
long
totalStart
=
System
.
nanoTime
();
SceneChromsome
sceneChromsome
=
(
SceneChromsome
)
redisUtils
.
get
(
"SceneId."
+
sceneId
);
File
file
=
getCurrentChromosomeFile
(
sceneId
);
File
file
;
if
(
sceneChromsome
==
null
)
{
file
=
getChromosomeFile
(
sceneId
);
}
else
{
file
=
getChromosomeFile
(
sceneId
,
sceneChromsome
.
getVersion
().
toString
());
}
if
(!
file
.
exists
())
{
if
(!
file
.
exists
())
{
logger
.
warn
(
"染色体文件不存在: {}"
,
file
.
getAbsolutePath
());
logger
.
warn
(
"染色体文件不存在: {}"
,
file
.
getAbsolutePath
());
...
...
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