赞
踩
1.显示所有
2.添加功能
3.搜索功能
4.删除功能:(ajax)
5.核对电话是否重复(检查)
-- 建库 CREATE DATABASE resumeSys CHARACTER SET utf8; -- 用库 USE resumeSys; -- 建表 CREATE TABLE RESUME( id INT PRIMARY KEY AUTO_INCREMENT, userName VARCHAR(20) NOT NULL, sex VARCHAR(20) NOT NULL, birth DATE NOT NULL, address VARCHAR(20) NOT NULL, telephone VARCHAR(20) NOT NULL, school VARCHAR(20) NOT NULL, `status` INT NOT NULL COMMENT '1公开,0保密' ); -- 验证 DESC RESUME; -- 添加数据 INSERT INTO RESUME VALUES(NULL,'username','sex','2011-1-1','addresss','phone','school',0); -- 查询数据 SELECT * FROM RESUME;
package bean; import java.util.Date; public class ResumeBean { private int id; private String userName; private String sex; private Date birth; private String address; private String telephone; private String school; private int status; @Override public String toString() { return "ResumeBean{" + "id=" + id + ", userName='" + userName + '\'' + ", sex='" + sex + '\'' + ", birth=" + birth + ", address='" + address + '\'' + ", school='" + school + '\'' + ", status=" + status + '}'; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public Date getBirth() { return birth; } public void setBirth(Date birth) { this.birth = birth; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getTelephone() { return telephone; } public void setTelephone(String telephone) { this.telephone = telephone; } public String getSchool() {
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。