基于javaweb+mysql的ssm医院挂号门诊管理系统(java+ssm+jsp+jquery+layui+mysql)
运行环境
Java≥8、MySQL≥5.7、Tomcat≥8
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
基于javaweb+mysql的SSM医院挂号门诊管理系统(java+ssm+jsp+jquery+layui+mysql)
项目介绍
基于SSM的医院门诊挂号系统
角色:管理员、用户、医生
用户登录进入系统可以对主页、个人中心、就诊人建档管理、预约挂号管理、用户退号管理、异常提醒管理、我的收藏管理等功能
管理员登录系统后,可以对主页、个人中心、用户管理、就诊人建档管理、医院介绍管理、科室管理、医生管理、预约挂号管理、用户退号管理、异常提醒管理、留言板、系统管理等功能。
医生登录进入系统可以对主页、个人中心、预约挂号管理、用户退号管理、留言板、系统管理等功能
环境需要
1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。 2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA; 3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可 4.硬件环境:windows 7/8/10 1G内存以上;或者 Mac OS; 5.是否Maven项目: 否;查看源码目录中是否包含pom.xml;若包含,则为maven项目,否则为非maven项目 6.数据库:MySql 5.7/8.0等版本均可;
技术栈
后端:SSM(Spring+SpringMVC+Mybatis) 前端:JSP+CSS+JS+JQUERY+Layui
使用说明
- 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件; 2. 使用IDEA/Eclipse/MyEclipse导入项目,修改配置,运行项目; 3. 将项目中db.xml配置文件中的数据库配置改为自己的配置,然后运行;
file.delete();
personService.deleteByPrimaryKey(id);
return "redirect:/admin/personList";
*//**
* 管理员
*//*
@RequestMapping("/feiyisList")
public String zuopinList(Model model,Feiyis feiyis,@RequestParam(value="page",defaultValue="1")Integer page,String sou) {
feiyis.setState(0);//0为正常 1是管理员下架的
PageInfo<Feiyis> pageInfo = feiyisService.selectFeiyis(feiyis,page,size);
model.addAttribute("feiyiList",pageInfo.getList());
model.addAttribute("pageInfo",pageInfo);
model.addAttribute("feiyis",feiyis);
for (Section section2 : list) {
sectionService.deleteByPrimaryKey(section2.getId());
return "redirect:/admin/sectionList";
@RequestMapping("/bannersPageUpdate")
public String bannersAdd(Model model,Integer id) {
Banners banners = null;
String[] imgnames = null;
if(id == 1){
banners = bannersService.selectByPrimaryKey(1);
if(banners == null){
banners = new Banners();
banners.setId(1);
bannersService.insertSelective(banners);
*用户列表
* @return
*//*
@RequestMapping("/userList")
public String userList(Model model) {
List<User> userlist = usertService.selectFull(null);
model.addAttribute("userlist",userlist);
return "behind/admin/userList";
*//**
*用户删除
* @return
*//*
@RequestMapping("/userDel")
public String userDel(Model model,Integer id) {
@Autowired
private AdminService adminService;
@Autowired
private DoctorService doctorService;
@Autowired
private SectionService sectionService;
@Autowired
private PatientService patientService;
@Autowired
private MessagesService messagesService;
private Integer size = 8;//每页显示数量
/**
@RequestMapping("/sectionxList")
@ResponseBody
public List<Section> sectionxList(Model model, Integer id) {
List<Section> selectByExample = null;
if(id != null) {
Section section = new Section();
section.setPid(id);
selectByExample = sectionService.selectByExample(section)