• 大小: 29.39MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-15
  • 语言: Java
  • 标签:

资源简介

采用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-03 16:20  1132ssm火车票售票系统\
     目录           0  2020-03-10 20:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\
     文件        1052  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.classpath
     文件         356  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.mymetadata
     文件          66  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.myumldata
     文件        2031  2020-03-25 16:03  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.project
     目录           0  2020-03-21 17:37  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\
     文件         500  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\.jsdtscope
     文件         162  2020-03-21 19:26  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\.rebel-remote.xml.bak
     文件         819  2020-03-11 10:17  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\.rebel.xml.bak
     文件          76  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\com.genuitec.eclipse.migration.prefs
     文件          88  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.core.resources.prefs
     文件         364  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.jdt.core.prefs
     文件         619  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.wst.common.component
     文件         345  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2020-03-25 16:28  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\
     目录           0  2020-03-10 20:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\meta-INF\
     文件          39  2020-03-10 18:27  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2020-03-10 20:40  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\
     目录           0  2020-03-25 16:03  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\
     文件        3676  2020-03-10 20:43  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\applicationContext.xml
     目录           0  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\
     目录           0  2020-03-21 20:32  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\
     文件        7327  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\AllusersController.class
     文件       15397  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\ChecixinxiController.class
     文件       17938  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\GoupiaoController.class
     文件        1643  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\IndexController.class
     文件        8807  2020-03-12 10:38  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\LeixingxinxiController.class
     文件        6831  2020-03-21 20:37  1132ssm火车票售票系统\ssmhcpspxthsg758hsg7589X3A2\WebRoot\WEB-INF\classes\com\controller\LiuyanbanController.class
............此处省略861个文件信息

评论

共有 条评论