当前位置:网站首页>Implementation of college logistics repair application system based on SSM
Implementation of college logistics repair application system based on SSM
2022-07-29 10:14:00 【Programming compass】
Author URI : Programming compass
Author's brief introduction :Java Quality creators in the field 、CSDN Blogger 、 Nuggets guest author 、 Years of architect design experience 、 Tencent classroom resident lecturer
primary coverage :Java project 、 Graduation project 、 The resume template 、 Learning materials 、 Interview question bank 、 Technical assistance
Get the source code at the end of the article
Item number :BS-XX-125
One , Project brief introduction
This paper mainly focuses on the research and development of University facility repair , System use SSM Framework development and implementation , Use Maven To manage dependencies in the project , At the same time Spring frame 、Mybatis The framework and SpringMvc Frame technology . In front-end development, we use Jquery+Ajax Technology and Bootstrap frame , It has achieved the repair of various school facilities 、 Maintenance and various information background management functions . This system is simple and easy to understand , It is convenient for users to operate . In addition, the architecture of this system uses the common three-tier development mode in the overall design , At the same time, in order to understand coupling , It also uses Mvc Design patterns , This is mainly to realize the separation of front-end page code . Data storage is used MySql5.7 database . The main process also takes into account the aspects of interaction , It basically conforms to the principle of interactive Standards , The content of the front end is sent to the back end , You will get a very accurate response in a short time , Considering the seriousness of the system , At the same time, it also takes into account the user experience .
This system is based on SSM Realize the logistics repair management function , The front end uses DIV+CSS Layout processing , Use asynchronous request AJAX Send request and receive messages , Database adoption MYSQL, Development tools use IDEA or ECLIPSE, Offer based on MAVEN He Fei MAVEN Two versions are available .
There are three main characters :
- Administrator role :znz / 123456 It can mainly manage user information , Assign maintenance personnel to repair , Announce , Maintenance type management , Personal data modification and other functions
- Ordinary users :20210909/ 123456 It can mainly apply for repair of dormitory problems , Query repair record , Evaluate the repair results , Check the announcement , Modify personal data and other functions
- maintenance staff :WX001/ 123456 You can mainly view the assigned maintenance records , Process the maintenance results , Maintain personal records and other related functions
Two , Introduction to the environment
Language environment :Java: jdk1.8
database :Mysql: mysql5.7
application server :Tomcat: tomcat8.5.31
development tool :IDEA or eclipse
Background development technology :SSM
Foreground development technology :JSP+Jquery+Css+Javaweb
3、 ... and , System display
Here are the functions of the system
Administrator user function

System user management

Maintenance worker management : You can schedule maintenance workers

Student management

Maintenance module management

Maintenance classification management

Announcement management

Repair request management : Assign workers to the repair request

Repair result query

Maintenance Evaluation query

Maintenance worker scheduling

Operation function of maintenance workers after login

The main functions of students after logging in

Four , Core code display
package com.controller;
import java.io.File;
import java.io.IOException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.io.PrintWriter;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
import com.entity.Allusers;
//import com.chengxusheji.po.News;
import com.server.AllusersServer;
import com.util.PageBean;
import net.sf.json.JSONObject;
@Controller
public class AllusersController {
@Resource
private AllusersServer allusersService;
//
@RequestMapping("showAllusers.do")
public String showAllusers(int id,ModelMap map,HttpSession session){
/* Map<String,Object> bmap=new HashMap<String,Object>();
bmap.put("uid", id);*/
// map.put("blist", allusersService.getAll(bmap));
map.put("allusers", allusersService.getById(id));
return "read";
}
@RequestMapping("addAllusers.do")
public String addAllusers(HttpServletRequest request,Allusers allusers,HttpSession session){
Timestamp time=new Timestamp(System.currentTimeMillis());
//Users u=(Users)session.getAttribute("user");
/*if(u==null||u.equals("")){
return "redirect:showIndex.do";
}else{*/
//bbs.setUid(u.getId());
/*bbs.setPubtime(time.toString());
bbs.setIsdel("1");*/
allusers.setAddtime(time.toString().substring(0, 19));
allusersService.add(allusers);
return "redirect:allusersList.do";
/*}*/
}
// Handle editing
@RequestMapping("doUpdateAllusers.do")
public String doUpdateAllusers(int id,ModelMap map,Allusers allusers){
allusers=allusersService.getById(id);
map.put("allusers", allusers);
return "allusers_updt";
}
//
@RequestMapping("updateAllusers.do")
public String updateAllusers(int id,ModelMap map,Allusers allusers){
allusersService.update(allusers);
return "redirect:allusersList.do";
}
// all List
// @RequestMapping("allusersList.do")
// public String allusersList(ModelMap map,HttpSession session){
// map.put("list", allusersService.getAll(null));
// map.put("clist", allusersService.getAll(null));
// return "allusers";
// }
// Paging query
@RequestMapping("allusersList.do")
public String goodList(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Allusers allusers, String username, String pwd, String cx){
/*if(session.getAttribute("user")==null){
return "login";
}*/
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 15);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 15);
Map<String, Object> bmap=new HashMap<String, Object>();
Map<String,Object> cmap=new HashMap<String,Object>();
/*pmap.put("uid", ((Users)session.getAttribute("user")).getId());
bmap.put("uid", ((Users)session.getAttribute("user")).getId());*/
if(username==null||username.equals("")){pmap.put("username", null);cmap.put("username", null);}else{pmap.put("username", username);cmap.put("username", username);}
if(pwd==null||pwd.equals("")){pmap.put("pwd", null);cmap.put("pwd", null);}else{pmap.put("pwd", pwd);cmap.put("pwd", pwd);}
if(cx==null||cx.equals("")){pmap.put("cx", null);cmap.put("cx", null);}else{pmap.put("cx", cx);cmap.put("cx", cx);}
int total=allusersService.getCount(bmap);
pageBean.setTotal(total);
List<Allusers> list=allusersService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "allusers_list";
}
// Paging fuzzy query
@RequestMapping("vagueAllusersList.do")
public String vagueAllusersList(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page),PageBean.PAGESIZE);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", pageBean.getPageSize());
Map<String, Object> bmap=new HashMap<String, Object>();
/*pmap.put("uid", ((Users)session.getAttribute("user")).getId());
bmap.put("uid", ((Users)session.getAttribute("user")).getId());*/
int total=allusersService.getCount(bmap);
pageBean.setTotal(total);
List<Allusers> list=allusersService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 2);
return "queryallusers";
}
@RequestMapping("deleteAllusers.do")
public String deleteAllusers(int id){
allusersService.delete(id);
return "redirect:allusersList.do";
}
@RequestMapping("quchongAllusers.do")
public void quchongAllusers(Allusers allusers,HttpServletResponse response){
Map<String,Object> map=new HashMap<String,Object>();
map.put("username", allusers.getUsername());
System.out.println("username==="+allusers.getUsername());
System.out.println("username222==="+allusersService.quchongAllusers(map));
JSONObject obj=new JSONObject();
if(allusersService.quchongAllusers(map)!=null){
obj.put("info", "ng");
}else{
obj.put("info", "username It can be used !");
}
response.setContentType("text/html;charset=utf-8");
PrintWriter out=null;
try {
out=response.getWriter();
out.print(obj);
out.flush();
} catch (IOException e) {
e.printStackTrace();
}finally{
out.close();
}
}
@RequestMapping("Alluserslogin.do")
public String checkAllusersLogin(Allusers allusers, HttpSession session) {
Map<String,Object> u=new HashMap<String,Object>();
System.out.println("name===" + allusers.getUsername());
u.put("username",allusers.getUsername());
//u.put("utype", " user ");
//Md5.MD5HexEncode(user.getPassword())
u.put("pwd",allusers.getPwd());
allusers = allusersService.allusersLogin(u);
if (allusers != null) {
session.setAttribute("username", allusers);
System.out.println("username=" + allusers);
session.removeAttribute("suc");
return "redirect:index.do";
} else {
System.out.println("usernafwfwwme=");
session.setAttribute("suc", " Login failed ! Wrong user name or password !");
return "login";
}
}
}
package com.controller;
import java.io.File;
import java.io.IOException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.io.PrintWriter;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
import com.entity.Baoxiudan;
import com.server.BaoxiudanServer;
import com.util.PageBean;
import net.sf.json.JSONObject;
import com.util.db;
import java.sql.SQLException;
import java.sql.*;
@Controller
public class BaoxiudanController {
@Resource
private BaoxiudanServer baoxiudanService;
@RequestMapping("addBaoxiudan.do")
public String addBaoxiudan(HttpServletRequest request,Baoxiudan baoxiudan,HttpSession session) throws SQLException{
Timestamp time=new Timestamp(System.currentTimeMillis());
baoxiudan.setAddtime(time.toString().substring(0, 19));
baoxiudanService.add(baoxiudan);
session.setAttribute("backxx", " Add success ");
session.setAttribute("backurl", request.getHeader("Referer"));
//session.setAttribute("backurl", "baoxiudanList.do");
return "redirect:postback.jsp";
//return "redirect:baoxiudanList.do";
}
// Handle editing
@RequestMapping("doUpdateBaoxiudan.do")
public String doUpdateBaoxiudan(int id,ModelMap map,Baoxiudan baoxiudan){
baoxiudan=baoxiudanService.getById(id);
map.put("baoxiudan", baoxiudan);
return "baoxiudan_updt";
}
@RequestMapping("doUpdateBaoxiudanlb.do")
public String doUpdateBaoxiudanlb(int id,ModelMap map,Baoxiudan baoxiudan){
baoxiudan=baoxiudanService.getById(id);
map.put("baoxiudan", baoxiudan);
return "baoxiudan_updtlb";
}
@RequestMapping("updateBaoxiudanlb.do")
public String updateBaoxiudanlb(int id,ModelMap map,Baoxiudan baoxiudan){
baoxiudanService.updatelb(baoxiudan);
return "redirect:baoxiudanList.do";
}
// Background details
@RequestMapping("baoxiudanDetail.do")
public String baoxiudanDetail(int id,ModelMap map,Baoxiudan baoxiudan){
baoxiudan=baoxiudanService.getById(id);
map.put("baoxiudan", baoxiudan);
return "baoxiudan_detail";
}
// Front desk details
@RequestMapping("bxdDetail.do")
public String bxdDetail(int id,ModelMap map,Baoxiudan baoxiudan){
baoxiudan=baoxiudanService.getById(id);
map.put("baoxiudan", baoxiudan);
return "baoxiudandetail";
}
//
@RequestMapping("updateBaoxiudan.do")
public String updateBaoxiudan(int id,ModelMap map,Baoxiudan baoxiudan,HttpServletRequest request,HttpSession session){
baoxiudanService.update(baoxiudan);
session.setAttribute("backxx", " Modification successful ");
session.setAttribute("backurl", request.getHeader("Referer"));
return "redirect:postback.jsp";
//String url = request.getHeader("Referer");
//return "redirect:"+url;
//return "redirect:baoxiudanList.do";
}
// Paging query
@RequestMapping("baoxiudanList.do")
public String baoxiudanList(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_list";
}
@RequestMapping("baoxiudan_yanben1.do")
public String baoxiudan_yanben1(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_yanben1";
}
@RequestMapping("baoxiudan_yanben2.do")
public String baoxiudan_yanben2(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_yanben2";
}
@RequestMapping("baoxiudan_yanben3.do")
public String baoxiudan_yanben3(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_yanben3";
}
@RequestMapping("baoxiudan_yanben4.do")
public String baoxiudan_yanben4(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_yanben4";
}
@RequestMapping("baoxiudan_yanben5.do")
public String baoxiudan_yanben5(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_yanben5";
}
@RequestMapping("baoxiudanList2.do")
public String baoxiudanList2(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh,HttpServletRequest request){
/*if(session.getAttribute("user")==null){
return "login";
}*/
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 15);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 15);
pmap.put("xuehao", (String)request.getSession().getAttribute("username"));
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudan_list2";
}
@RequestMapping("bxdList.do")
public String bxdList(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudanlist";
}
@RequestMapping("bxdListtp.do")
public String bxdListtp(@RequestParam(value="page",required=false)String page,
ModelMap map,HttpSession session,Baoxiudan baoxiudan, String xuehao, String xueshengxingming, String lianxidianhua, String xiaoqu, String louhao, String sushehao, String weixiuleibie, String suoshumokuai, String baoxiuneirong, String guzhangtupian, String zhuangtai, String issh){
if(page==null||page.equals("")){
page="1";
}
PageBean pageBean=new PageBean(Integer.parseInt(page), 8);
Map<String, Object> pmap=new HashMap<String,Object>();
pmap.put("pageno", pageBean.getStart());
pmap.put("pageSize", 8);
if(xuehao==null||xuehao.equals("")){pmap.put("xuehao", null);}else{pmap.put("xuehao", xuehao);}
if(xueshengxingming==null||xueshengxingming.equals("")){pmap.put("xueshengxingming", null);}else{pmap.put("xueshengxingming", xueshengxingming);}
if(lianxidianhua==null||lianxidianhua.equals("")){pmap.put("lianxidianhua", null);}else{pmap.put("lianxidianhua", lianxidianhua);}
if(xiaoqu==null||xiaoqu.equals("")){pmap.put("xiaoqu", null);}else{pmap.put("xiaoqu", xiaoqu);}
if(louhao==null||louhao.equals("")){pmap.put("louhao", null);}else{pmap.put("louhao", louhao);}
if(sushehao==null||sushehao.equals("")){pmap.put("sushehao", null);}else{pmap.put("sushehao", sushehao);}
if(weixiuleibie==null||weixiuleibie.equals("")){pmap.put("weixiuleibie", null);}else{pmap.put("weixiuleibie", weixiuleibie);}
if(suoshumokuai==null||suoshumokuai.equals("")){pmap.put("suoshumokuai", null);}else{pmap.put("suoshumokuai", suoshumokuai);}
if(baoxiuneirong==null||baoxiuneirong.equals("")){pmap.put("baoxiuneirong", null);}else{pmap.put("baoxiuneirong", baoxiuneirong);}
if(guzhangtupian==null||guzhangtupian.equals("")){pmap.put("guzhangtupian", null);}else{pmap.put("guzhangtupian", guzhangtupian);}
if(zhuangtai==null||zhuangtai.equals("")){pmap.put("zhuangtai", null);}else{pmap.put("zhuangtai", zhuangtai);}
int total=baoxiudanService.getCount(pmap);
pageBean.setTotal(total);
List<Baoxiudan> list=baoxiudanService.getByPage(pmap);
map.put("page", pageBean);
map.put("list", list);
session.setAttribute("p", 1);
return "baoxiudanlisttp";
}
@RequestMapping("deleteBaoxiudan.do")
public String deleteBaoxiudan(int id,HttpServletRequest request){
baoxiudanService.delete(id);
String url = request.getHeader("Referer");
return "redirect:"+url;
//return "redirect:baoxiudanList.do";
}
}
5、 ... and , Project summary
In the recent development of informatization 20 Over the years , The informatization construction speed of domestic colleges and universities in China can be said to be developing rapidly , It plays a very important supporting role in teaching, scientific research and administrative management . Informatization has become an indispensable part of the living environment of colleges and universities , And become a powerful lever and important strategic resource to promote the reform and development of colleges and universities . Colleges and universities in developed regions such as the United States have passed IT Introduction of governance concept , Closely integrate the strategic objectives of informatization construction with the strategic objectives of university development , Through the unified planning of school level information construction , Improve infrastructure construction , Create an efficient data exchange platform 、 Establish a variety of security mechanisms and other means , Carry out all-round digital management and service , Turn information technology into excellent resources of the school .
With the development and construction of colleges and universities , Infrastructure is getting richer , The maintenance and repair of various facilities is very cumbersome , How to use information construction means , To improve the maintenance efficiency of these facilities , This is the problem to be solved by this system .
The main purpose of this system is to solve the related teaching facilities of Xiamen Institute of technology in our school 、 Accommodation facilities 、 It is difficult to apply for repair in terms of living facilities , Difficult maintenance problems . In the previous management process , Mainly by calling the repair call to make an appointment to arrange workers to come to the door to deal with and replace the accident . There are several disadvantages in this way : First, repair documents are all manually managed , Inefficient processing ; Second, the data is not precipitated , It is not conducive to the statistics and query of the repair data in the later stage ; Third, the maintenance results cannot be viewed effectively , Track and evaluate the maintenance workers .
These problems can be effectively avoided and solved through the construction of information system . The repair request is reported through the repair request system , The administrator assigns the repair request to relevant workers for processing , Workers take photos after maintenance and update the maintenance status , The repair applicant checks the repair condition and confirms it or requires rework , Then you can evaluate the maintenance results online , The data in the whole process is precipitated in the system , It is very convenient for later data maintenance .
边栏推荐
- Function - (C travel notes)
- 关系型数据库之MySQL8——由内而外的深化全面学习
- MySQL infrastructure: SQL query statement execution process
- Easy to understand and explain the gradient descent method!
- Enterprise architecture | togaf architecture capability framework
- Big cloud service company executives changed: technology gives way to sales
- Vim到底可以配置得多漂亮?
- Tips of Day1 practice in 2022cuda summer training camp
- 我的问题解决记录1:类上使用了@Component注解,想要使用这个类中的方法,便不能直接new,而应该使用# @Autowired进行注入,否则会报错(如空指针异常等)
- ECCV 2022 | CMU提出在视觉Transformer上进行递归,不增参数,计算量还少
猜你喜欢

Function - (C travel notes)
![[HFCTF 2021 Final]easyflask](/img/58/8113cafae8aeafcb1c9ad09eefd30f.jpg)
[HFCTF 2021 Final]easyflask

How can Plato obtain premium income through elephant swap in a bear market?

This developer, who has been on the list for four consecutive weeks, has lived like a contemporary college student

ORBSLAM2安装测试,及各种问题汇总

SAP Fiori @OData. Analysis of the working principle of publish annotation
![[HFCTF 2021 Final]easyflask](/img/58/8113cafae8aeafcb1c9ad09eefd30f.jpg)
[HFCTF 2021 Final]easyflask

Unity3d empty package APK error summary

"Focus on machines": Zhu Songchun's team built a two-way value alignment system between people and robots to solve major challenges in the field of human-computer cooperation
![[C language] minesweeping (recursive expansion + marking function)](/img/f6/835ac4ba6588fa61edb30446f4c708.png)
[C language] minesweeping (recursive expansion + marking function)
随机推荐
Is it safe to open an account online now? Do you want to know that you must go to the business hall to open an account now?
根据给定字符数和字符,打印输出“沙漏”和剩余数
皕杰报表之文本附件属件
[Yugong series] go teaching course 009 in July 2022 - floating point type of data type
Dimensionality reduction and mathematical modeling after reading blog!
[HFCTF 2021 Final]easyflask
Summary of window system operation skills
通俗易懂讲解梯度下降法!
[Yugong series] go teaching course 010 in July 2022 - Boolean and character types of data types
[jetson][转载]jetson上安装pycharm
[dark horse morning post] Youxian responded to the dissolution every day, and many places have been unable to place orders; Li Bin said that Wei Lai will produce a mobile phone every year; Li Ka Shing
Talk about multithreaded concurrent programming from a different perspective without heap concept
Orbslam2 installation test and summary of various problems
Implementation and verification logic of complex expression input component
After E-sports enters Asia, will Tencent be the next "NBA game catcher"?
Several common design methods of test cases [easy to understand]
2021年CS保研经历(六):系统填报 + 一些感想
【黑马早报】每日优鲜回应解散,多地已无法下单;李斌称蔚来将每年出一部手机;李嘉诚欲抄底恒大香港总部大楼;今年国庆休7天上7天...
Unity3d空包打apk报错汇总
10 suggestions for 10x improvement of application performance