添加主程序引用数据库
This commit is contained in:
parent
cee0e773c5
commit
5998a21023
@ -10,10 +10,12 @@ import java.time.format.DateTimeFormatter;
|
||||
class TodoListManager {
|
||||
private final List<TodoItem> todoList;
|
||||
private int nextId;
|
||||
// private DatabaseManager dbManager; // 暂时注释掉
|
||||
|
||||
public TodoListManager() {
|
||||
todoList = new ArrayList<>();
|
||||
nextId = 1; // 起始编号
|
||||
// dbManager = new DatabaseManager(); //
|
||||
}
|
||||
|
||||
// 添加待办事项
|
||||
|
Loading…
x
Reference in New Issue
Block a user