本系统功能包括: 系统管理,招生计划,学生管理,录取结果,自动分配,调剂管理等等。
jdk1.8 + tomcat8.5 + mysql + hbuilderx(webstorm也行)+ eclispe(intellij idea,eclispe,myeclispe,sts都支持)。
springboot + maven + mybatis+ vue 等等组成,b/s模式 + maven管理等等。
学生管理控制层:
@restcontroller@requestmapping("/student")public class studentcontroller { @autowired istudentrvice studentrvice; @requestmapping("/getstudentraw") public jsonrespon getstudentraw(@requestparam(required = fal, defaultvalue = "1") integer currentpage){ if(currentpage == null || currentpage<=0) return new jsonrespon(jsonrespon.invalid_request,null, null); return new jsonrespon(jsonrespon.ok, studentrvice.getstudentraw(currentpage), null); } @requestmapping("/getadjuststudentraw") public jsonrespon getadjuststudentraw(@requestparam(required = fal, defaultvalue = "1") int currentpage){ return new jsonrespon(jsonrespon.ok, studentrvice.getadjuststudentraw(currentpage), null); } @requestmapping("/getexitstudentraw") public jsonrespon getexitstudentraw(@requestparam(required = fal, defaultvalue = "1") int currentpage){ return new jsonrespon(jsonrespon.ok, studentrvice.getexitstudentraw(currentpage), null); } @requestmapping("/doenroll") public jsonrespon doenroll(){ studentrvice.doenroll(); return new jsonrespon(jsonrespon.ok, null, null); } @requestmapping("/doadjust") public jsonrespon doadjust(){ studentrvice.doadjust(); return new jsonrespon(jsonrespon.ok, null, null); } // statisticsresult getresult(int currentpage, boolean desc); @requestmapping("/getresult") public jsonrespon getresult(@requestparam(required = fal, defaultvalue = "1") int currentpage, @re呵护心灵questparam(required = fal, defaultvalue = "fal") boolean desc, queryresultoption option){ return new jsonrespon(jsonrespon.ok, studentrvice.getresult(currentpage, desc, option), null); }// statisticsresult getresultbydepartment( int departmentid, int currentpage, boolean desc); /** * @descriptio腾讯视频设置n t通过学院、专业、排名查询已弃用,请使用上面的getresult * @author 李宏鑫 地理会考 * @param null * @return * @updatetime 2021/1/7 20:53 * @throws */ @requestmapping("/getresultbydepartment") @deprecated public jsonrespon getresultbydepartment(int departmentid, @requestparam(required = fal, defaultvalue = "1") int currentpage, @requestparam(required = fal, defaultvalue = "fal") boolean desc){ return new jsonrespon(jsonrespon.ok, studentrvice.getresultbydepartment(departmentid, currentpage, desc), null); }// statisticsresult getresultbymajor( string majorid, int currentpage, boolean desc); @requestmapping("/getresultbymajor") @deprecated public jsonrespon getresultbymajor(string majorid, @requestparam(required = fal, defaultvalue = "1") int currentpage, @requestparam(required = fal, defaultvalue = "fal") boolean desc){ return new jsonrespon(jsonrespon.ok, studentrvice.getresultbymajor(majorid, currentpage, desc), null); } @requestmapping("/archstudent") @deprecated public jsonrespon archstudent(@requestparam(required = fal, defaultvalue = "1") int currentpage,string keyword){ return new jsonrespon(jsonrespon.ok, studentrvice.archstudent(currentpage,keyword), null); } @requestmapping("/渭河谷地archstudentbycandidate") public jsonrespon archstudentbycandidate(@requestparam(required = fal, defaultvalue = "1") int currentpage,string keyword){ return new jsonrespon(jsonrespon.ok, studentrvice.archstudentbycandidate(currentpage,keyword), null); } @requestmapping("/getstudentbeforerank") public jsonrespon getstudentbeforerank(@requestparam(required = fal, defaultvalue = "1") int currentpage, int rank){ return new jsonrespon(jsonrespon.ok, studentrvice.getstudentbeforerank(currentpage, rank), null); } @requestmapping("/getstatisticsresult") public jsonrespon getstatisticsresult(){ return new jsonrespon(jsonrespon.ok, studentrvice.getstatisticsresult(), null); }// list<map<string, object>> getresultindepartment(int departmentid); @requestmapping("/getstatisticsresultindepartment") public jsonrespon getstatisticsresultindepartment(){ return new jsonrespon(jsonrespon.ok, studentrvice.getstatisticsresultindepartment(), null); }// list<map<string, object>> getresultinmajor(string majorid); @requestmapping("/getstatisticsresultinmajor") public jsonrespon getstatisticsresultinmajor(){ return new jsonrespon(jsonrespon.ok, studentrvice.getstatisticsresultinmajor(), null); } // map<string, integer> getdistribute(); @requestmapping("/getdistribute") public jsonrespon getdistribute(){ return new jsonrespon(jsonrespon.ok, studentrvice.getdistribute(), null); } // map<string, integer> getdistributeinprovince(string province); @requestmapping("/getdistributeinprovince") public jsonrespon getdistributeinprovince(string province){ return new jsonrespon(jsonrespon.ok, studentrvice.getdistributeinprovince(province), null); } // map<string, integer> getgradedistribute(); @requestmapping("/getgradedistribute") public jsonrespon getgradedistribute(){ return new jsonrespon(jsonrespon.ok, studentrvice.getgradedistribute(), null); } // map<string, integer> getgradedistributebydepartment( int departmentid); @requestmapping("/getgradedistributebydepartment") public jsonrespon getgradedistributebydepartment(int departmentid){ return new jsonrespon(jsonrespon.ok, studentrvice.getgradedistributebydepartment(departmentid), null); } // map<string, integer> getgradedistributebymajor(string majorid); @requestmapping("/getgradedistributebymajor") public jsonrespon getgradedistributebymajor(string majorid){ return new jsonrespon(jsonrespon.ok, studentrvice.getgradedistributebymajor(majorid), null); } // map<string, integer> getcountdistributeindepartment(); @requestmapping("/getcountdistributeindepartment") public jsonrespon getcountdistributeindepartment(){ return new jsonrespon(jsonrespon权利的意思.ok, studentrvice.getcountdistributeindepartment(), null); } // map<string, integer> getcountdistributeinmajor(); @requestmapping("/getcountdistributeinmajor") public jsonrespon getcountdistributeinmajor(){ return new jsonrespon(jsonrespon.ok, studentrvice.getcountdistributeinmajor(), null); } // map<string, integer> getcountdistributeinmajorbydepartment(int departmentid); @requestmapping("/getcountdistributeinmajorbydepartment") public jsonrespon getcountdistributeinmajorbydepartment(int departmentid){ return new jsonrespon(jsonrespon.ok, studentrvice.getcountdistributeinmajorbydepartment(departmentid), null); } @requestmapping("/ret") @deprecated public jsonrespon ret(){ studentrvice.ret(); return new jsonrespon(jsonrespon.ok, null, null); } @requestmapping("/formalready") @deprecated public jsonrespon formalready(){ studentrvice.formallyready(); return new jsonrespon(jsonrespon.ok, null, null); }}
登录管理控制层:
@restcontroller@requestmapping("/login")public class logincontroller { @autowired loginproperties properties; @resource(name = "globalstorage") map<string, object> storage; @requestmapping("/dologin") public jsonrespon dologin(string name, string pass, httpssion ssion){ if(properties.getadminname().equals(name) && properties.getadminpass().equals(pass)){ storage.put("authssion", ssion); return new jsonrespon(jsonrespon.ok, null, null); } el { return new jsonrespon(jsonrespon.auth_err, null, "登陆失败"); } } @requestmapping("/checklogin") public jsonrespon checklogin(httpssion ssion){// if (ssion.equals(storage.get("authssion"))){ return new jsonrespon(jsonrespon.ok, null, "已登录");// } el {// return new jsonrespon(jsonrespon.auth_err, null, "未登录");// } } @requestmapping("/logout") public jsonrespon logout(){ storage.remove("authssion"); return new jsonrespon(jsonrespon.ok, null, "注销成功"); }}
文件管理控制层:
@controller@requestmapping("/file")public class filecontroller { @autowired iexcelrvice excelrvice; @responbody @requestmapping("/uploadmajor") public jsonrespon uploadmajorexcel(multipartfile file) throws ioexception { excelrvice.readmajorexcel(file); return new jsonrespon(jsonrespon.ok,null,null); } @responbody @requestmapping("/uploadstudent") public jsonrespon uploadstudentexcel(multipartfile file) throws ioexception { excelrvice.readstudentexcel(file); return new jsonrespon(jsonrespon.ok,null,null); } @requestmapping("/exportresult") public void export(httprvletrespon respon) throws ioexception { respon.tcontenttype("application/vnd.ms-excel"); respon.tcharacterencoding("utf-8"); string filename = urlencoder.encode("录取结果", "utf-8").replaceall("\\+", "%20"); respon.theader("content-disposition", "attachment;filename*=utf-8''" + filename + ".xlsx"); excelrvice.doexport(respon.getoutputstream()); } @requestmapping("/exportexit") public void exportexit(httprvletrespon respon) throws ioexception { respon.tcontenttype("application/vnd.ms-excel"); respon.tcharacterencoding("utf-8"); string filename = urlencoder.encode("退档结果", "utf-8").replaceall("\\+", "%20"); respon.theader("content-disposition", "attachment;filename*=utf-8''" + filename + ".xlsx"); excelrvice.exportexitstudent(respon.getoutputstream()); }}
到此这篇关于java毕业设计实战之平行志愿管理系统的实现的文章就介绍到这了,更多相关java 平行志愿管理内容请搜索www.887551.com以前的文章或继续浏览下面的相关文章希望大家以后多多支持www.887551.com!
本文发布于:2023-04-04 21:55:25,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/42ef257ef7daacf6e3918f0ce5bcfb57.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:Java毕业设计实战之平行志愿管理系统的实现.doc
本文 PDF 下载地址:Java毕业设计实战之平行志愿管理系统的实现.pdf
留言与评论(共有 0 条评论) |