Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 601ac13a
authored
Jul 12, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-dingwf-0715' into develop
2 parents
f7427bee
528a3fe4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/SkillInfoDao.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/PublicServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dao/SkillInfoDao.java
View file @
601ac13
...
...
@@ -6,5 +6,5 @@ import org.springframework.data.jpa.repository.JpaRepository;
import
java.util.List
;
public
interface
SkillInfoDao
extends
JpaRepository
<
SkillInfoEntity
,
Long
>
{
List
<
SkillInfoEntity
>
get
All
();
List
<
SkillInfoEntity
>
find
All
();
}
project-order/src/main/java/com/dituhui/pea/order/service/impl/PublicServiceImpl.java
View file @
601ac13
...
...
@@ -51,7 +51,7 @@ public class PublicServiceImpl implements PublicService {
@Override
public
Result
<?>
getSkillTree
()
{
List
<
PublicSkillTreeDTO
.
Content
>
contents
=
skillInfoDao
.
get
All
().
stream
().
map
(
entity
->
{
List
<
PublicSkillTreeDTO
.
Content
>
contents
=
skillInfoDao
.
find
All
().
stream
().
map
(
entity
->
{
return
new
PublicSkillTreeDTO
.
Content
()
.
setBrand
(
entity
.
getBrand
())
.
setType
(
entity
.
getType
())
...
...
Write
Preview
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