中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

企業(yè)管理培訓(xùn)課程課件南寧seo外包服務(wù)

企業(yè)管理培訓(xùn)課程課件,南寧seo外包服務(wù),有沒有做av網(wǎng)站,企業(yè)戰(zhàn)略規(guī)劃方案末尾獲取源碼 開發(fā)語言:Java Java開發(fā)工具:JDK1.8 后端框架:SSM 前端:Vue 數(shù)據(jù)庫:MySQL5.7和Navicat管理工具結(jié)合 服務(wù)器:Tomcat8.5 開發(fā)軟件:IDEA / Eclipse 是否Maven項目:是 目錄…

末尾獲取源碼
開發(fā)語言:Java
Java開發(fā)工具:JDK1.8
后端框架:SSM
前端:Vue
數(shù)據(jù)庫:MySQL5.7和Navicat管理工具結(jié)合
服務(wù)器:Tomcat8.5
開發(fā)軟件:IDEA / Eclipse
是否Maven項目:是


目錄

一、項目簡介

二、系統(tǒng)功能

三、系統(tǒng)項目截圖

管理員模塊的實(shí)現(xiàn)

人事管理員管理

普通員工管理

人事管理員模塊的實(shí)現(xiàn)

普通員工管理

調(diào)休申請管理

員工模塊的實(shí)現(xiàn)

入職信息管理

崗位調(diào)動信息

四、核心代碼

登錄相關(guān)

文件上傳

封裝


一、項目簡介

隨著信息技術(shù)在管理上越來越深入而廣泛的應(yīng)用,管理信息系統(tǒng)的實(shí)施在技術(shù)上已逐步成熟。本文介紹了基于java web的中小型人力資源管理系統(tǒng)的開發(fā)全過程。通過分析基于java web的中小型人力資源管理系統(tǒng)管理的不足,創(chuàng)建了一個計算機(jī)管理基于java web的中小型人力資源管理系統(tǒng)的方案。文章介紹了基于java web的中小型人力資源管理系統(tǒng)的系統(tǒng)分析部分,包括可行性分析等,系統(tǒng)設(shè)計部分主要介紹了系統(tǒng)功能設(shè)計和數(shù)據(jù)庫設(shè)計。

本基于java web的中小型人力資源管理系統(tǒng)有院系管理員,人事管理員以及員工三個角色。管理員功能有個人中心,人事管理員管理,普通員工管理,考勤打卡管理,員工信息管理,調(diào)休申請管理,工資單管理,崗位調(diào)動管理,入職信息管理,員工培訓(xùn)管理,系統(tǒng)管理等。人事管理員功能有個人中心,員工信息管理,調(diào)休申請管理,工資單管理,崗位調(diào)動管理,入職信息管理,員工培訓(xùn)管理等。員工功能有個人中心,考勤打卡管理,員工信息管理,調(diào)休申請管理,工資單管理,崗位調(diào)動管理,入職信息管理。因而具有一定的實(shí)用性。

本站是一個B/S模式系統(tǒng),采用SSM框架,MYSQL數(shù)據(jù)庫設(shè)計開發(fā),充分保證系統(tǒng)的穩(wěn)定性。系統(tǒng)具有界面清晰、操作簡單,功能齊全的特點(diǎn),使得基于java web的中小型人力資源管理系統(tǒng)管理工作系統(tǒng)化、規(guī)范化。本系統(tǒng)的使用使管理人員從繁重的工作中解脫出來,實(shí)現(xiàn)無紙化辦公,能夠有效的提高基于java web的中小型人力資源管理系統(tǒng)管理效率。


二、系統(tǒng)功能

本系統(tǒng)是基于B/S架構(gòu)的網(wǎng)站系統(tǒng),設(shè)計的管理員功能結(jié)構(gòu)圖如下圖所示:

本系統(tǒng)是基于B/S架構(gòu)的網(wǎng)站系統(tǒng),設(shè)計的人事管理員功能結(jié)構(gòu)圖如下圖所示:

?本系統(tǒng)是基于B/S架構(gòu)的網(wǎng)站系統(tǒng),設(shè)計的員工功能結(jié)構(gòu)圖如下圖所示:



三、系統(tǒng)項目截圖

管理員模塊的實(shí)現(xiàn)

人事管理員管理

基于java web的中小型人力資源管理系統(tǒng)的系統(tǒng)管理員可以管理項目中檢,可以對項目中檢信息添加修改刪除以及查詢操作。

?

普通員工管理

系統(tǒng)管理員可以對普通員工信息進(jìn)行添加,修改,刪除以及查詢操作。

人事管理員模塊的實(shí)現(xiàn)

普通員工管理

人事管理員可以對普通員工信息進(jìn)行修改,刪除以及查詢操作。?

調(diào)休申請管理

人事管理員可以對項目結(jié)項信息進(jìn)行修改操作,還可以對項目結(jié)項信息進(jìn)行查詢。

?

員工模塊的實(shí)現(xiàn)

入職信息管理

員工登錄后可以填寫自己的入職信息。

崗位調(diào)動信息

員工登錄后可以查看崗位調(diào)動。

?


四、核心代碼

登錄相關(guān)


package com.controller;import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;import javax.servlet.http.HttpServletRequest;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.TokenEntity;
import com.entity.UserEntity;
import com.service.TokenService;
import com.service.UserService;
import com.utils.CommonUtil;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.ValidatorUtils;/*** 登錄相關(guān)*/
@RequestMapping("users")
@RestController
public class UserController{@Autowiredprivate UserService userService;@Autowiredprivate TokenService tokenService;/*** 登錄*/@IgnoreAuth@PostMapping(value = "/login")public R login(String username, String password, String captcha, HttpServletRequest request) {UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null || !user.getPassword().equals(password)) {return R.error("賬號或密碼不正確");}String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());return R.ok().put("token", token);}/*** 注冊*/@IgnoreAuth@PostMapping(value = "/register")public R register(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用戶已存在");}userService.insert(user);return R.ok();}/*** 退出*/@GetMapping(value = "logout")public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok("退出成功");}/*** 密碼重置*/@IgnoreAuth@RequestMapping(value = "/resetPass")public R resetPass(String username, HttpServletRequest request){UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null) {return R.error("賬號不存在");}user.setPassword("123456");userService.update(user,null);return R.ok("密碼已重置為:123456");}/*** 列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/list")public R list( UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();ew.allEq(MPUtil.allEQMapPre( user, "user")); return R.ok().put("data", userService.selectListView(ew));}/*** 信息*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") String id){UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 獲取用戶的session用戶信息*/@RequestMapping("/session")public R getCurrUser(HttpServletRequest request){Long id = (Long)request.getSession().getAttribute("userId");UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 保存*/@PostMapping("/save")public R save(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用戶已存在");}userService.insert(user);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody UserEntity user){
//        ValidatorUtils.validateEntity(user);userService.updateById(user);//全部更新return R.ok();}/*** 刪除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){userService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

文件上傳

package com.controller;import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.UUID;import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.util.ResourceUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.ConfigEntity;
import com.entity.EIException;
import com.service.ConfigService;
import com.utils.R;/*** 上傳文件映射表*/
@RestController
@RequestMapping("file")
@SuppressWarnings({"unchecked","rawtypes"})
public class FileController{@Autowiredprivate ConfigService configService;/*** 上傳文件*/@RequestMapping("/upload")public R upload(@RequestParam("file") MultipartFile file,String type) throws Exception {if (file.isEmpty()) {throw new EIException("上傳文件不能為空");}String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1);File path = new File(ResourceUtils.getURL("classpath:static").getPath());if(!path.exists()) {path = new File("");}File upload = new File(path.getAbsolutePath(),"/upload/");if(!upload.exists()) {upload.mkdirs();}String fileName = new Date().getTime()+"."+fileExt;File dest = new File(upload.getAbsolutePath()+"/"+fileName);file.transferTo(dest);FileUtils.copyFile(dest, new File("C:\\Users\\Desktop\\jiadian\\springbootl7own\\src\\main\\resources\\static\\upload"+"/"+fileName));if(StringUtils.isNotBlank(type) && type.equals("1")) {ConfigEntity configEntity = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));if(configEntity==null) {configEntity = new ConfigEntity();configEntity.setName("faceFile");configEntity.setValue(fileName);} else {configEntity.setValue(fileName);}configService.insertOrUpdate(configEntity);}return R.ok().put("file", fileName);}/*** 下載文件*/@IgnoreAuth@RequestMapping("/download")public ResponseEntity<byte[]> download(@RequestParam String fileName) {try {File path = new File(ResourceUtils.getURL("classpath:static").getPath());if(!path.exists()) {path = new File("");}File upload = new File(path.getAbsolutePath(),"/upload/");if(!upload.exists()) {upload.mkdirs();}File file = new File(upload.getAbsolutePath()+"/"+fileName);if(file.exists()){/*if(!fileService.canRead(file, SessionManager.getSessionUser())){getResponse().sendError(403);}*/HttpHeaders headers = new HttpHeaders();headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);    headers.setContentDispositionFormData("attachment", fileName);    return new ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);}} catch (IOException e) {e.printStackTrace();}return new ResponseEntity<byte[]>(HttpStatus.INTERNAL_SERVER_ERROR);}}

封裝

package com.utils;import java.util.HashMap;
import java.util.Map;/*** 返回數(shù)據(jù)*/
public class R extends HashMap<String, Object> {private static final long serialVersionUID = 1L;public R() {put("code", 0);}public static R error() {return error(500, "未知異常,請聯(lián)系管理員");}public static R error(String msg) {return error(500, msg);}public static R error(int code, String msg) {R r = new R();r.put("code", code);r.put("msg", msg);return r;}public static R ok(String msg) {R r = new R();r.put("msg", msg);return r;}public static R ok(Map<String, Object> map) {R r = new R();r.putAll(map);return r;}public static R ok() {return new R();}public R put(String key, Object value) {super.put(key, value);return this;}
}

http://www.risenshineclean.com/news/41955.html

相關(guān)文章:

  • 網(wǎng)站開發(fā)到發(fā)布佛山優(yōu)化推廣
  • 微信做模板下載網(wǎng)站有哪些企業(yè)網(wǎng)站制作流程
  • 效果圖網(wǎng)站模板南寧網(wǎng)站seo外包
  • 集美網(wǎng)站開發(fā)重慶企業(yè)免費(fèi)建站
  • 網(wǎng)站建設(shè)公司做銷售好不好哪個公司的網(wǎng)站制作
  • 洛陽網(wǎng)站建設(shè)好做不怎么安裝百度
  • 安徽省做網(wǎng)站武漢百度推廣代運(yùn)營
  • 如何給自己的公司網(wǎng)站做優(yōu)化百度關(guān)鍵詞怎么做排名
  • 做百度移動網(wǎng)站優(yōu)網(wǎng)站日常維護(hù)有哪些
  • 怎么區(qū)分模板網(wǎng)站和定制網(wǎng)站網(wǎng)絡(luò)推廣都有什么方式
  • 什么網(wǎng)站做招聘效果好銷售找客戶的app
  • 泰州企業(yè)建站系統(tǒng)下列哪些店鋪適合交換友情鏈接
  • 洛陽市河陽建設(shè)工程有限公司網(wǎng)站站長之家查詢網(wǎng)
  • 上海網(wǎng)絡(luò)推廣公司外包合肥seo排名扣費(fèi)
  • 廣州網(wǎng)站建設(shè)建設(shè)南寧seo網(wǎng)絡(luò)推廣
  • 讓做網(wǎng)站策劃沒經(jīng)驗(yàn)怎么辦成都私人網(wǎng)站建設(shè)
  • 怎么做直播室的網(wǎng)站百度應(yīng)用平臺
  • 哪家公司做企業(yè)網(wǎng)站百度pc網(wǎng)頁版入口
  • 怎建立自己網(wǎng)站做淘寶客軟文寫作的十大技巧
  • 杭州網(wǎng)站制作報價谷歌優(yōu)化培訓(xùn)
  • 寶塔面板怎么搭建網(wǎng)站關(guān)鍵詞優(yōu)化方法有什么步驟
  • 濟(jì)南做網(wǎng)站哪家便宜西安百度公司地址介紹
  • 為什么自己做的網(wǎng)站打開是亂碼百度seo公司整站優(yōu)化
  • 微信開放平臺可以做網(wǎng)站么百度官方網(wǎng)平臺
  • 國內(nèi)個人網(wǎng)站搭建網(wǎng)站頁面設(shè)計
  • 企業(yè)網(wǎng)站經(jīng)典案例合肥今天的最新消息
  • 做窗簾店的網(wǎng)站關(guān)鍵詞競價排名名詞解釋
  • 網(wǎng)站建設(shè)平臺簡介微商引流的最快方法是什么
  • 谷歌瀏覽器在線打開重慶seo代理
  • 帝國cms商城推薦一個seo優(yōu)化軟件