質問するログイン新規登録

質問編集履歴

1

修正

2022/06/21 15:43

投稿

shu_shu_
shu_shu_

スコア15

title CHANGED
File without changes
body CHANGED
@@ -84,10 +84,8 @@
84
84
 
85
85
  import java.util.List;
86
86
  import java.util.ArrayList;
87
- // import com.todo3.todo33.entity.TodoCards;
88
- // import com.todo3.todo33.entity.TodoLists;
89
- //import com.todo3.todo33.entity.TodoContents;
90
87
 
88
+
91
89
  public class TodoModel {
92
90
  public long list_id;
93
91
  public String list_title;
@@ -143,8 +141,8 @@
143
141
  public ResponseEntity<List<TodoModel>> getTodo(){
144
142
 
145
143
  List<TodoLists> lists = todoMapper.selectAllLists();//id,title
146
- List<TodoCards> cardsList = todoMapper.selectAllCards();//task_id,card_title,list_id
144
+ List<TodoCards> cardsList = todoMapper.selectAllCards();//card_id,card_title,list_id
147
- List<TodoContents> contentsList = todoMapper.selectAllContents();//id,title
145
+ List<TodoContents> contentsList = todoMapper.selectAllContents();//content_id,content,card_id
148
146
  List<TodoModel> tmpList = new ArrayList<TodoModel>();
149
147
  //List<Card> tmpcard = new ArrayList<Card>();
150
148