当前位置:网站首页>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 .
边栏推荐
- "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
- 跟着田老师学实用英语语法(持续更新)
- Where are those test / development programmers in their 30s? a man should be independent at the age of thirty......
- 转转push的演化之路
- 那句话的作用
- 【配置相关】
- On memory computing integrated chip technology
- SAP Fiori @OData. Analysis of the working principle of publish annotation
- After E-sports enters Asia, will Tencent be the next "NBA game catcher"?
- Uniswap entered the NFT trading market and opensea took the lead
猜你喜欢

Problems and solutions of introducing redis cache

Print out the "hourglass" and the remaining number according to the given number of characters and characters

ECCV 2022 | CMU提出在视觉Transformer上进行递归,不增参数,计算量还少

Orbslam2 installation test and summary of various problems

静态资源映射
![[AAAI] attention based spatiotemporal graph convolution network for traffic flow prediction](/img/3d/717bc3a47a58470edd7a815a976320.png)
[AAAI] attention based spatiotemporal graph convolution network for traffic flow prediction

The latest translated official pytorch easy introduction tutorial (pytorch version 1.0)

函数——(C游记)

【论文阅读】Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT

消费电子,冻死在夏天
随机推荐
Comprehensively design an oppe home page -- the bottom of the page
Science fiction style, standard 6 airbags, popular · yachts from 119900
[jetson][转载]jetson上安装pycharm
Solve problems intelligently
Be tolerant and generous
leetcode刷题——排序
什么是卡特兰数?有哪些应用?
Unity3d空包打apk报错汇总
[Yugong series] go teaching course 009 in July 2022 - floating point type of data type
How can Plato obtain premium income through elephant swap in a bear market?
【AAAI】用于交通流预测的基于注意力的时空图卷积网络
Unity3d empty package APK error summary
MySQL logging system: binlog, redo log and undo log
综合设计一个OPPE主页--页面的底部
mosquitto_sub -F 参数使用
这是一份不完整的数据竞赛年鉴!
SAP Fiori @OData. Analysis of the working principle of publish annotation
[HFCTF 2021 Final]easyflask
网络图片转换本地图片 - 默认值或快捷键
转转push的演化之路