diff --git a/model/新增功能uml图.vsdx b/model/新增功能uml图.vsdx index e957016..7ca5abf 100644 Binary files a/model/新增功能uml图.vsdx and b/model/新增功能uml图.vsdx differ diff --git a/other/LockPicture.png b/other/LockPicture.png new file mode 100644 index 0000000..d8347c3 Binary files /dev/null and b/other/LockPicture.png differ diff --git a/other/unLockPicture.png b/other/unLockPicture.png new file mode 100644 index 0000000..91c21b1 Binary files /dev/null and b/other/unLockPicture.png differ diff --git a/src/data/Notes.java b/src/data/Notes.java index b4f2014..601feeb 100644 --- a/src/data/Notes.java +++ b/src/data/Notes.java @@ -210,21 +210,13 @@ public class Notes { // 定义类,给模块的其他类提供变量定义 */ public static final String LOCKED = "locked"; // 锁定状态 **** - /* - * The password - *

- * Type : TEXT - *

- */ - public static final String PASSWORD = "password"; // 密码 ***** - /* * The picture *

* Type : BLOB *

*/ - public static final String PICTURE = "picture"; // 图片**** + public static final String PICTURE = "picture"; // 图片路径**** } diff --git a/src/data/NotesDatabaseHelper.java b/src/data/NotesDatabaseHelper.java index 9face1f..a1969bf 100644 --- a/src/data/NotesDatabaseHelper.java +++ b/src/data/NotesDatabaseHelper.java @@ -63,7 +63,6 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper { // 该类为便签SQ NoteColumns.VERSION + " INTEGER NOT NULL DEFAULT 0" + NoteColumns.LOCKED + " INTEGER NOT NULL DEFAULT 0" + - NoteColumns.PASSWORD + " TEXT NOT NULL DEFAULT ''," + NoteColumns.PICTURE + " TEXT NOT NULL DEFAULT ''," + ")";