目录
📚 前言
📑摘要
📑系统架构
📚 数据库设计
💬 课程资源实体图
💬 行程提醒实体图
💬 学生信息实体图
📚 系统功能的具体实现
💬 前台模块
学生注册
用户登录
💬 管理员功能模块
管理员登录管理
教师管理
学生管理
💬 教师功能模块
教师登录
课程资源管理
试题管理
💬 课程资源功能模块
用户登录管理
个人中心
学生管理
✒️ 源码实现
💖 源码获取
😁 联系方式
📚 前言
📑博客主页:@丘比特惩罚陆
💖欢迎关注:点赞收藏⭐留言✒
💬系列专栏:Java Springboot 毕设实战专栏
🎮 加入社区: 丘比特惩罚陆
🥇人生格言:选对方向,每走一步都是进步!
✒️欢迎大佬指正,一起学习!一起加油!👏 希望大家能小手一动,帮忙点个赞!
📑摘要
本项目软件架构选择B/S模式,总体功能模块运用自顶向下的分层思想。再然后就是实现系统并进行代码编写实现功能。论文的最后章节总结一下自己完成本论文和开发本项目的心得和总结。通过高校课堂教学管理小程序将会使高校课堂教学各个方面的工作效率带来实质性的提升。
📑 功能结构
小程序整体功能如下图所示
📑系统架构
此次管理系统的关键技术和架构由B/S结构、java和mysql数据库,是本系统的关键开发技术,对系统的整体、数据库、功能模块、系统页面以及系统程序等设计进行了详细的研究与规划。
三层架构图
📚 数据库设计
概念模型是对现实中的问题出现的事物的进行描述,ER图是由实体及其关系构成的图,通过E-R图可以清楚地描述系统涉及到的实体之间的相互关系;
💬 课程资源实体图
💬 行程提醒实体图
💬 学生信息实体图
📚 系统功能的具体实现
💬 前台模块
登录,用户通过输入账号和密码,选择角色并点击登录进行系统登录操作,
学生注册
学生注册,在学生注册页面通过填写学号、密码、确认密码、学生姓名、性别、院系、学生手机等信息进行学生注册操作
用户登录
用户登陆小程序端,可以对首页、课程资源、测试、互动论坛、我的等功能进行详细操作
💬 管理员功能模块
管理员登录管理
管理员登陆系统后,可以对首页、个人中心、教师管理、学生管理、课程分类管理、课程资源管理、互动论坛、系统管理等功能进行详细操作;
教师管理
教师管理,在教师管理页面可以对索引、教师工号、老师姓名、性别、照片、职称、联系电话、院系等内容进行详情,修改和删除操作
学生管理
学生管理,在学生管理页面可以对索引、学号、学生姓名、性别、头像、院系、学生手机等内容进行详情,修改和删除操作
💬 教师功能模块
教师登录
教师登陆系统后,可以对首页、个人中心、课程资源管理、试题管理、课堂测试管理等功能进行详细操作
课程资源管理
课程资源管理,在课程资源管理页面可以对索引、课程名称、课程分类、课程视频、发布时间、资源图片、教师工号、教师姓名等内容进行详情,修改,查看评论或删除操作
试题管理
试题管理,在试题管理页面可以对课堂测试、试题名称、分值、答案、类型等内容进行修改和删除操作
💬 课程资源功能模块
用户登录管理
课程资源,在课程资源页面可以查看课程名称、课程分类、图片、视频、发布时间、教师工号、教师姓名、资源介绍等信息,并根据需要进行评论或收藏操作
个人中心
学生,在我的页面可以对个人中心、我的收藏管理、测试记录、错题本、我要发贴、我的发贴等详细信息进行操作
学生管理
学生信息,在用户信息页面通过填写学号、密码、学生姓名、性别、头像、院系、学生手机等详细信息进行保存或退出登录操作
✒️ 源码实现
/**
* 考试通知
* 后端接口
* @author
* @email
* @date 2022-04-08 19:19:37
*/
@RestController
@RequestMapping("/kaoshitongzhi")
public class KaoshitongzhiController {
@Autowired
private KaoshitongzhiService kaoshitongzhiService;
/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,KaoshitongzhiEntity kaoshitongzhi,
HttpServletRequest request){
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("xuesheng")) {
kaoshitongzhi.setXuehao((String)request.getSession().getAttribute("username"));
}
if(tableName.equals("jiaoshi")) {
kaoshitongzhi.setJiaoshigonghao((String)request.getSession().getAttribute("username"));
}
EntityWrapper<KaoshitongzhiEntity> ew = new EntityWrapper<KaoshitongzhiEntity>();
PageUtils page = kaoshitongzhiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, kaoshitongzhi), params), params));
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,KaoshitongzhiEntity kaoshitongzhi,
HttpServletRequest request){
EntityWrapper<KaoshitongzhiEntity> ew = new EntityWrapper<KaoshitongzhiEntity>();
PageUtils page = kaoshitongzhiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, kaoshitongzhi), params), params));
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( KaoshitongzhiEntity kaoshitongzhi){
EntityWrapper<KaoshitongzhiEntity> ew = new EntityWrapper<KaoshitongzhiEntity>();
ew.allEq(MPUtil.allEQMapPre( kaoshitongzhi, "kaoshitongzhi"));
return R.ok().put("data", kaoshitongzhiService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(KaoshitongzhiEntity kaoshitongzhi){
EntityWrapper< KaoshitongzhiEntity> ew = new EntityWrapper< KaoshitongzhiEntity>();
ew.allEq(MPUtil.allEQMapPre( kaoshitongzhi, "kaoshitongzhi"));
KaoshitongzhiView kaoshitongzhiView = kaoshitongzhiService.selectView(ew);
return R.ok("查询考试通知成功").put("data", kaoshitongzhiView);
}
/**
* 后端详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
KaoshitongzhiEntity kaoshitongzhi = kaoshitongzhiService.selectById(id);
return R.ok().put("data", kaoshitongzhi);
}
/**
* 前端详情
*/
@IgnoreAuth
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
KaoshitongzhiEntity kaoshitongzhi = kaoshitongzhiService.selectById(id);
return R.ok().put("data", kaoshitongzhi);
}
/**
* 后端保存
*/
@RequestMapping("/save")
public R save(@RequestBody KaoshitongzhiEntity kaoshitongzhi, HttpServletRequest request){
kaoshitongzhi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(kaoshitongzhi);
kaoshitongzhiService.insert(kaoshitongzhi);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody KaoshitongzhiEntity kaoshitongzhi, HttpServletRequest request){
kaoshitongzhi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(kaoshitongzhi);
kaoshitongzhiService.insert(kaoshitongzhi);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
public R update(@RequestBody KaoshitongzhiEntity kaoshitongzhi, HttpServletRequest request){
//ValidatorUtils.validateEntity(kaoshitongzhi);
kaoshitongzhiService.updateById(kaoshitongzhi);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
kaoshitongzhiService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/**
* 提醒接口
*/
@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<KaoshitongzhiEntity> wrapper = new EntityWrapper<KaoshitongzhiEntity>();
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("xuesheng")) {
wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("jiaoshi")) {
wrapper.eq("jiaoshigonghao", (String)request.getSession().getAttribute("username"));
}
int count = kaoshitongzhiService.selectCount(wrapper);
return R.ok().put("count", count);
}
}
💖 源码获取
点赞、收藏、关注!!!
非无偿源码!获取源码请添加up主!!文章来源:https://www.toymoban.com/news/detail-858938.html
😁 联系方式
文章最底下有微信联系方式!!!文章来源地址https://www.toymoban.com/news/detail-858938.html
到了这里,关于ssm 基于微信小程序的高校课堂教学管理系统 (含源码)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!