Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
Ecsite
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shoei.kanno
Ecsite
Commits
730430a0
Commit
730430a0
authored
Oct 20, 2020
by
issei.miyajima
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '管理機能(商品新規登録、編集、削除)' into 'master'
管理機能(商品新規登録、編集、削除) See merge request
!39
parents
cc6b3015
4cfc5454
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ShoesService.java
src/main/java/com/example/service/ShoesService.java
+6
-6
No files found.
src/main/java/com/example/service/ShoesService.java
View file @
730430a0
package
com
.
example
.
service
;
import
java.util.Collections
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -16,11 +15,12 @@ public class ShoesService {
ShoesRepository
shoesRepository
;
public
List
<
Shoes
>
findAll
(){
List
<
Shoes
>
list
=
shoesRepository
.
findAll
();
//並べ替え処理
//Collections.sort(list, Collections.reverseOrder());
//並べ替えたものを返す。
return
list
;
// List<Shoes> list = shoesRepository. findAll();
// //並べ替え処理
// Collections.sort(list, Collections.reverseOrder());
// //並べ替えたものを返す。
// return list;
return
shoesRepository
.
findAll
();
}
public
Shoes
findOne
(
Integer
id
){
...
...
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