系统为2019年12月开发,采用SSM整合开发。分为两个角色,分别为管理员和员工。主要功能:考勤管理,迟到管理,请假管理,加班管理,奖惩管理,反馈管理,职位调整管理等。

**

  • 数模

**

基于SSM的企业OA系统_javascript


**

  • 员工首页

**

基于SSM的企业OA系统_spring_02


**

  • 登录

**

基于SSM的企业OA系统_javascript_03


**

  • 考勤打卡

**

基于SSM的企业OA系统_javascript_04


**

  • 迟到

**

基于SSM的企业OA系统_java_05


**

  • 加班

**

基于SSM的企业OA系统_mysql_06


controller

/*
     * @description: 跳转到首页
     * @param request
     * @param model
     * @return: java.lang.String
     * @author: mty
     * @time: 2019/12/18 23:08
     */
    @RequestMapping("/employIndex")
    public String employIndex(HttpServletRequest request,Model model) throws Exception{
        HttpSession session = request.getSession();
        if(session.getAttribute("name") == null || session.getAttribute("password") == null){
            session.setAttribute("msg", "对不起,请登录!");
            return "common/adminLogin";
        }
        String name = session.getAttribute("name").toString();
        String password = session.getAttribute("password").toString();
        List<Employ> employList = employService.queryByAll();
        int total = employList.size();
        model.addAttribute("employList", employList);
        model.addAttribute("total", total);
        model.addAttribute("name", name);
        model.addAttribute("password", password);
        return "employ/index";
    }

mapper示例:

<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
    select 
    <include refid="Base_Column_List" />
    from adjust_position
    where id = #{id,jdbcType=VARCHAR}
  </select>
  <select id="selectByAll" parameterType="java.lang.String" resultMap="BaseResultMap">
    select
    <include refid="Base_Column_List" />
    from adjust_position
  </select>

好了,以上就是系统的实现过程,更多文章,点击左上角头像,查看更多相关系统的分享。