当前位置:网站首页>Management system of College Students' associations based on SSM

Management system of College Students' associations based on SSM

2022-06-11 03:46:00 Coding passerby King

One 、 be based on SSM+Mysql College student association management system

1.1 Description of project

development language :Java8

database :Mysql5

The front-end technology :bootstrap

Back end framework :Spring SpringMVC Mybatis 【ORM javabean – Database table entity 】

Database connection pool : Druid 【JDBC 1 2 3 4 5 】

The server :Tomcat,SSM SHH【 Deploy yourself 】

development tool :Eclipse Navicat Maven

Code design :MVC HTTP-----> Controlller----->service------>dao【Model】

get post delete put
Source code + database :https://download.csdn.net/download/wyn_365/85414756

1.2 Project details

1. Sign in 【 Regular expressions 】

user name :

password :

Verification Code :

1.HTTP Address :post[form] ----Controller

2. First, verify whether the code is correct ?

3. Check the database after passing

4. Query whether the database has this user ?

2. register

1. Inspection data format

2. Determine whether the two passwords are the same

3.form Submit to background Controller

4. Insert database

3. Show all the information , With conditional query and paging data

Main page request :http: /patient/listByPatientName

Program :@RequestMapping(“/patient/listByPatientName”)

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

**4. Inquire about

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

Program :patient/info/

SQL: select * from paient where id = ? Relational query 【 full name 】

5. Turn to complete

http  /patient/addCure

6. Modify the information

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. history , Add information

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

8. Realization

1.3 Project summary

1. First, see where the front desk sends the request http url:

2. backstage :controller The mapping path

3. Parser service 【 Encapsulated parameters , Return value 】

4.dao Method

5.SQL:

 Insert picture description here
 Insert picture description here
 Insert picture description here

 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[Coding passerby King]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206110325565473.html