ssm 基于微信小程序的高校课堂教学管理系统 (含源码)

目录

📚 前言

📑摘要

📑系统架构

📚 数据库设计

   💬  课程资源实体图

   💬 行程提醒实体图

   💬 学生信息实体图

📚 系统功能的具体实现

 💬 前台模块

学生注册

用户登录

 💬 管理员功能模块

管理员登录管理

教师管理

学生管理

 💬 教师功能模块

教师登录

课程资源管理

试题管理

 💬 课程资源功能模块

用户登录管理

个人中心

学生管理

✒️ 源码实现

💖 源码获取

😁 联系方式


📚 前言

📑博客主页:@丘比特惩罚陆

💖欢迎关注:点赞收藏⭐留言✒
💬系列专栏: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主!!

😁 联系方式

文章最底下有微信联系方式!!!

  • 21
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

丘比特惩罚陆

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

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

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

打赏作者

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

抵扣说明:

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

余额充值