大家好!我是岛上程序猿,感谢您阅读本文,欢迎一键三连哦。
💞当前专栏:Java毕业设计
精彩专栏推荐👇🏻👇🏻👇🏻
开发运行环境
- 框架:ssm
- JDK版本:JDK1.8
- 服务器:tomcat7
- 数据库:mysql 5.7
- 数据库工具:Navicat12
- 开发软件:eclipse/myeclipse/idea
- Maven包:Maven3.3.9
- 浏览器:谷歌浏览器
论文目录
❤️【如需源码或全文请按文末获取联系】
一、项目简介
主要实现个人中心、用户管理、问卷管理、调查统计结果管理、任务提交管理、留言板管理、试卷管理、试题管理、管理员管理、系统管理、考试管理等功能模块。
二、系统设计
2.1软件功能模块设计
高校毕业生就业满意度调查统计系统结构图,如图4-3所示。
2.2数据库设计
管理员信息属性图如图4-5所示。
问卷管理属性图如图4-6所示
调查统计结果管理属性图如图4-7所示。
三、系统项目部分截图
3.1用户前台功能模块
高校毕业生就业满意度调查统计系统,在高校毕业生就业满意度调查统计系统可以查看首页、问卷、就业咨询、试卷列表、新闻资讯、留言反馈、我的、跳转到后台等内容,如图5-1所示。
问卷,在问卷页面可以填写问卷名称、问卷封面、问卷、发布时间、问卷详情等信息进行提交,如图5-3所示。
3.2管理员功能模块
管理员登录,通过填写用户名、密码等信息,输入完成后选择登录即可进入高校毕业生就业满意度调查统计系统,如图5-4所示。
高校毕业生就业满意度调查统计系统,在高校毕业生就业满意度调查统计系统可以查看个人中心、用户管理、问卷管理、调查统计结果管理、任务提交管理、留言板管理、试卷管理、试题管理、管理员管理、系统管理、考试管理等内容,如图5-5所示。
用户管理,通过填写账号、姓名、性别、年龄、手机、邮箱、照片、毕业学校、毕业年份等信息进行查看、修改、删除操作,如图5-6所示。
调查统计结果管理,在调查统计结果管理页面可以查看问卷名称、问卷封面、就业满意度、统计人数、提交时间等信息进行查看、修改、删除等操作,如图5-8所示。
四、部分核心代码
package com.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
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 com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.ExamquestionEntity;
import com.entity.view.ExamquestionView;
import com.service.ExamquestionService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
/**
* 试题表
* 后端接口
* @author
* @email
* @date 2021-03-11 21:52:37
*/
@RestController
@RequestMapping("/examquestion")
public class ExamquestionController {
@Autowired
private ExamquestionService examquestionService;
/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,ExamquestionEntity examquestion,
HttpServletRequest request){
EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>();
PageUtils page = examquestionService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, examquestion), params), params));
request.setAttribute("data", page);
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,ExamquestionEntity examquestion, HttpServletRequest request){
EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>();
PageUtils page = examquestionService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, examquestion), params), params));
request.setAttribute("data", page);
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( ExamquestionEntity examquestion){
EntityWrapper<ExamquestionEntity> ew = new EntityWrapper<ExamquestionEntity>();
ew.allEq(MPUtil.allEQMapPre( examquestion, "examquestion"));
return R.ok().put("data", examquestionService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(ExamquestionEntity examquestion){
EntityWrapper< ExamquestionEntity> ew = new EntityWrapper< ExamquestionEntity>();
ew.allEq(MPUtil.allEQMapPre( examquestion, "examquestion"));
ExamquestionView examquestionView = examquestionService.selectView(ew);
return R.ok("查询试题表成功").put("data", examquestionView);
}
/**
* 后端详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
ExamquestionEntity examquestion = examquestionService.selectById(id);
return R.ok().put("data", examquestion);
}
/**
* 前端详情
*/
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
ExamquestionEntity examquestion = examquestionService.selectById(id);
return R.ok().put("data", examquestion);
}
/**
* 后端保存
*/
@RequestMapping("/save")
public R save(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){
examquestion.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(examquestion);
examquestionService.insert(examquestion);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){
examquestion.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(examquestion);
examquestionService.insert(examquestion);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
public R update(@RequestBody ExamquestionEntity examquestion, HttpServletRequest request){
//ValidatorUtils.validateEntity(examquestion);
examquestionService.updateById(examquestion);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
examquestionService.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<ExamquestionEntity> wrapper = new EntityWrapper<ExamquestionEntity>();
if(map.get("remindstart")!=null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")!=null) {
wrapper.le(columnName, map.get("remindend"));
}
int count = examquestionService.selectCount(wrapper);
return R.ok().put("count", count);
}
}
获取源码或论文
如需对应的论文或源码,以及其他定制需求,也可以下方微信联系我。