基于SSM的教师考核考评系统Java学生评教管理系统(源码调试+讲解+文档)

💕💕作者:计算机源码社
💕💕个人简介:本人七年开发经验,擅长Java、微信小程序、Python、Android等,大家有这一块的问题可以一起交流!
💕💕学习资料、程序开发、技术解答、代码讲解、文档报告

💕💕JavaWeb项目
💕💕微信小程序项目
💕💕Python项目
💕💕Android项目

@TOC

1、绪论

1.1 项目背景

  教师工作考核绩效管理系统是收集第一手数据或资料的常用途径,教师工作考核绩效管理系统法使用面广、获取数据便捷、研究成本较低,在很多领域都使用的非常广泛,随着个人计算机(pc)的出现和逐渐普及,计算机日益成为学生评教管理不可缺少的工具,到90年代之后,随着互联网(internet)的广泛应用,各种基于网络的调查方法开始出现:计算机辅助网络访谈、移动调查等。
  目前基于SSM的教师工作考核绩效管理系统分析系统用的非常频繁和普遍,才会有那么多的学校在使用网络教师工作考核绩效管理系统法来获取信息。然而每开发一个新的网络教师工作考核绩效管理系统需要耗费大量的时间,很多已有的功能过于强大、设置负责、费用过于昂贵等缺点。

1.2 项目现状

  随着社会不断进步与发展,生活节奏不断加快,信息已经成为我们生活中不可缺少的一部分,很多学校需要掌握大量的信息来了解特定学生的需求,传统的做法是组织大量的人力物力对学生散发调查表,然后对收集的信息进行统计并得到想要的调查结果,但是这种传统的做法浪费大、效率低、周期长,为了改变这种现象,我们设计了这套教师工作考核绩效管理系统。教师工作考核绩效管理系统是自行开发的系统,是很有实际意义的系统,开发环境软件和使用的数据库都是开源代码,开发这个系统不同于开发普通的系统软件,不存在侵权等问题,即法律上是可行的。
  综上所述,开发一个教师工作考核绩效管理系统与原有的教师工作考核绩效管理系统方式相比具有速度更快,操作更准确,节省开支等有利之处,因此,建立教师工作考核绩效管理系统是必要可行的。

2、核心功能模块

2.1 系统用例分析

  本系统主要实现最为普遍的教师工作考核绩效管理系统,采用Java语言,B/S的结构,同时也使用JavaWeb技术在动态页面上进行了设计,后台上采用Mysql数据库。通过本美食食谱管理系统可以提高管理食谱安排的效率,减少出错率,对于数据存储及查找有了更方便的操作。教师考核评教管理系统的主要实现功能包括:

  ①管理员:首页、个人中心、系统公告管理、学生管理、教师管理,留言信息管理、学生留言管理、教师留言管理、教师信息管理、学生评教管理、督导管理、督导评价管理、学院管理


image.png

  ②教师:首页、个人中心、系统公告管理、学生留言管理、教师留言管理、教师信息管理、学生评教管理、督导评价管理、绩效考核管理
  ③学生:首页、个人中心、系统公告管理、学生留言管理、教师信息管理、学生评教管理


image.png

  ④督导:首页、个人中心、系统公告管理、教师管理、教师信息管理、督导管理等。为学生提供教师工作考核绩效管理系统,让学生能够快速、方便的实施专业的首页、个人中心、系统公告管理、学生留言管理、教师信息管理、学生评教管理等信息。

2.2 系统功能结构图

image.png

2.3 文档报告目录

image.png

image.png

3、项目页面展示

QQ截图20220928134039.png
QQ截图20220928134101.png
QQ截图20220928134113.png
QQ截图20220928134129.png
QQ截图20220928134144.png
QQ截图20220928134236.png
QQ截图20220928134312.png

4、 核心代码

/**
 * 学生评教
 * 后端接口
 */
@RestController
@RequestMapping("/xueshengpingjiao")
public class XueshengpingjiaoController {
    @Autowired
    private XueshengpingjiaoService xueshengpingjiaoService;
    


    /**
     * 后端学生评教信息列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,XueshengpingjiaoEntity xueshengpingjiao, HttpServletRequest request){

        String tableName = request.getSession().getAttribute("tableName").toString();
        if(tableName.equals("jiaoshi")) {
            xueshengpingjiao.setJiaoshigonghao((String)request.getSession().getAttribute("username"));
        }
        if(tableName.equals("xuesheng")) {
            xueshengpingjiao.setXuehao((String)request.getSession().getAttribute("username"));
        }
        EntityWrapper<XueshengpingjiaoEntity> ew = new EntityWrapper<XueshengpingjiaoEntity>();
        PageUtils page = xueshengpingjiaoService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xueshengpingjiao), params), params));
        return R.ok().put("data", page);
    }
    
    /**
     * 前端学生评教信息列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,XueshengpingjiaoEntity xueshengpingjiao, HttpServletRequest request){
        EntityWrapper<XueshengpingjiaoEntity> ew = new EntityWrapper<XueshengpingjiaoEntity>();
        PageUtils page = xueshengpingjiaoService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xueshengpingjiao), params), params));
        return R.ok().put("data", page);
    }

    /**
     * 学生评教信息列表
     */
    @RequestMapping("/lists")
    public R list( XueshengpingjiaoEntity xueshengpingjiao){
        EntityWrapper<XueshengpingjiaoEntity> ew = new EntityWrapper<XueshengpingjiaoEntity>();
        ew.allEq(MPUtil.allEQMapPre( xueshengpingjiao, "xueshengpingjiao")); 
        return R.ok().put("data", xueshengpingjiaoService.selectListView(ew));
    }

     /**
     * 查询学生评教信息
     */
    @RequestMapping("/query")
    public R query(XueshengpingjiaoEntity xueshengpingjiao){
        EntityWrapper< XueshengpingjiaoEntity> ew = new EntityWrapper< XueshengpingjiaoEntity>();
        ew.allEq(MPUtil.allEQMapPre( xueshengpingjiao, "xueshengpingjiao")); 
        XueshengpingjiaoView xueshengpingjiaoView =  xueshengpingjiaoService.selectView(ew);
        return R.ok("查询学生评教成功").put("data", xueshengpingjiaoView);
    }
    
    /**
     * 后端学生评教信息详情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") String id){
        XueshengpingjiaoEntity xueshengpingjiao = xueshengpingjiaoService.selectById(id);
        return R.ok().put("data", xueshengpingjiao);
    }

    /**
     * 前端学生评教信息详情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") String id){
        XueshengpingjiaoEntity xueshengpingjiao = xueshengpingjiaoService.selectById(id);
        return R.ok().put("data", xueshengpingjiao);
    }
    



    /**
     * 后端保存学生评教信息
     */
    @RequestMapping("/save")
    public R save(@RequestBody XueshengpingjiaoEntity xueshengpingjiao, HttpServletRequest request){
        xueshengpingjiao.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
        //ValidatorUtils.validateEntity(xueshengpingjiao);

        xueshengpingjiaoService.insert(xueshengpingjiao);
        return R.ok();
    }
    
    /**
     * 前端保存学生评教信息
     */
    @RequestMapping("/add")
    public R add(@RequestBody XueshengpingjiaoEntity xueshengpingjiao, HttpServletRequest request){
        xueshengpingjiao.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
        //ValidatorUtils.validateEntity(xueshengpingjiao);

        xueshengpingjiaoService.insert(xueshengpingjiao);
        return R.ok();
    }

    /**
     * 修改学生评教信息
     */
    @RequestMapping("/update")
    public R update(@RequestBody XueshengpingjiaoEntity xueshengpingjiao, HttpServletRequest request){
        //ValidatorUtils.validateEntity(xueshengpingjiao);
        xueshengpingjiaoService.updateById(xueshengpingjiao);//全部更新
        return R.ok();
    }
    

    /**
     * 删除学生评教信息
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        xueshengpingjiaoService.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<XueshengpingjiaoEntity> wrapper = new EntityWrapper<XueshengpingjiaoEntity>();
        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("jiaoshi")) {
            wrapper.eq("jiaoshigonghao", (String)request.getSession().getAttribute("username"));
        }
        if(tableName.equals("xuesheng")) {
            wrapper.eq("xuehao", (String)request.getSession().getAttribute("username"));
        }

        int count = xueshengpingjiaoService.selectCount(wrapper);
        return R.ok().put("count", count);
    }
    
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容