質問編集履歴
1
intを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
|
20
20
|
dbRes = dbStatement.executeQuery(sql);
|
21
21
|
|
22
|
+
int new_food_id = 0;
|
22
23
|
if (dbRes.first() == true) {
|
23
24
|
new_food_id = dbRes.getInt("max_food_id") + 1;
|
24
25
|
}
|