Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d3440b3f
authored
2025-06-28 17:58:47 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
eb629319
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
View file @
d3440b3
...
...
@@ -76,8 +76,7 @@ public class CourseServiceImpl implements ICourseService {
vo
.
setCaseOssUrl
(
oss
.
getUrl
());
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getTeachingOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getTeachingOssId
()));
vo
.
setTeachingOssUrl
(
oss
.
getUrl
());
vo
.
setTeachingOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getTeachingOssId
()));
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getPptOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getPptOssId
()));
...
...
@@ -116,10 +115,7 @@ public class CourseServiceImpl implements ICourseService {
}
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getTeachingOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getTeachingOssId
()));
if
(
Objects
.
nonNull
(
oss
))
{
vo
.
setTeachingOssUrl
(
oss
.
getUrl
());
}
vo
.
setTeachingOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getTeachingOssId
()));
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getPptOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getPptOssId
()));
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment