Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
training-project
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
training-project
Commits
ce1367ef
Commit
ce1367ef
authored
Dec 25, 2024
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门户搜素接口
parent
1e236f2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cloud-training-project-service/src/main/java/com/yizhi/training/application/service/impl/TrainingProjectServiceImpl.java
+3
-0
No files found.
cloud-training-project-service/src/main/java/com/yizhi/training/application/service/impl/TrainingProjectServiceImpl.java
View file @
ce1367ef
...
@@ -276,6 +276,9 @@ public class TrainingProjectServiceImpl extends ServiceImpl<TrainingProjectMappe
...
@@ -276,6 +276,9 @@ public class TrainingProjectServiceImpl extends ServiceImpl<TrainingProjectMappe
if
(!
CollectionUtils
.
isEmpty
(
trainingProject
.
getDetailsImage
()))
{
if
(!
CollectionUtils
.
isEmpty
(
trainingProject
.
getDetailsImage
()))
{
TrainingProjectDetailsImage
saveImg
=
new
TrainingProjectDetailsImage
();
TrainingProjectDetailsImage
saveImg
=
new
TrainingProjectDetailsImage
();
Integer
sort
=
trainingProjectDetailsImageMapper
.
selectMaxSort
(
trainingProject
.
getId
());
Integer
sort
=
trainingProjectDetailsImageMapper
.
selectMaxSort
(
trainingProject
.
getId
());
if
(
sort
==
null
){
sort
=
1
;
}
for
(
TrainingProjectDetailsImageVO
item
:
trainingProject
.
getDetailsImage
()){
for
(
TrainingProjectDetailsImageVO
item
:
trainingProject
.
getDetailsImage
()){
if
(
item
.
getId
()
==
null
){
if
(
item
.
getId
()
==
null
){
item
.
setId
(
idGenerator
.
generate
());
item
.
setId
(
idGenerator
.
generate
());
...
...
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