diff --git a/PinpinSystem/.classpath b/PinpinSystem/.classpath
new file mode 100644
index 0000000..2045a0d
--- /dev/null
+++ b/PinpinSystem/.classpath
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PinpinSystem/.project b/PinpinSystem/.project
new file mode 100644
index 0000000..be9330d
--- /dev/null
+++ b/PinpinSystem/.project
@@ -0,0 +1,17 @@
+
+
+ PinpinSystem
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/PinpinSystem/.settings/org.eclipse.core.resources.prefs b/PinpinSystem/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/PinpinSystem/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/PinpinSystem/.settings/org.eclipse.jdt.core.prefs b/PinpinSystem/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..8c9943d
--- /dev/null
+++ b/PinpinSystem/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,14 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/PinpinSystem/bin/com/hm/bean/Pinpin.class b/PinpinSystem/bin/com/hm/bean/Pinpin.class
new file mode 100644
index 0000000..5f5d2ba
Binary files /dev/null and b/PinpinSystem/bin/com/hm/bean/Pinpin.class differ
diff --git a/PinpinSystem/bin/com/hm/dao/PinpinDao.class b/PinpinSystem/bin/com/hm/dao/PinpinDao.class
new file mode 100644
index 0000000..c67152f
Binary files /dev/null and b/PinpinSystem/bin/com/hm/dao/PinpinDao.class differ
diff --git a/PinpinSystem/bin/com/hm/demo/JdbcDemo.class b/PinpinSystem/bin/com/hm/demo/JdbcDemo.class
new file mode 100644
index 0000000..9c55c12
Binary files /dev/null and b/PinpinSystem/bin/com/hm/demo/JdbcDemo.class differ
diff --git a/PinpinSystem/bin/com/hm/demo/PinpinDaoDemo.class b/PinpinSystem/bin/com/hm/demo/PinpinDaoDemo.class
new file mode 100644
index 0000000..ef5f977
Binary files /dev/null and b/PinpinSystem/bin/com/hm/demo/PinpinDaoDemo.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/AddFrame.class b/PinpinSystem/bin/com/hm/ui/AddFrame.class
new file mode 100644
index 0000000..58b833a
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/AddFrame.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/Login.class b/PinpinSystem/bin/com/hm/ui/Login.class
new file mode 100644
index 0000000..62ef4ab
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/Login.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/MainFrame.class b/PinpinSystem/bin/com/hm/ui/MainFrame.class
new file mode 100644
index 0000000..5300386
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/MainFrame.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/Register.class b/PinpinSystem/bin/com/hm/ui/Register.class
new file mode 100644
index 0000000..9d552f0
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/Register.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/System.class b/PinpinSystem/bin/com/hm/ui/System.class
new file mode 100644
index 0000000..544f4c0
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/System.class differ
diff --git a/PinpinSystem/bin/com/hm/ui/UpdateFrame.class b/PinpinSystem/bin/com/hm/ui/UpdateFrame.class
new file mode 100644
index 0000000..54979d4
Binary files /dev/null and b/PinpinSystem/bin/com/hm/ui/UpdateFrame.class differ
diff --git a/PinpinSystem/bin/com/hm/util/DBUtil.class b/PinpinSystem/bin/com/hm/util/DBUtil.class
new file mode 100644
index 0000000..b937334
Binary files /dev/null and b/PinpinSystem/bin/com/hm/util/DBUtil.class differ
diff --git a/PinpinSystem/bin/mysql-connector-java-5.1.26.jar b/PinpinSystem/bin/mysql-connector-java-5.1.26.jar
new file mode 100644
index 0000000..043469f
Binary files /dev/null and b/PinpinSystem/bin/mysql-connector-java-5.1.26.jar differ
diff --git a/PinpinSystem/lib/mysql-connector-java-5.1.26.jar b/PinpinSystem/lib/mysql-connector-java-5.1.26.jar
new file mode 100644
index 0000000..043469f
Binary files /dev/null and b/PinpinSystem/lib/mysql-connector-java-5.1.26.jar differ
diff --git a/PinpinSystem/src/com/hm/bean/Pinpin.java b/PinpinSystem/src/com/hm/bean/Pinpin.java
new file mode 100644
index 0000000..04b3360
--- /dev/null
+++ b/PinpinSystem/src/com/hm/bean/Pinpin.java
@@ -0,0 +1,79 @@
+package com.hm.bean;
+
+import java.util.Objects;
+
+public class Pinpin {
+ private int id;
+ private String name;
+ private String press;
+ private String time;
+ private int num;
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId(int id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPress() {
+ return press;
+ }
+
+ public void setPress(String press) {
+ this.press = press;
+ }
+
+
+ public String getTime() {
+ return time;
+ }
+
+ public void setTime(String time) {
+ this.time = time;
+ }
+
+ public int getNum() {
+ return num;
+ }
+
+ public void setNum(int num) {
+ this.num = num;
+ }
+
+
+ @Override
+ public String toString() {
+ return "Book [id=" + id + ", name=" + name + ", press=" + press + ", time=" + time + ", num="
+ + num + "]";
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(name);
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ Pinpin other = (Pinpin) obj;
+ return Objects.equals(name, other.name);
+ }
+
+
+
+}
diff --git a/PinpinSystem/src/com/hm/dao/PinpinDao.java b/PinpinSystem/src/com/hm/dao/PinpinDao.java
new file mode 100644
index 0000000..c6d27c4
--- /dev/null
+++ b/PinpinSystem/src/com/hm/dao/PinpinDao.java
@@ -0,0 +1,193 @@
+package com.hm.dao;
+
+import java.sql.Connection;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.ArrayList;
+
+import com.hm.bean.Pinpin;
+import com.hm.util.DBUtil;
+
+public class PinpinDao {
+
+ //添加操作
+ public int add(Pinpin b) {
+ //获取连接对象
+ Connection conn = DBUtil.getConn();
+ String sql="insert into pinpin values(null,?,?,?,?)";
+ int i = 0;
+ try {
+ PreparedStatement ps=conn.prepareStatement(sql);
+ ps.setString(1, b.getName());
+ ps.setString(2, b.getPress());
+ ps.setString(3, b.getTime());
+ ps.setInt(4, b.getNum());
+ i = ps.executeUpdate();
+ } catch (SQLException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ return i;
+ }
+
+
+ //查询全部
+ public ArrayList select (Pinpin b){
+ Connection conn = DBUtil.getConn();
+ String sql = "select * from book where 1=1";
+ ArrayList