統使用技術:SSM整合
前端技術:js、css、jsp
開發工具:eclipse
資料庫:mysql5.7
專案介紹:
該系統基于SSM整合,mysql資料庫,頁面美觀,功能完善,適合于畢業設計、課程設計、資料庫大作業等,
功能詳情:
系統是一個地方性家教平臺,可自行修改地區,比如改為北京、上海等,系統分為三個角色,分別為教員、學員、以及管理員,
教員:注冊并登錄,注冊后會讓填寫簡歷,登錄后,可以對個人資訊、以及簡歷維護,簡歷必須進行后臺管理員,學員可以根據聯系方式聯系,可以在對應教師下發布評論,教員可以申請學員發布的需求等;
學員:注冊登錄后,可以發布需求、查看發布資訊,可以查看需求的預約記錄,或者修改個人資訊,對教員進行評論、查看公告及新聞等;
管理員:應聘者管理、招聘者管理,對教員及職位下的評論進行管理,公告以及新聞管理,查看登錄日志,審核簡歷以及職位等,
部分功能展示:
下面我們來看看部分相關功能,
系統首頁:

家教價格
查看家教價格資訊

家教教師庫
查看所有已被審核的家教

學員庫
查看所有學員發布的需求

家教詳情
進入家教詳情,查看詳細資訊

學員詳情
查看學員的詳細資訊

新聞
查看管理員發布的新聞資訊

教員個人中心
查看個人資訊,修改密碼,或者查看申請

學員個人中心
查看個人資訊、發布需求、查看預約記錄等

后臺-登錄
管理員登錄界面

后臺-首頁
登錄成功后進入首頁

后臺-應聘者管理
查看應聘者資訊

后臺-招聘者管理
查看招聘者資訊

后臺-評論管理
查看職位或者應聘者下的評論,進行查看或者洗掉

后臺-公告管理
查看公告資訊,或者新增,洗掉

部分代碼:
@RequestMapping(value="/getResumeByid",method=RequestMethod.POST)
@ResponseBody
public Map<String, Object> getResumeByid(@RequestParam("id")int id,HttpSession session){
Map<String, Object> map = new HashMap<String, Object>();
JSONArray array = new JSONArray();
session.setAttribute("commentByResumeID", id);
Resume resume = commonService.getResumeByid(id);
if(resume != null){
//必須已經審核了的
if (resume.getStatue() == 1 ) {
JSONObject object = new JSONObject();
object.put("id", resume.getId());
object.put("name", resume.getName());
object.put("schoolname", resume.getSchoolname());
object.put("education", resume.getEducation());
object.put("major", resume.getMajor());
object.put("createtime", resume.getCreatetime());
object.put("phonenum", resume.getPhonenum()+","+resume.getEmail());
object.put("experience", resume.getExperience());
object.put("sex", resume.getSex());
String[] spilts = resume.getJobintension().split("-");
String pString = spilts[0];
String kemu = "";
for(int i=1;i<spilts.length-1;i++)
{
kemu +=spilts[i]+",";
}
kemu +=spilts[spilts.length-1];
object.put("place", pString);
object.put("kemu", kemu);
array.put(object);
}
}
map.put("resume", array.toString());
System.err.println(array.toString());
return map;
}
//獲取 根據簡歷ID 獲取獲取該老師的評論
@RequestMapping(value="/listCommentsByResumeID",method=RequestMethod.POST)
@ResponseBody
public Map<String, Object> listCommentsByResumeID(HttpSession session){
Map<String, Object> map = new HashMap<String, Object>();
int commentByResumeID = (Integer) session.getAttribute("commentByResumeID");
System.out.println(commentByResumeID);
List<Tcomment> lists = commentService.findTcommentsByResumtID(commentByResumeID);
JSONArray array = new JSONArray();
if(lists!=null){
JSONObject object;
for (Tcomment list : lists) {
object = new JSONObject();
object.put("name", list.getName());
object.put("content", list.getContent());
object.put("createtime", list.getCreatetime());
array.put(object);
}
}
map.put("comments", array.toString());
System.out.println("------"+array.toString());
return map;
}
// 通過 職位id 獲取職位評價
@RequestMapping(value="/listCommentsByPositionID",method=RequestMethod.POST)
@ResponseBody
public Map<String, Object> listCommentsByPositionID(HttpSession session){
Map<String, Object> map = new HashMap<String, Object>();
int commentByPositionID = (Integer) session.getAttribute("commentByPositionID");
System.out.println(commentByPositionID);
List<Tcomment> lists = commentService.findTcommentByPositionID(commentByPositionID);
JSONArray array = new JSONArray();
if(lists!=null){
JSONObject object;
for (Tcomment list : lists) {
object = new JSONObject();
object.put("name", list.getName());
object.put("content", list.getContent());
object.put("createtime", list.getCreatetime());
array.put(object);
}
}
map.put("comments", array.toString());
System.out.println("------"+array.toString());
return map;
}
//增加評論
@RequestMapping(value="/addComment",method=RequestMethod.POST)
@ResponseBody
public Map<String, Object> addComment(@RequestParam("resumeid")int resumeid,@RequestParam("positionid")int positionid,@RequestParam("content")String content,HttpSession session){
Map<String, Object> map = new HashMap<String, Object>();
String username = (String) session.getAttribute("username");
Integer userid = (Integer) session.getAttribute("userid");
if(username !=null&&userid!=null){
commentService.addTcomment(positionid, resumeid, username, content);
// 增加成功
map.put("result", 1);
}else{
// 沒有登錄
map.put("result", 0);
}
return map;
}
以上就是部分功能展示,從整體上來看,本系統功能是十分完整的,界面設計簡潔大方,互動友好,資料庫設計也很合理,規模適中,比較適合畢業設計和課程設計的相關應用,
好了,今天就到這兒吧,小伙伴們點贊、收藏、評論,一鍵三連走起呀,下期見~~
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/294690.html
標籤:其他
