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
691236a0
authored
2025-07-01 21:18:38 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
758cd133
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
lego-core/src/main/java/com/lego/core/service/impl/EntiretyServiceImpl.java
lego-core/src/main/java/com/lego/core/service/impl/EntiretyServiceImpl.java
View file @
691236a
...
...
@@ -94,14 +94,12 @@ public class EntiretyServiceImpl implements IEntiretyService {
List
<
EntiretyVo
>
list
=
baseMapper
.
selectVoList
(
Wrappers
.<
Entirety
>
lambdaQuery
().
eq
(
Entirety:
:
getLanguage
,
language
).
orderByAsc
(
Entirety:
:
getSort
));
for
(
EntiretyVo
vo:
list
){
if
(
StrUtil
.
isNotBlank
(
vo
.
getOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getOssId
()));
vo
.
setOssUrl
(
oss
.
getUrl
());
vo
.
setOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getOssId
()));
}
List
<
BuildingBlockVo
>
buildingBlockVoList
=
buildingBlockMapper
.
selectVoList
(
Wrappers
.<
BuildingBlock
>
lambdaQuery
().
eq
(
BuildingBlock:
:
getLanguage
,
language
).
eq
(
BuildingBlock:
:
getEntiretyId
,
vo
.
getId
()));
for
(
BuildingBlockVo
blockVo:
buildingBlockVoList
){
if
(
StrUtil
.
isNotBlank
(
blockVo
.
getOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
blockVo
.
getOssId
()));
vo
.
setOssUrl
(
oss
.
getUrl
());
vo
.
setOssUrl
(
ossUrlService
.
selectUrlByIds
(
blockVo
.
getOssId
()));
}
}
vo
.
setBuildingblockList
(
buildingBlockVoList
);
...
...
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