目录:
一、详细操作演示视频
在文章的尾声,您会发现一张电子名片?,欢迎通过名片上的联系方式与我取得联系,以获取更多关于项目演示的详尽视频内容。视频将帮助您全面理解项目的关键点和操作流程。期待与您的进一步交流!
承诺所有开发的项目,全程售后陪伴!!!
系统实现界面:
核心代码实现:
package com.service;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.KaoshichengjiEntity;
import java.util.List;
import java.util.Map;
import com.entity.vo.KaoshichengjiVO;
import org.apache.ibatis.annotations.Param;
import com.entity.view.KaoshichengjiView;
/**
* 考试成绩
*
* @author
* @email
* @date 2024-04-23 09:31:38
*/
public interface KaoshichengjiService extends IService<KaoshichengjiEntity> {
PageUtils queryPage(Map<String, Object> params);
List<KaoshichengjiVO> selectListVO(Wrapper<KaoshichengjiEntity> wrapper);
KaoshichengjiVO selectVO(@Param("ew") Wrapper<KaoshichengjiEntity> wrapper);
List<KaoshichengjiView> selectListView(Wrapper<KaoshichengjiEntity> wrapper);
KaoshichengjiView selectView(@Param("ew") Wrapper<KaoshichengjiEntity> wrapper);
PageUtils queryPage(Map<String, Object> params,Wrapper<KaoshichengjiEntity> wrapper);
List<Map<String, Object>> selectValue(Map<String, Object> params,Wrapper<KaoshichengjiEntity> wrapper);
List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<KaoshichengjiEntity> wrapper);
List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<KaoshichengjiEntity> wrapper);
List<Map<String, Object>> fenshuSectionStat(Map<String, Object> params,Wrapper<KaoshichengjiEntity> wrapper);
}
数据库核心代码:
--
-- Current Database: `springbootf9r3145h`
--
/*!40000 DROP DATABASE IF EXISTS `springbootf9r3145h`*/;
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `springbootf9r3145h` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `springbootf9r3145h`;
--
-- 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 `jiaoshi`
--
DROP TABLE IF EXISTS `jiaoshi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jiaoshi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gonghao` varchar(200) NOT NULL COMMENT '工号',
`mima` varchar(200) NOT NULL COMMENT '密码',
`jiaoshixingming` varchar(200) NOT NULL COMMENT '教师姓名',
`touxiang` longtext COMMENT '头像',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`zhicheng` varchar(200) DEFAULT NULL COMMENT '职称',
`youxiang` varchar(200) DEFAULT NULL COMMENT '邮箱',
`dianhua` varchar(200) DEFAULT NULL COMMENT '电话',
PRIMARY KEY (`id`),
UNIQUE KEY `gonghao` (`gonghao`)
) ENGINE=InnoDB AUTO_INCREMENT=1713837134078 DEFAULT CHARSET=utf8 COMMENT='教师';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jiaoshi`
--
LOCK TABLES `jiaoshi` WRITE;
/*!40000 ALTER TABLE `jiaoshi` DISABLE KEYS */;
INSERT INTO `jiaoshi` VALUES (21,'2024-04-23 01:32:03','工号1','123456','教师姓名1','upload/jiaoshi_touxiang1.jpg','男','职称1','773890001@qq.com','13823888881'),(22,'2024-04-23 01:32:03','工号2','123456','教师姓名2','upload/jiaoshi_touxiang2.jpg','男','职称2','773890002@qq.com','13823888882'),(23,'2024-04-23 01:32:03','工号3','123456','教师姓名3','upload/jiaoshi_touxiang3.jpg','男','职称3','773890003@qq.com','13823888883'),(24,'2024-04-23 01:32:03','工号4','123456','教师姓名4','upload/jiaoshi_touxiang4.jpg','男','职称4','773890004@qq.com','13823888884'),(25,'2024-04-23 01:32:03','工号5','123456','教师姓名5','upload/jiaoshi_touxiang5.jpg','男','职称5','773890005@qq.com','13823888885'),(26,'2024-04-23 01:32:03','工号6','123456','教师姓名6','upload/jiaoshi_touxiang6.jpg','男','职称6','773890006@qq.com','13823888886'),(27,'2024-04-23 01:32:03','工号7','123456','教师姓名7','upload/jiaoshi_touxiang7.jpg','男','职称7','773890007@qq.com','13823888887'),(28,'2024-04-23 01:32:03','工号8','123456','教师姓名8','upload/jiaoshi_touxiang8.jpg','男','职称8','773890008@qq.com','13823888888'),(1713837134077,'2024-04-23 01:52:14','1','1','王丽','upload/1713837118236.jpg','女','讲师','youxiwang@163.com','15251214121');
/*!40000 ALTER TABLE `jiaoshi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `kaoshichengji`
--
DROP TABLE IF EXISTS `kaoshichengji`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kaoshichengji` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kaoshimingcheng` varchar(200) NOT NULL COMMENT '考试名称',
`xueqi` varchar(200) NOT NULL COMMENT '学期',
`xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
`xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
`fenshu` int(11) NOT NULL COMMENT '分数',
`chengji` varchar(200) NOT NULL COMMENT '成绩',
`pingjianeirong` longtext COMMENT '评价内容',
`fabushijian` datetime DEFAULT NULL COMMENT '发布时间',
`gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
`jiaoshixingming` varchar(200) DEFAULT NULL COMMENT '教师姓名',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8 COMMENT='考试成绩';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `kaoshichengji`
--
LOCK TABLES `kaoshichengji` WRITE;
/*!40000 ALTER TABLE `kaoshichengji` DISABLE KEYS */;
INSERT INTO `kaoshichengji` VALUES (61,'2024-04-23 01:32:03','考试名称1','学期1','学号1','姓名1',1,'优秀','评价内容1','2024-04-23 09:32:03','工号1','教师姓名1'),(62,'2024-04-23 01:32:03','考试名称2','学期2','学号2','姓名2',2,'优秀','评价内容2','2024-04-23 09:32:03','工号2','教师姓名2'),(63,'2024-04-23 01:32:03','考试名称3','学期3','学号3','姓名3',3,'优秀','评价内容3','2024-04-23 09:32:03','工号3','教师姓名3'),(64,'2024-04-23 01:32:03','考试名称4','学期4','学号4','姓名4',4,'优秀','评价内容4','2024-04-23 09:32:03','工号4','教师姓名4'),(65,'2024-04-23 01:32:03','考试名称5','学期5','学号5','姓名5',5,'优秀','评价内容5','2024-04-23 09:32:03','工号5','教师姓名5'),(66,'2024-04-23 01:32:03','考试名称6','学期6','学号6','姓名6',6,'优秀','评价内容6','2024-04-23 09:32:03','工号6','教师姓名6'),(67,'2024-04-23 01:32:03','考试名称7','学期7','学号7','姓名7',7,'优秀','评价内容7','2024-04-23 09:32:03','工号7','教师姓名7'),(68,'2024-04-23 01:32:03','考试名称8','学期8','学号8','姓名8',8,'优秀','评价内容8','2024-04-23 09:32:03','工号8','教师姓名8'),(69,'2024-04-23 01:53:47','英语考试','2024','50','王洁丽',85,'良好','一般般还有待提高','2024-04-23 09:53:50','1','王丽');
/*!40000 ALTER TABLE `kaoshichengji` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `kechengrenwu`
--
DROP TABLE IF EXISTS `kechengrenwu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kechengrenwu` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`renwumingcheng` varchar(200) NOT NULL COMMENT '任务名称',
`tupian` longtext COMMENT '图片',
`gonghao` varchar(200) NOT NULL COMMENT '工号',
`jiaoshixingming` varchar(200) DEFAULT NULL COMMENT '教师姓名',
`shangkeshijian` date NOT NULL COMMENT '上课时间',
`kechengfenpei` longtext NOT NULL COMMENT '课程分配',
`renwuyaoqiu` longtext COMMENT '任务要求',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 COMMENT='课程任务';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `kechengrenwu`
--
LOCK TABLES `kechengrenwu` WRITE;
/*!40000 ALTER TABLE `kechengrenwu` DISABLE KEYS */;
INSERT INTO `kechengrenwu` VALUES (41,'2024-04-23 01:32:03','任务名称1','upload/kechengrenwu_tupian1.jpg,upload/kechengrenwu_tupian2.jpg,upload/kechengrenwu_tupian3.jpg','工号1','教师姓名1','2024-04-23','课程分配1','任务要求1'),(42,'2024-04-23 01:32:03','任务名称2','upload/kechengrenwu_tupian2.jpg,upload/kechengrenwu_tupian3.jpg,upload/kechengrenwu_tupian4.jpg','工号2','教师姓名2','2024-04-23','课程分配2','任务要求2'),(43,'2024-04-23 01:32:03','任务名称3','upload/kechengrenwu_tupian3.jpg,upload/kechengrenwu_tupian4.jpg,upload/kechengrenwu_tupian5.jpg','工号3','教师姓名3','2024-04-23','课程分配3','任务要求3'),(44,'2024-04-23 01:32:03','任务名称4','upload/kechengrenwu_tupian4.jpg,upload/kechengrenwu_tupian5.jpg,upload/kechengrenwu_tupian6.jpg','工号4','教师姓名4','2024-04-23','课程分配4','任务要求4'),(45,'2024-04-23 01:32:03','任务名称5','upload/kechengrenwu_tupian5.jpg,upload/kechengrenwu_tupian6.jpg,upload/kechengrenwu_tupian7.jpg','工号5','教师姓名5','2024-04-23','课程分配5','任务要求5'),(46,'2024-04-23 01:32:03','任务名称6','upload/kechengrenwu_tupian6.jpg,upload/kechengrenwu_tupian7.jpg,upload/kechengrenwu_tupian8.jpg','工号6','教师姓名6','2024-04-23','课程分配6','任务要求6'),(47,'2024-04-23 01:32:03','任务名称7','upload/kechengrenwu_tupian7.jpg,upload/kechengrenwu_tupian8.jpg,upload/kechengrenwu_tupian9.jpg','工号7','教师姓名7','2024-04-23','课程分配7','任务要求7'),(48,'2024-04-23 01:32:03','xx教学任务','upload/kechengrenwu_tupian8.jpg','1','王丽','2024-04-23','课jinxxx分配分配8','任务要求8需要完成上什么。');
/*!40000 ALTER TABLE `kechengrenwu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `kechengxinxi`
--
DROP TABLE IF EXISTS `kechengxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kechengxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kechengbianhao` varchar(200) NOT NULL COMMENT '课程编号',
`kechengmingcheng` varchar(200) NOT NULL COMMENT '课程名称',
`kechengleixing` varchar(200) DEFAULT NULL COMMENT '课程类型',
`tupian` longtext COMMENT '图片',
`banji` varchar(200) NOT NULL COMMENT '班级',
`kaikeshijian` datetime NOT NULL COMMENT '开课时间',
`shangkedidian` varchar(200) NOT NULL COMMENT '上课地点',
`kechengjieshao` longtext COMMENT '课程介绍',
`gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
`jiaoshixingming` varchar(200) DEFAULT NULL COMMENT '教师姓名',
`storeupnum` int(11) DEFAULT '0' COMMENT '收藏数',
PRIMARY KEY (`id`),
UNIQUE KEY `kechengbianhao` (`kechengbianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COMMENT='课程信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `kechengxinxi`
--
LOCK TABLES `kechengxinxi` WRITE;
/*!40000 ALTER TABLE `kechengxinxi` DISABLE KEYS */;
INSERT INTO `kechengxinxi` VALUES (31,'2024-04-23 01:32:03','课程编号1','课程名称1','课程类型1','upload/kechengxinxi_tupian1.jpg,upload/kechengxinxi_tupian2.jpg,upload/kechengxinxi_tupian3.jpg','班级1','2024-04-23 09:32:03','上课地点1','课程介绍1','工号1','教师姓名1',1),(32,'2024-04-23 01:32:03','课程编号2','课程名称2','课程类型2','upload/kechengxinxi_tupian2.jpg,upload/kechengxinxi_tupian3.jpg,upload/kechengxinxi_tupian4.jpg','班级2','2024-04-23 09:32:03','上课地点2','课程介绍2','工号2','教师姓名2',2),(33,'2024-04-23 01:32:03','课程编号3','课程名称3','课程类型3','upload/kechengxinxi_tupian3.jpg,upload/kechengxinxi_tupian4.jpg,upload/kechengxinxi_tupian5.jpg','班级3','2024-04-23 09:32:03','上课地点3','课程介绍3','工号3','教师姓名3',3),(34,'2024-04-23 01:32:03','课程编号4','课程名称4','课程类型4','upload/kechengxinxi_tupian4.jpg,upload/kechengxinxi_tupian5.jpg,upload/kechengxinxi_tupian6.jpg','班级4','2024-04-23 09:32:03','上课地点4','课程介绍4','工号4','教师姓名4',4),(35,'2024-04-23 01:32:03','课程编号5','课程名称5','课程类型5','upload/kechengxinxi_tupian5.jpg,upload/kechengxinxi_tupian6.jpg,upload/kechengxinxi_tupian7.jpg','班级5','2024-04-23 09:32:03','上课地点5','课程介绍5','工号5','教师姓名5',5),(36,'2024-04-23 01:32:03','课程编号6','课程名称6','课程类型6','upload/kechengxinxi_tupian6.jpg,upload/kechengxinxi_tupian7.jpg,upload/kechengxinxi_tupian8.jpg','班级6','2024-04-23 09:32:03','上课地点6','课程介绍6','工号6','教师姓名6',6),(37,'2024-04-23 01:32:03','课程编号7','课程名称7','课程类型7','upload/kechengxinxi_tupian7.jpg,upload/kechengxinxi_tupian8.jpg,upload/kechengxinxi_tupian9.jpg','班级7','2024-04-23 09:32:03','上课地点7','课程介绍7','工号7','教师姓名7',7),(38,'2024-04-23 01:32:03','课程编号8','课程名称8','课程类型8','upload/kechengxinxi_tupian8.jpg,upload/kechengxinxi_tupian9.jpg,upload/kechengxinxi_tupian10.jpg','班级8','2024-04-23 09:32:03','上课地点8','课程介绍8','工号8','教师姓名8',8),(39,'2024-04-23 01:54:27','1001','英语语法','语法','upload/1713837257786.jpg','205','2024-04-23 09:54:24','2008教室','1111','1','王丽',0);
/*!40000 ALTER TABLE `kechengxinxi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `news`
--
DROP TABLE IF EXISTS `news`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `news` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`title` varchar(200) NOT NULL COMMENT '标题',
`introduction` longtext COMMENT '简介',
`typename` varchar(200) DEFAULT NULL COMMENT '分类名称',
`name` varchar(200) DEFAULT NULL COMMENT '发布人',
`headportrait` longtext COMMENT '头像',
`clicknum` int(11) DEFAULT '0' COMMENT '点击次数',
`clicktime` datetime DEFAULT NULL COMMENT '最近点击时间',
`thumbsupnum` int(11) DEFAULT '0' COMMENT '赞',
`crazilynum` int(11) DEFAULT '0' COMMENT '踩',
`storeupnum` int(11) DEFAULT '0' COMMENT '收藏数',
`picture` longtext NOT NULL COMMENT '图片',
`content` longtext NOT NULL COMMENT '内容',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8 COMMENT='公告信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
为什么选择我为什么选择我