当前位置:网站首页>基于SSM的大学生社团管理系统

基于SSM的大学生社团管理系统

2022-06-11 03:26:00 Coding路人王

一、基于SSM+Mysql大学生社团管理系统

1.1 项目概述

开发语言:Java8

数据库:Mysql5

前端技术:bootstrap

后端框架:Spring SpringMVC Mybatis 【ORM javabean – 数据库表实体 】

数据库连接池:德鲁伊【JDBC 1 2 3 4 5 】

服务器:Tomcat,SSM SHH【自己部署】

开发工具:Eclipse Navicat Maven

代码设计:MVC HTTP-----> Controlller----->service------>dao【Model】

get post delete put
源码+数据库:https://download.csdn.net/download/wyn_365/85414756

1.2 项目详解

1.登录【正则表达式】

用户名:

密码:

验证码:

1.HTTP地址:post[form] ----Controller

2.首先验证码对不对?

3.通过之后查库

4.查询数据库有没有该用户?

2.注册

1.检验数据格式

2.判断两次密码是否一致

3.form 提交到后台Controller

4.插入数据库

3.展示所有信息,带有条件查询和分页数据

主页面请求:http: /patient/listByPatientName

程序:@RequestMapping(“/patient/listByPatientName”)

SQL: select * from gangwei like % % ;pagehelper;

**4.查询

http: id ------ |detail(${patient.getBaseId()})| ----- “/patient/info/”

程序:patient/info/

SQL: select * from paient where id = ? 关联查询【姓名】

5.转为完成

http  /patient/addCure

6.修改信息

1.slect * from paitent where id = 1

edit(${patient.getBaseId()
/patient/update/    service.findById(id);  patientUpdate

2.update paient set name = “” where id = 1

patient/updatePatient
@Update("update patient set symptoms=#{symptoms},hospital=#{hospital},critical=#{critical},infectionSource=#{infectionSource},onsetDate=#{onsetDate},note=#{note} where baseId=#{baseId}")

7.历史,添加信息

/patient/addTest
 @Insert("insert into inspect(baseId,testDate,ctTest,nuTest)values(#{baseId},#{testDate},#{ctTest},#{nuTest})")

8.实现

1.3 项目总结

1.先看前台发送请求的地方在哪里 http url:

2.后台:controller映射路径

3.解析程序 service 【封装的参数,返回值】

4.dao 方法

5.SQL:

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

原网站

版权声明
本文为[Coding路人王]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wyn_365/article/details/124860671