摘要设计:
当前社会竞争日趋激烈,“找工作难”已成为社会的一大难题。问题的关键在于求职和招聘的人员都陷入了如何找到适合自己的工作以及如何招到合格的人才来填补公司空缺的这一矛盾中。在国内,网络招聘发展迅速。首先因为网上投递的简历比较多,而且应聘者素质较高。还有,网络招聘的优点是快捷,方便,招聘网站所提供的一些服务还可以帮助企业筛选简历,提高企业的工作效率。另外,网络招聘上花的成本远远低于传统的任何一种方式,这也是企业选择网络招聘的一个重要原因。点击查看完整视频https://www.bilibili.com/video/BV12h411b7Hg?spm_id_from=333.999.0.0
系统功能概述:
管理员: 登录注册、招聘信息的发布和管理、企业资料管理、推荐企业管理、求职技巧管理、系统简介管理、关于我们管理、留言板管理、工作地点管理、求职者信息管理、企业信息管理、个人信息管理和修改密码等具体功能设计
企业: 登录注册、招聘信息的发布和管理、企业资料管理、推荐企业查看、求职技巧查看、求职者信息查看、招聘信息查看、企业信息管理和修改密码等
普通用户:登录注册、招聘信息查看、企业资料查看、推荐企业查看、求职技巧查看、求职者信息查看、招聘信息查看以及个人信息和修改等
主要功能截图: 文末获取源码联系
系统主页 :
招聘信息:
企业资料:
企业推荐:
求职技巧:
系统介绍:
留言板:
后台首页:后台功能太多就不一一截图了
主要代码展示:
public class MainCtrl extends HttpServlet {
public MainCtrl() {
super();
}
public void destroy() {
super.destroy(); // Just puts "destroy" string in log
// Put your code here
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
this.doPost(request, response);
}
public void go(String url,HttpServletRequest request, HttpServletResponse response)
{
try {
request.getRequestDispatcher(url).forward(request, response);
} catch (ServletException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
public void gor(String url,HttpServletRequest request, HttpServletResponse response)
{
try {
response.sendRedirect(url);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
HttpSession session = request.getSession();
HashMap user = (HashMap)session.getAttribute("admin");
String ac = request.getParameter("ac");
if(ac==null)ac="";
CommDAO dao = new CommDAO();
String date = Info.getDateStr();
String today = date.substring(0,10);
String tomonth = date.substring(0,7);
if(ac.equals("mlogin"))
{
String username = request.getParameter("uname");
String password = request.getParameter("upass");
List<HashMap> list = dao
.select("select * from sysuser where uname='"
+ username + "'");
if (list.size() == 1) {
HashMap map = list.get(0);
List<HashMap> ulist = dao
.select("select * from sysuser where uname='"
+ username + "' and upass='" + password
+ "'");
if (ulist.size() == 1&& password.equals(map.get("upass").toString())) {
request.getSession().setAttribute("admin", map);
gor("/jsp_qzzp_sys/index.jsp", request, response);
} else {
request.setAttribute("error", "");
go("/index.jsp", request, response);
}
} else {
request.setAttribute("error", "");
go("/index.jsp", request, response);
}
}
//修改密码
if(ac.equals("uppass"))
{
String olduserpass = request.getParameter("olduserpass");
String userpass = request.getParameter("userpass");
String copyuserpass = request.getParameter("copyuserpass");
user = dao.getmap(Info.getUser(request).get("id").toString(), "sysuser");
if(!(((String)user.get("upass")).equals(olduserpass)))
{
request.setAttribute("error", "");
go("/admin/uppass.jsp", request, response);
}else{
String id = (String)user.get("id");
String sql = "update sysuser set upass='"+userpass+"' where id="+id;
dao.commOper(sql);
request.setAttribute("suc", "");
go("/admin/uppass.jsp", request, response);
}
}
if(ac.equals("uploaddoc"))
{
try {
String filename="";
request.setCharacterEncoding("utf-8");
RequestContext requestContext = new ServletRequestContext(request);
if(FileUpload.isMultipartContent(requestContext)){
DiskFileItemFactory factory = new DiskFileItemFactory();
factory.setRepository(new File(request.getRealPath("/upfile/")+"/"));
ServletFileUpload upload = new ServletFileUpload(factory);
upload.setSizeMax(100*1024*1024);
List items = new ArrayList();
items = upload.parseRequest(request);
FileItem fileItem = (FileItem) items.get(0);
if(fileItem.getName()!=null && fileItem.getSize()!=0)
{
if(fileItem.getName()!=null && fileItem.getSize()!=0){
File fullFile = new File(fileItem.getName());
filename = Info.generalFileName(fullFile.getName());
File newFile = new File(request.getRealPath("/upfile/")+"/" + filename);
try {
fileItem.write(newFile);
} catch (Exception e) {
e.printStackTrace();
}
}else{
}
}
}
go("/js/uploaddoc.jsp?docname="+filename, request, response);
} catch (Exception e1) {
e1.printStackTrace();
}
}
public void init() throws ServletException {
// Put your code here
}
public static void main(String[] args) {
System.out.println(new CommDAO().select("select * from mixinfo"));
}
}
主要数据库设计:
CREATE TABLE IF NOT EXISTS `area` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`addr` varchar(255) DEFAULT NULL,
`delstatus` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `emp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uname` varchar(255) DEFAULT NULL,
`tname` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `messages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`saver` varchar(255) DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`resaver` varchar(255) DEFAULT NULL,
`recontent` varchar(255) DEFAULT NULL,
`resavetime` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `fav` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`qzzuname` varchar(255) DEFAULT NULL,
`zpinfoid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `hbnews` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`author` varchar(255) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`content` text DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
`infotype` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `msg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` text DEFAULT NULL,
`qzzuname` varchar(255) DEFAULT NULL,
`qyid` varchar(255) DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `sysuser` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uname` varchar(255) DEFAULT NULL,
`upass` varchar(255) DEFAULT NULL,
`tname` varchar(255) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`sex` varchar(255) DEFAULT NULL,
`qq` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`houhold` varchar(255) DEFAULT NULL,
`addrs` varchar(255) DEFAULT NULL,
`birth` varchar(255) DEFAULT NULL,
`wei` varchar(255) DEFAULT NULL,
`hei` varchar(255) DEFAULT NULL,
`health` varchar(255) DEFAULT NULL,
`tel` varchar(255) DEFAULT NULL,
`school` varchar(255) DEFAULT NULL,
`zy` varchar(255) DEFAULT NULL,
`xl` varchar(255) DEFAULT NULL,
`cbdate` varchar(255) DEFAULT NULL,
`grjs` text DEFAULT NULL,
`grjl` varchar(255) DEFAULT NULL,
`xqah` varchar(255) DEFAULT NULL,
`gzjl` varchar(255) DEFAULT NULL,
`xmjy` varchar(255) DEFAULT NULL,
`wyll` varchar(255) DEFAULT NULL,
`utype` varchar(255) DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
`qzyx` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `yqlj` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ljname` varchar(255) DEFAULT NULL,
`ljurl` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `zpinfo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`zprs` varchar(255) DEFAULT NULL,
`gzdd` varchar(255) DEFAULT NULL,
`xl` varchar(255) DEFAULT NULL,
`jl` varchar(255) DEFAULT NULL,
`infotype` varchar(255) DEFAULT NULL,
`bei` varchar(255) DEFAULT NULL,
`dy` varchar(255) DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
`qyuname` varchar(255) DEFAULT NULL,
`qytname` varchar(255) DEFAULT NULL,
`gznr` text DEFAULT NULL,
`fl` text DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `zdatadic` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`datatype` varchar(255) DEFAULT NULL,
`ptitle` varchar(255) DEFAULT NULL,
`content` text DEFAULT NULL,
`savetime` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
获取完整源码:
大家点赞、收藏、关注、评论啦 、查看👇🏻👇🏻👇🏻微信公众号获取联系👇🏻👇🏻👇🏻
打卡 文章 更新 89/ 100天
精彩专栏推荐: