springboot基于java的融合多源高校画像数据与协同过滤算法的高考择校推荐系统(源码+文档+调试+vue+前后端分离)

收藏关注不迷路!!

🌟文末获取源码+数据库🌟

感兴趣的可以先收藏起来,还有大家在毕设选题(免费咨询指导选题),项目以及论文编写等相关问题都可以给我留言咨询,希望帮助更多的人


前言

高考择校的学生越来越多使得高考择校推荐系统成为了一个必不可少的工具。基于Java的高考择校推荐系统旨在提供高效、准确和便捷的高考择校推荐系统管理和资料服务。本文讲述了基于java语言开发,后台数据库选择MySQL进行数据的存储。该软件的主要功能是进行高考择校推荐系统的管理。主要包括用户管理、地区管理、院校信息管理、专业资讯管理、院校类型管理、成绩查询管理、志愿类型管理、志愿填报管理、在线交流、系统管理、我的信息等。本文主要介绍了该应用的设计初衷、功能实现的大致过程,详细说明了高考择校推荐系统设计思想、数据库的开发设计和功能模块的设计。高考择校推荐系统具有良好的可扩展性和稳定性,能够适应不同用户和需求的高考择校推荐系统。它提供了一种高效、自动化的方式来管理高考择校推荐系统平台。

详细视频演示

文章底部名片,联系我看更详细的演示视频

一、项目介绍

开发语言:Java
框架:springboot
JDK版本:JDK1.8
服务器:tomcat7
数据库:mysql
数据库工具:Navicat11
开发软件:eclipse/myeclipse/idea
Maven包:Maven

————————————————

二、功能介绍

本系统分为两大模块——管理员模块、用户模块。通过这些模块可以完成以下的基本功能:
管理员功能包括对用户管理、地区管理、院校信息管理、专业资讯管理、院校类型管理、成绩查询管理、志愿类型管理、志愿填报管理、在线交流、系统管理、我的信息等进行操作。
用户注册登录进入系统可以对个人中心、修改密码、成绩查询、志愿填报、我的发布、我的收藏等功能进行详细操作。
在这里插入图片描述

图4-1 系统总体功能结构图

三、核心代码

部分代码:


package com.example.controller;

import cn.hutool.core.util.StrUtil;
import cn.hutool.crypto.SecureUtil;
import com.example.common.Result;
import com.example.common.ResultCode;
import com.example.entity.Caiwu;
import com.example.exception.CustomException;
import com.example.service.CaiwuService;
import com.example.utils.MapWrapperUtils;
import com.example.utils.jwt.JwtUtil;
import com.example.vo.CaiwuVo;
import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping(value = "/caiwu")
public class CaiwuController {

    @Resource
    private CaiwuService caiwuService;

    @PostMapping
    public Result<Caiwu> add(@RequestBody CaiwuVo caiwu) {
        caiwuService.add(caiwu);
           return Result.success(caiwu);
    }
	
	

    @PostMapping("/deleteList")
    public Result<Caiwu> deleteList(@RequestBody CaiwuVo caiwu) {
        caiwuService.deleteList(caiwu.getList());
        return Result.success();
    }

    @DeleteMapping("/{id}")
    public Result delete(@PathVariable Long id) {
        caiwuService.delete(id);
        return Result.success();
    }

    @PutMapping
    public Result update(@RequestBody CaiwuVo caiwu) {
        caiwuService.update(caiwu);
        return Result.success();
    }

    @GetMapping("/{id}")
    public Result<Caiwu> detail(@PathVariable Integer id) {
        Caiwu caiwu = caiwuService.findById(id);
        return Result.success(caiwu);
    }

    @GetMapping
    public Result<List<Caiwu>> all() {
        return Result.success(caiwuService.list());
    }

    @PostMapping("/page")
    public Result<CaiwuVo> page(@RequestBody CaiwuVo caiwuVo) {
        return Result.success(caiwuService.findPage(caiwuVo));
    }
	    @PostMapping("/login")
    public Result login(@RequestBody Caiwu caiwu, HttpServletRequest request) {
        if (StrUtil.isBlank(caiwu.getZhanghao()) || StrUtil.isBlank(caiwu.getMima())) {
            throw new CustomException(ResultCode.PARAM_LOST_ERROR);
        }
        Caiwu login = caiwuService.login(caiwu);
//        if(!login.getStatus()){
//            return Result.error("1001","状态限制,无法登录系统");
//        }
        if(login != null) {
            HashMap hashMap = new HashMap();
            hashMap.put("user", login);
            Map<String, Object> map = MapWrapperUtils.builder(MapWrapperUtils.KEY_USER_ID,caiwu.getId());
            String token = JwtUtil.creatToken(map);
            hashMap.put("token", token);
            return Result.success(hashMap);
        }else {
            return Result.error();
        }
    }
    @PutMapping("/updatePassword")
    public Result updatePassword(@RequestBody Caiwu info, HttpServletRequest request) {
        Caiwu caiwu = caiwuService.findById(info.getId());
        String oldPassword = SecureUtil.md5(info.getMima());
        if (!oldPassword.equals(caiwu.getMima())) {
            return Result.error(ResultCode.PARAM_PASSWORD_ERROR.code, ResultCode.PARAM_PASSWORD_ERROR.msg);
        }
        info.setMima(SecureUtil.md5(info.getNewPassword()));
        Caiwu caiwu1 = new Caiwu();
        BeanUtils.copyProperties(info, caiwu1);
        caiwuService.update(caiwu1);
        return Result.success();
    }
}

数据库参考


--
-- Current Database: `springboot56wiknz7`
--

/*!40000 DROP DATABASE IF EXISTS `springboot56wiknz7`*/;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `springboot56wiknz7` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;

USE `springboot56wiknz7`;

--
-- Table structure for table `chengjichaxun`
--

DROP TABLE IF EXISTS `chengjichaxun`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chengjichaxun` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gaokaochengji` double DEFAULT NULL COMMENT '高考成绩',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
  `xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
  `touxiang` longtext COMMENT '头像',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COMMENT='成绩查询';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chengjichaxun`
--

LOCK TABLES `chengjichaxun` WRITE;
/*!40000 ALTER TABLE `chengjichaxun` DISABLE KEYS */;
INSERT INTO `chengjichaxun` VALUES (61,'2024-03-29 09:41:14',1,'学号1','姓名1','性别1','upload/chengjichaxun_touxiang1.jpg,upload/chengjichaxun_touxiang2.jpg,upload/chengjichaxun_touxiang3.jpg'),(62,'2024-03-29 09:41:14',2,'学号2','姓名2','性别2','upload/chengjichaxun_touxiang2.jpg,upload/chengjichaxun_touxiang3.jpg,upload/chengjichaxun_touxiang4.jpg'),(63,'2024-03-29 09:41:14',3,'学号3','姓名3','性别3','upload/chengjichaxun_touxiang3.jpg,upload/chengjichaxun_touxiang4.jpg,upload/chengjichaxun_touxiang5.jpg'),(64,'2024-03-29 09:41:14',4,'学号4','姓名4','性别4','upload/chengjichaxun_touxiang4.jpg,upload/chengjichaxun_touxiang5.jpg,upload/chengjichaxun_touxiang6.jpg'),(65,'2024-03-29 09:41:14',5,'学号5','姓名5','性别5','upload/chengjichaxun_touxiang5.jpg,upload/chengjichaxun_touxiang6.jpg,upload/chengjichaxun_touxiang7.jpg'),(66,'2024-03-29 09:41:14',6,'学号6','姓名6','性别6','upload/chengjichaxun_touxiang6.jpg,upload/chengjichaxun_touxiang7.jpg,upload/chengjichaxun_touxiang8.jpg'),(67,'2024-03-29 09:41:14',7,'学号7','姓名7','性别7','upload/chengjichaxun_touxiang7.jpg,upload/chengjichaxun_touxiang8.jpg,upload/chengjichaxun_touxiang9.jpg'),(68,'2024-03-29 09:41:14',8,'学号8','姓名8','性别8','upload/chengjichaxun_touxiang8.jpg,upload/chengjichaxun_touxiang9.jpg,upload/chengjichaxun_touxiang10.jpg');
/*!40000 ALTER TABLE `chengjichaxun` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config`
--

DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(100) NOT NULL COMMENT '配置参数名称',
  `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
  `url` varchar(500) DEFAULT NULL COMMENT 'url',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config`
--

LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'picture1','upload/picture1.jpg',NULL),(2,'picture2','upload/picture2.jpg',NULL),(3,'picture3','upload/picture3.jpg',NULL);
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `diqu`
--

DROP TABLE IF EXISTS `diqu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `diqu` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `diqu` varchar(200) NOT NULL COMMENT '地区',
  PRIMARY KEY (`id`),
  UNIQUE KEY `diqu` (`diqu`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8 COMMENT='地区';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `diqu`
--

LOCK TABLES `diqu` WRITE;
/*!40000 ALTER TABLE `diqu` DISABLE KEYS */;
INSERT INTO `diqu` VALUES (21,'2024-03-29 09:41:14','地区1'),(22,'2024-03-29 09:41:14','地区2'),(23,'2024-03-29 09:41:14','地区3'),(24,'2024-03-29 09:41:14','地区4'),(25,'2024-03-29 09:41:14','地区5'),(26,'2024-03-29 09:41:14','地区6'),(27,'2024-03-29 09:41:14','地区7'),(28,'2024-03-29 09:41:14','地区8');
/*!40000 ALTER TABLE `diqu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discussyuanxiaoxinxi`
--

DROP TABLE IF EXISTS `discussyuanxiaoxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discussyuanxiaoxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `refid` bigint(20) NOT NULL COMMENT '关联表id',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `avatarurl` longtext COMMENT '头像',
  `nickname` varchar(200) DEFAULT NULL COMMENT '用户名',
  `content` longtext NOT NULL COMMENT '评论内容',
  `reply` longtext COMMENT '回复内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='院校信息评论表';
/*!40101 SET character_set_client = @saved_cs_client */;


四、效果图

请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述

五、文章目录

:College Entrance Examination; java; MySQL
目录
第1章 前言 - 1 -
1.1研究背景及意义 - 1 -
1.2国内外研究现状 - 1 -
1.3主要研究内容 - 2 -
第2章 相关技术介绍 - 3 -
2.1 Java语言 - 3 -
2.2 Springboot框架 - 3 -
2.3 vue技术 - 3 -
2.4 MySQL数据库 - 4 -
2.5 B/S架构 - 4 -
2.6 协同过滤算法 - 4 -
第3章 系统分析 - 6 -
3.1 系统可行性分析 - 6 -
3.1.1 技术可行性 - 6 -
3.1.2 操作可行性 - 6 -
3.1.3 经济可行性 - 6 -
3.2系统性能需求分析 - 6 -
3.3系统功能需求 - 7 -
3.4 系统用例分析 - 7 -
3.5 系统流程分析 - 8 -
3.5.1 登录流程 - 8 -
3.5.2 注册流程 - 9 -
3.5.3 添加流程 - 9 -
第4章 系统设计 - 11 -
4.1系统功能模块设计 - 11 -
4.2 系统数据库设计 - 11 -
4.2.1 数据库系统 - 11 -
4.2.2 数据库概念设计 - 11 -
4.2.3 E-R模型结构设计 - 12 -
4.2.4数据表设计 - 12 -
第5章 系统实现 - 21 -
5.1系统功能实现 - 21 -
5.1.1系统首页功能实现 - 21 -
5.1.2个人中心页面实现 - 23 -
5.2管理员功能实现 - 23 -
第6章 系统测试 - 27 -
6.1 系统测试概述 - 27 -
6.2 测试方法 - 27 -
6.3 测试过程和结果 - 27 -
第7章 总结和展望 - 29 -
参 考 文 献 - 30 -
致 谢 - 31 -

六 、源码获取

下方名片联系我即可!!


大家点赞、收藏、关注、评论啦 、查看👇🏻获取联系方式👇🏻

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

毕业程序员

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值