资源简介
采用java技术构建的一个管理系统。整个开发过程首先对系统进行需求分析,得出系统的主要功能。接着对系统进行总体设计和详细设计。总体设计主要包括系统功能设计、系统总体结构设计、系统数据结构设计和系统安全设计等;详细设计主要包括系统数据库访问的实现,主要功能模块的具体实现,模块实现关键代码等。最后对系统进行功能测试,并对测试结果进行分析总结。
包括程序毕设程序源代码一份,数据库一份,完美运行。配置环境里面有说明。如有不会运行源代码或定制私信。
代码片段和文件信息
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 idModelMap mapHttpSession session){
/* Mapject> bmap=new HashMapject>();
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 requestAllusers allusersHttpSession 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“;
/*}*/
}
// 处理编辑
@RequestMapping(“doUpdateAllusers.do“)
public String doUpdateAllusers(int idModelMap mapAllusers allusers){
allusers=allusersService.getById(id);
map.put(“allusers“ allusers);
return “allusers_updt“;
}
//
@RequestMapping(“updateAllusers.do“)
public String updateAllusers(int idModelMap mapAllusers allusers){
allusersService.update(allusers);
return “redirect:allusersList.do“;
}
// 所有List
// @RequestMapping(“allusersList.do“)
// public String allusersList(ModelMap mapHttpSession session){
// map.put(“list“ allusersService.getAll(null));
// map.put(“clist“ allusersService.getAll(null));
// return “allusers“;
// }
// 分页查询
@RequestMapping(“allusersList.do“)
public String goodList(@RequestParam(value=“page“required=false)String page
ModelMap mapHttpSession sessionAllusers 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);
Mapject> pmap=new Ha
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-08-04 11:51 1041ssm学生宿舍报修系统\
目录 0 2020-03-05 11:19 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\
文件 1052 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.classpath
文件 335 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.myme
文件 66 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.myumldata
文件 1769 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.project
目录 0 2020-03-05 11:19 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\
文件 500 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\.jsdtscope
文件 76 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\com.genuitec.eclipse.migration.prefs
文件 88 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.core.resources.prefs
文件 364 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.jdt.core.prefs
文件 598 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.wst.common.component
文件 345 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2020-08-04 11:45 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\
目录 0 2020-03-05 11:19 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\me
文件 39 2020-03-05 09:17 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\me
目录 0 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\
目录 0 2020-03-05 11:22 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\
文件 3662 2020-03-05 11:22 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\applicationContext.xm
目录 0 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\
目录 0 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\
文件 7327 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\AllusersController.class
文件 16191 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\BaoxiudanController.class
文件 8851 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\BaoxiuleixingController.class
文件 1643 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\IndexController.class
文件 6831 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\LiuyanbanController.class
文件 15942 2020-03-05 12:09 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\PingjiaController.class
文件 5763 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\PinglunController.class
文件 7184 2020-03-05 11:21 1041ssm学生宿舍报修系统\ssmxsssbxxthsg7686B6\WebRoot\WEB-INF\classes\com\controller\ShoucangjiluController.class
............此处省略441个文件信息
评论
共有 条评论