From db6534a75152dfe17b31a46a08cc77be839c08f6 Mon Sep 17 00:00:00 2001 From: SheYu <2893251844@qq.com> Date: Mon, 25 Dec 2023 00:11:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 3 +++ .idea/MiNotes.iml | 9 +++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ .../main/java/net/micode/notes/data/Contact.java | 13 +++++++++++-- 5 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/MiNotes.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/MiNotes.iml b/.idea/MiNotes.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/MiNotes.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..a8791f5 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/Notes-master1/app/src/main/java/net/micode/notes/data/Contact.java b/src/Notes-master1/app/src/main/java/net/micode/notes/data/Contact.java index 1400dee..95d8bce 100644 --- a/src/Notes-master1/app/src/main/java/net/micode/notes/data/Contact.java +++ b/src/Notes-master1/app/src/main/java/net/micode/notes/data/Contact.java @@ -27,7 +27,7 @@ import java.util.HashMap; /** * @Package: net.micode.notes.data * @ClassName: Contact - * @Description: java类作用描述 + * @Description: * @Author: WUSHUXIAN * @CreateDate: 2023/12/20 23:26 * @Version: 1.0 @@ -42,8 +42,17 @@ public class Contact { + "(SELECT raw_contact_id " + " FROM phone_lookup" + " WHERE min_match = '+')"; - + /** + * @method getContact + * @description: + * @date: 2023/12/21 19:18 + * @author: WuShuxian + * @param: context + * @param: phoneNumber + * @return: String + */ public static String getContact(Context context, String phoneNumber) { + // if(sContactCache == null) { sContactCache = new HashMap(); }