Abstract:
With the development of society, all walks of life are taking advantage of the information age. The superiority and popularization of computer make it necessary to develop all kinds of information system. The main modules of the charity donation website system include home page, personal center, user management, charity project category management, charity advertising classification management, charity organization management, charity advertising information management, charity donation project management, charity donation order management, system management and other functions. The system administrator is mainly for the safe and effective storage and management of all kinds of information, but also can manage the system and update maintenance operations, and has the corresponding operation rights on the background. In order to realize the functions of used clothes donation system, it needs the strong support of background database. The administrator verifies the registration information, collects the information, and thus obtains the association information and so on the large amount of data by the database management. In this paper, the database server uses Mysql as the background database, so that the Web and database are closely linked. In the design process, the system code is fully guaranteed to be readable, practical, easy to expand, universal, easy to maintain, easy to operate and simple page characteristics. The development of this system makes it more convenient to obtain the information of old clothes donation system, and also makes the management information of love donation system become more systematic and orderly. The system interface is friendly and easy to operate.
View the full video
Functional design:
Database user entity:
Function screenshots:
System home page: in the system home page you can view the home page, love organizations, love advertising information, love donation projects, love website news, personal center, background management, contact us and other information for detailed operation
Charity organization:
Love organization introduction:
Login and registration:
Public service advertisement:
Donation Items:
Users can donate by clicking on details:
Fill in the donation information: after filling in, the charity organization will approve or disapprove the donation
Public service news information:
User personal Center:
Charity organizations can review the information donated by users:
Background information of the super administrator: administrator login into the system, you can to see all of the information, you can view the home page, personal category center, user management, project management, advertising classification management, organization management, information management, project management, such as order management, system management, and can also carry on the corresponding operation management
Love announcement Type:
Review of donation of love projects: after the charity organization initiates the application, it needs the approval of the administrator to display the love projects on the front page
Viewing donation orders: After the user makes a donation — after the organization approves the donation — the user can view the information about the approved or rejected donation:
Public service News Management:
Home page rotation map:
Key code:
/** * Donation order * back-end interface *@author
* @email
* @dateThe 2022-03-01 19:15:03 * /
@RestController
@RequestMapping("/juanzengdingdan")
public class JuanzengdingdanController {
@Autowired
private JuanzengdingdanService juanzengdingdanService;
/** * Back-end list */
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,JuanzengdingdanEntity juanzengdingdan,
HttpServletRequest request){
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jigou")) {
juanzengdingdan.setJigouzhanghao((String)request.getSession().getAttribute("username"));
}
if(tableName.equals("yonghu")) {
juanzengdingdan.setYonghuzhanghao((String)request.getSession().getAttribute("username"));
}
EntityWrapper<JuanzengdingdanEntity> ew = new EntityWrapper<JuanzengdingdanEntity>();
PageUtils page = juanzengdingdanService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, juanzengdingdan), params), params));
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JuanzengdingdanEntity juanzengdingdan, HttpServletRequest request){
EntityWrapper<JuanzengdingdanEntity> ew = new EntityWrapper<JuanzengdingdanEntity>();
PageUtils page = juanzengdingdanService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, juanzengdingdan), params), params));
return R.ok().put("data", page);
}
/** * list */
@RequestMapping("/lists")
public R list( JuanzengdingdanEntity juanzengdingdan){
EntityWrapper<JuanzengdingdanEntity> ew = new EntityWrapper<JuanzengdingdanEntity>();
ew.allEq(MPUtil.allEQMapPre( juanzengdingdan, "juanzengdingdan"));
return R.ok().put("data", juanzengdingdanService.selectListView(ew));
}
/** * query */
@RequestMapping("/query")
public R query(JuanzengdingdanEntity juanzengdingdan){
EntityWrapper< JuanzengdingdanEntity> ew = new EntityWrapper< JuanzengdingdanEntity>();
ew.allEq(MPUtil.allEQMapPre( juanzengdingdan, "juanzengdingdan"));
JuanzengdingdanView juanzengdingdanView = juanzengdingdanService.selectView(ew);
return R.ok("Query for donation order successful").put("data", juanzengdingdanView);
}
/** ** */
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
JuanzengdingdanEntity juanzengdingdan = juanzengdingdanService.selectById(id);
return R.ok().put("data", juanzengdingdan);
}
/** * Front-end details */
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
JuanzengdingdanEntity juanzengdingdan = juanzengdingdanService.selectById(id);
return R.ok().put("data", juanzengdingdan);
}
/** * The backend saves */
@RequestMapping("/save")
public R save(@RequestBody JuanzengdingdanEntity juanzengdingdan, HttpServletRequest request){
juanzengdingdan.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(juanzengdingdan);
juanzengdingdanService.insert(juanzengdingdan);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody JuanzengdingdanEntity juanzengdingdan, HttpServletRequest request){
juanzengdingdan.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(juanzengdingdan);
juanzengdingdanService.insert(juanzengdingdan);
return R.ok();
}
/** * modify */
@RequestMapping("/update")
public R update(@RequestBody JuanzengdingdanEntity juanzengdingdan, HttpServletRequest request){
//ValidatorUtils.validateEntity(juanzengdingdan);
juanzengdingdanService.updateById(juanzengdingdan);// All updates
return R.ok();
}
/** * delete */
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
juanzengdingdanService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/** * remind interface */
@RequestMapping("/remind/{columnName}/{type}")
public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request,
@PathVariable("type") String type,@RequestParam Map<String, Object> map) {
map.put("column", columnName);
map.put("type", type);
if(type.equals("2")) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar c = Calendar.getInstance();
Date remindStartDate = null;
Date remindEndDate = null;
if(map.get("remindstart")! =null) {
Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindStart);
remindStartDate = c.getTime();
map.put("remindstart", sdf.format(remindStartDate));
}
if(map.get("remindend")! =null) {
Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindEnd);
remindEndDate = c.getTime();
map.put("remindend", sdf.format(remindEndDate));
}
}
Wrapper<JuanzengdingdanEntity> wrapper = new EntityWrapper<JuanzengdingdanEntity>();
if(map.get("remindstart")! =null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")! =null) {
wrapper.le(columnName, map.get("remindend"));
}
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jigou")) {
wrapper.eq("jigouzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("yonghu")) {
wrapper.eq("yonghuzhanghao", (String)request.getSession().getAttribute("username"));
}
int count = juanzengdingdanService.selectCount(wrapper);
return R.ok().put("count", count); }}Copy the code
Thesis Contents:
Pick to
1 System Overview
1.1 an overview of the
1.2 Significance of the project
1.3 Main Contents
2 System development environment
2.1 Spring Boot Framework
2.2 JAVA introduction
2.3 Access database implementation method
2.4 Two connection modes of the MySQL database
2.5 MySql Database
2.6 B/S structure
3 Demand Analysis
3.1 Technical feasibility: Technical background
3.2 Economic Feasibility
3.3 Operation Feasibility
3.4 System design rules
3.5 System flow and logic
4. System outline design
4.1 an overview of the
4.2 System Architecture
4.3. Database design
4.3.1 Database Entities
4.3.2 Database design table
5 Detailed system design
5.1 System Function Modules
5.2 Administrator Function Modules
5.3 Functional module of mechanism
5.4 User Function Modules
6 System Test
6.1 Purpose of system Test
6.2 System test method
6.3 Test Results
conclusion
Thank you
reference
Make a friend:
Everyone likes, favorites, attention, comments, interested and I contact
Clocked articles updated 221/365 days