基于javaweb+jsp的就业管理系统设计和实现(java+springboot+ssm)
就业管理系统:
该毕业设计采用了spring boot,spring,spring mvc,mybatis作为后端技术框架,这些组合稳定抗打,前端使用了layui,界面美观大方。
主要解决了各大高校统计应届毕业生就业的问题,
功能包括:登录,就业信息管理,就业统计管理,用户管理,就业信息管理中包含了专业,岗位,企业等多个搜索条件,对于打算寻找毕业设计或者找项目练手的同学来说,该系统相对功能简单,上手较快。
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
return CommonResult.generateSuccessResult(1, 1);
}
}
用户信息操作业务:
@Controller
public class UserController {
@Autowired
UserService userService;
@RequestMapping("/employment/usermanage")
public String index(){
return CommonResult.generateSuccessResult(result.size(), result);
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/addinfo")
public CommonResult<Integer> addInfo(EmploymentInfo info){
info.setInformationId(UUID.randomUUID().toString());
employmentInfoService.addEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateinfo")
public CommonResult<Integer> updateInfo(EmploymentInfo info){
employmentInfoService.updateEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/delinfo/{infoId}")
public CommonResult<Integer> delInfo(@PathVariable("infoId") String infoId){
employmentInfoService.deleteEmploymentInfo(infoId);
return CommonResult.generateSuccessResult(1, 1);
}
}
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
employmentInfoService.addEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateinfo")
public CommonResult<Integer> updateInfo(EmploymentInfo info){
employmentInfoService.updateEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/delinfo/{infoId}")
public CommonResult<Integer> delInfo(@PathVariable("infoId") String infoId){
employmentInfoService.deleteEmploymentInfo(infoId);
return CommonResult.generateSuccessResult(1, 1);
}
}
用户信息操作业务:
@Controller
public class UserController {
@Autowired
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
@ResponseBody
@RequestMapping("/employment/addinfo")
public CommonResult<Integer> addInfo(EmploymentInfo info){
info.setInformationId(UUID.randomUUID().toString());
employmentInfoService.addEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateinfo")
public CommonResult<Integer> updateInfo(EmploymentInfo info){
employmentInfoService.updateEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/delinfo/{infoId}")
public CommonResult<Integer> delInfo(@PathVariable("infoId") String infoId){
employmentInfoService.deleteEmploymentInfo(infoId);
return CommonResult.generateSuccessResult(1, 1);
}
}
用户信息操作业务:
@Controller
public class UserController {
@Autowired
UserService userService;
@RequestMapping("/employment/usermanage")
public String index(){
return "system/usermanage/usermanage";
}
@ResponseBody
@RequestMapping("/employment/getallusers")
public CommonResult<List<User>> getAllUsers(User user, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<User> result = userService.getAllUsers(user, pageNum, pageSize);
return CommonResult.generateSuccessResult(result.size(), result);
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
UserService userService;
@RequestMapping("/employment/usermanage")
public String index(){
return "system/usermanage/usermanage";
}
@ResponseBody
@RequestMapping("/employment/getallusers")
public CommonResult<List<User>> getAllUsers(User user, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<User> result = userService.getAllUsers(user, pageNum, pageSize);
return CommonResult.generateSuccessResult(result.size(), result);
}
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateinfo")
public CommonResult<Integer> updateInfo(EmploymentInfo info){
employmentInfoService.updateEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/delinfo/{infoId}")
public CommonResult<Integer> delInfo(@PathVariable("infoId") String infoId){
employmentInfoService.deleteEmploymentInfo(infoId);
return CommonResult.generateSuccessResult(1, 1);
}
}
用户信息操作业务:
@Controller
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
return "system/employmentinfo/employmentinfo";
}
@ResponseBody
@RequestMapping("/employment/getallinfo")
public CommonResult<List<EmploymentInfo>> getAllInfo(EmploymentInfo employmentInfo, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<EmploymentInfo> infoList = employmentInfoService.getAllEmploymentInfo(employmentInfo, pageNum, pageSize);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/getinfo")
public CommonResult<List<EmploymentInfo>> getinfo(EmploymentInfo info, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<EmploymentInfo> infoList = employmentInfoService.getEmploymentInfo(info, pageNum, pageSize);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/addinfo")
public CommonResult<Integer> addInfo(EmploymentInfo info){
info.setInformationId(UUID.randomUUID().toString());
return CommonResult.generateSuccessResult(result.size(), result);
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
return "system/employmentinfo/employmentinfo";
}
@ResponseBody
@RequestMapping("/employment/getallinfo")
public CommonResult<List<EmploymentInfo>> getAllInfo(EmploymentInfo employmentInfo, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<EmploymentInfo> infoList = employmentInfoService.getAllEmploymentInfo(employmentInfo, pageNum, pageSize);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return CommonResult.generateSuccessResult(result.size(), result);
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
public CommonResult<List<EmploymentInfo>> getinfo(EmploymentInfo info, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<EmploymentInfo> infoList = employmentInfoService.getEmploymentInfo(info, pageNum, pageSize);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/addinfo")
public CommonResult<Integer> addInfo(EmploymentInfo info){
info.setInformationId(UUID.randomUUID().toString());
employmentInfoService.addEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateinfo")
public CommonResult<Integer> updateInfo(EmploymentInfo info){
employmentInfoService.updateEmploymentInfo(info);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/delinfo/{infoId}")
public CommonResult<Integer> delInfo(@PathVariable("infoId") String infoId){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
userService.addUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@ResponseBody
@RequestMapping("/employment/getallusers")
public CommonResult<List<User>> getAllUsers(User user, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<User> result = userService.getAllUsers(user, pageNum, pageSize);
return CommonResult.generateSuccessResult(result.size(), result);
}
@ResponseBody
@RequestMapping("/employment/getuserbyaccount/{userAccount}")
public CommonResult<User> getUserByAccount(@PathVariable("userAccount") String userAccount){
return CommonResult.generateSuccessResult(1, userService.getUserByAccount(userAccount));
}
@ResponseBody
@RequestMapping("/employment/adduser")
public CommonResult<Integer> addUser(User user){
user.setUserId(UUID.randomUUID().toString());
user.setUserPwd(MD5Util.getMD5(user.getUserPwd()));
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
return "system/employmentinfo/employmentinfo";
}
@ResponseBody
@RequestMapping("/employment/getallinfo")
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
return "system/employmentinfo/employmentinfo";
}
@ResponseBody
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
return "system/employmentinfo/employmentinfo";
}
@ResponseBody
@RequestMapping("/employment/getallinfo")
public CommonResult<List<EmploymentInfo>> getAllInfo(EmploymentInfo employmentInfo, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
List<EmploymentInfo> infoList = employmentInfoService.getAllEmploymentInfo(employmentInfo, pageNum, pageSize);
CommonResult<List<EmploymentInfo>> rtInfoResult = CommonResult.generateSuccessResult(infoList.size(), infoList);
return rtInfoResult;
}
@ResponseBody
@RequestMapping("/employment/getinfo")
public CommonResult<List<EmploymentInfo>> getinfo(EmploymentInfo info, @RequestParam("limit") int pageSize, @RequestParam("page") int pageNum){
}
@ResponseBody
@RequestMapping("/employment/updateuser")
public CommonResult<Integer> updateUser(User user){
userService.updateUser(user);
return CommonResult.generateSuccessResult(1, 1);
}
@ResponseBody
@RequestMapping("/employment/deluser/{userId}")
public CommonResult<Integer> delInfo(@PathVariable("userId") String userId){
userService.deleteUser(userId);
return CommonResult.generateSuccessResult(1, 1);
}
}
员工信息操作业务:
@Controller
public class EmploymentInfoController {
@Autowired
EmploymentInfoService employmentInfoService;
@RequestMapping({"/employment/index", "/employment/employmentinfo"})
public String index(){
适用
课程设计,大作业,毕业设计,项目练习,学习演示等