質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,6 +38,8 @@
|
|
38
38
|
|
39
39
|
■■■■■■■■■■■■■■■■■■■■Controller.java■■■■■■■■■■■■■■■■■■■■
|
40
40
|
|
41
|
+
:略
|
42
|
+
|
41
43
|
@Autowired
|
42
44
|
|
43
45
|
private HogeDao HogeDao;
|
@@ -50,19 +52,21 @@
|
|
50
52
|
|
51
53
|
public Optional<Hoge> hogeData() {
|
52
54
|
|
53
|
-
List<Integer>
|
55
|
+
List<Integer> ids = new ArrayList<Integer>();
|
54
56
|
|
55
57
|
Integer fugaId = 10000;
|
56
58
|
|
57
59
|
for (int i = 0; i < 100; i++) {
|
58
60
|
|
59
|
-
|
61
|
+
ids.add(HogeDao.selectById(i, fugaId));
|
60
62
|
|
61
63
|
}
|
62
64
|
|
63
65
|
return null;
|
64
66
|
|
65
67
|
}
|
68
|
+
|
69
|
+
:略
|
66
70
|
|
67
71
|
```
|
68
72
|
|
@@ -71,6 +75,8 @@
|
|
71
75
|
```Java
|
72
76
|
|
73
77
|
■■■■■■■■■■■■■■■■■■■■HogeDao.java■■■■■■■■■■■■■■■■■■■■
|
78
|
+
|
79
|
+
:略
|
74
80
|
|
75
81
|
/**
|
76
82
|
|
@@ -98,6 +104,8 @@
|
|
98
104
|
|
99
105
|
Integer selectById(int i, Integer fugaId);
|
100
106
|
|
107
|
+
:略
|
108
|
+
|
101
109
|
```
|
102
110
|
|
103
111
|
|