Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_server
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
lmp
lmp_server
Commits
f2107704
Commit
f2107704
authored
Dec 08, 2023
by
linpeiqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小修改
parent
5ec4476b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ModelCompressServiceImpl.java
...e/webadmin/app/service/impl/ModelCompressServiceImpl.java
+2
-2
TuningRunServiceImpl.java
.../yice/webadmin/app/service/impl/TuningRunServiceImpl.java
+4
-2
No files found.
application-webadmin/src/main/java/com/yice/webadmin/app/service/impl/ModelCompressServiceImpl.java
View file @
f2107704
...
...
@@ -151,7 +151,8 @@ public class ModelCompressServiceImpl extends BaseService<ModelCompress, Long> i
log
.
info
(
"发送服务端的消息:"
+
sendJson
.
toJSONString
());
this
.
send
(
sendJson
.
toJSONString
());
}
else
if
(
receiveMsg
.
equals
(
"process_completed"
))
{
if
(
receiveJson
.
getBoolean
(
"success"
)
==
true
){
this
.
close
();
if
(
receiveJson
.
getBoolean
(
"success"
)){
ModelVersion
modelVersionS
=
new
ModelVersion
();
modelVersionS
.
setTaskId
(
modelCompress
.
getTaskId
());
modelVersionS
.
setIsCompress
(
1
);
...
...
@@ -175,7 +176,6 @@ public class ModelCompressServiceImpl extends BaseService<ModelCompress, Long> i
modelManageService
.
saveAndCreateVersion
(
modelManageS
,
modelVersionS
);
}
}
this
.
close
();
}
}
@Override
...
...
application-webadmin/src/main/java/com/yice/webadmin/app/service/impl/TuningRunServiceImpl.java
View file @
f2107704
...
...
@@ -239,7 +239,10 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement
}
log
.
info
(
"发送服务端的消息:"
+
sendJson
.
toJSONString
());
if
(
receiveMsg
.
equals
(
"process_completed"
))
{
if
(
receiveJson
.
getBoolean
(
"success"
)
==
true
){
log
.
info
(
"成功啦!"
);
this
.
close
();
if
(
receiveJson
.
getBoolean
(
"success"
)){
log
.
info
(
"成功啦!!"
);
ModelVersion
modelVersionS
=
new
ModelVersion
();
modelVersionS
.
setRunId
(
tuningRun
.
getRunId
());
modelVersionS
.
setTaskId
(
tuningRun
.
getTaskId
());
...
...
@@ -263,7 +266,6 @@ public class TuningRunServiceImpl extends BaseService<TuningRun, Long> implement
}
else
{
tuningRun
.
setPublishStatus
(-
1
);
}
this
.
close
();
}
}
@Override
...
...
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