質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,9 +84,7 @@
|
|
84
84
|
|
85
85
|
import java.util.List;
|
86
86
|
import java.util.ArrayList;
|
87
|
-
|
87
|
+
|
88
|
-
// import com.todo3.todo33.entity.TodoLists;
|
89
|
-
//import com.todo3.todo33.entity.TodoContents;
|
90
88
|
|
91
89
|
public class TodoModel {
|
92
90
|
public long list_id;
|
@@ -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();//
|
144
|
+
List<TodoCards> cardsList = todoMapper.selectAllCards();//card_id,card_title,list_id
|
147
|
-
List<TodoContents> contentsList = todoMapper.selectAllContents();//id,ti
|
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
|
|