酒水食品做的好网站,网站内容建设的原则是什么,广东的一起做网站,广东衍发建设管理有限公司公司网站摘要
基于Java、SpringBoot和uniapp的在线考试系统安卓APP微信小程序是一种结合了现代Web开发技术和移动应用技术的解决方案#xff0c;旨在为教育机构提供一个方便、高效和灵活的在线考试平台。该系统采用Java语言进行后端开发#xff0c;使用SpringBoot框架简化企业级应用…摘要
基于Java、SpringBoot和uniapp的在线考试系统安卓APP微信小程序是一种结合了现代Web开发技术和移动应用技术的解决方案旨在为教育机构提供一个方便、高效和灵活的在线考试平台。该系统采用Java语言进行后端开发使用SpringBoot框架简化企业级应用的开发流程。同时利用uniapp框架开发跨平台的移动应用程序和微信小程序以满足不同用户的需求。
在这个系统中用户可以在安卓设备上安装APP或通过微信搜索小程序来访问在线考试功能。学生可以参加考试、查看成绩和学习进度教师可以创建和管理试卷设置考试时间限制等。
总之基于Java、SpringBoot和uniapp的在线考试系统安卓APP微信小程序为教育机构提供了一个便捷、高效和灵活的在线考试解决方案有助于提高教育质量和效率。 使用的技术
后端Java语言SpringBoot框架MySql数据库Maven依赖管理等
前端Vue.js语法的uni-app框架。 版本1实现的功能
管理员、教师、学生三种角色
用户登录管理员、教师和学生均可以使用自己的账号和密码进行登录APP
人员管理管理员可以对老师和学生的身份信息编辑、删除老师可以对学生的身份信息进行编辑和删除
考试记录参与过考试的人员可以查看自己的考试记录包括成绩和试题答案
试卷管理管理员和老师可以对试卷进行管理包括添加试卷、添加试题、发布试卷等操作 版本2在1的基础上新增如下功能
由原来的只支持APP改为支持APP和微信小程序
管理员和教师新增PC浏览器端后台管理移动端功能没有减少管理员后台用户管理、试卷管理、题库管理教师后台试卷管理、题库管理
新增题库管理试卷可以从题库选择已有的试题
试卷添加之后可以一键自动组卷添加试题到试卷里面去也可以手动修改试卷的试题内容
教师和管理员可以为试卷添加考试人员只有被添加的人才能进行那套试卷的在线考试。 部分后端代码展示
public ResponseResultObject queryListWithNum(ExamPaper examPaper) {QueryWrapperExamPaper queryWrapper;if(StringUtils.isNotEmpty(examPaper.getPaperName())) {queryWrapper new QueryWrapperExamPaper();queryWrapper.like(paper_name,examPaper.getPaperName());}else {queryWrapper new QueryWrapperExamPaper(examPaper);}ListExamPaper paperList examPaperMapper.selectList(queryWrapper);for (ExamPaper paper:paperList){ExamTest examTest new ExamTest();examTest.setValidFlag(1);examTest.setState(0);examTest.setPid(paper.getPid());QueryWrapperExamTest queryWrapperTest new QueryWrapperExamTest(examTest);paper.setUnStartNum(examTestMapper.selectCount(queryWrapperTest));examTest.setState(1);paper.setPassNum(examTestMapper.selectCount(queryWrapperTest));examTest.setState(2);paper.setFailNum(examTestMapper.selectCount(queryWrapperTest));ExamQuestion examQuestion new ExamQuestion();examQuestion.setValidFlag(1);examQuestion.setType(0);QueryWrapperExamQuestion queryWrapperQuestion new QueryWrapperExamQuestion(examQuestion);paper.setSingleCount(examQuestionMapper.selectCount(queryWrapperQuestion));examQuestion.setType(1);paper.setMultiCount(examQuestionMapper.selectCount(queryWrapperQuestion));examQuestion.setType(2);paper.setJudgeCount(examQuestionMapper.selectCount(queryWrapperQuestion));}return new ResponseResultObject(ResponseCode.SUCCESS,查询成功,paperList);}public ResponseResultObject autoCreatePaper(ExamPaper examPaper) {QueryWrapperExamPaper queryWrapper new QueryWrapperExamPaper(examPaper);examPaper examPaperMapper.selectOne(queryWrapper);ExamQuestion examQuestion new ExamQuestion();examQuestion.setValidFlag(1);examQuestion.setType(0);examQuestion.setPid(examPaper.getPid().intValue());QueryWrapperExamQuestion queryWrapperQuestion new QueryWrapperExamQuestion(examQuestion);examPaper.setSingleCount(examQuestionMapper.selectCount(queryWrapperQuestion));examQuestion.setType(1);examPaper.setMultiCount(examQuestionMapper.selectCount(queryWrapperQuestion));examQuestion.setType(2);examPaper.setJudgeCount(examQuestionMapper.selectCount(queryWrapperQuestion));if(examPaper.getSingleNum()0){int limit examPaper.getSingleNum() - examPaper.getSingleCount();if(limit 0){ListExamQuestion randQue examQuestionMapper.getRandQuestion(0,limit);autoAddItem(randQue, examPaper);}}if(examPaper.getMultiNum()0){int limit examPaper.getMultiNum() - examPaper.getMultiCount();if(limit 0){ListExamQuestion randQue examQuestionMapper.getRandQuestion(1,limit);autoAddItem(randQue, examPaper);}}if(examPaper.getSingleNum()0){int limit examPaper.getJudgeNum() - examPaper.getJudgeCount();if(limit 0){ListExamQuestion randQue examQuestionMapper.getRandQuestion(2,limit);autoAddItem(randQue, examPaper);}}return new ResponseResultObject(ResponseCode.SUCCESS,创建成功);}public void autoAddItem(ListExamQuestion randQue,ExamPaper paper){if(randQuenull||randQue.isEmpty())return;for(ExamQuestion one:randQue){one.setPid(paper.getPid().intValue());one.setQid(null);examQuestionMapper.insert(one);}} 部分前端代码展示
template view classcontainer view classuser-sectionimage classbg src/static/user-bg.jpg/imageview classuser-info-boxview classportrait-boximage stylebackground-color: white; classportrait :srcgetHead()/image/viewview classinfo-box text classusername{{ user.nickName || 游客}}/textview classinfo-box v-ifuser.userNametext classusername姓名text classu-tips-color{{ user.userName }}/text/text/viewview classinfo-box v-ifuser.userClasstext classusername班级text classu-tips-color{{ user.userClass }}/text/text/view/view/view/viewview classu-flex u-direction-row u-row-center v-if!userview classcontainerview classlist-cell styletext-align: center;text classcell-tit stylecolor: #909399;游客无法享受购物的快乐/text/viewview classlist-cell log-out-btn clicktoLogintext classcell-tit前往登录/text/view/view/viewview v-ifuserclasscover-container:style[{transform: coverTransform,transition: coverTransition}]touchstartcoverTouchstarttouchmovecoverTouchmovetouchendcoverTouchendimage classarc src/static/arc.png/imageview v-ifuser.type ! 2view classtj-sction u-p-t-20 u-font-30 stylecolor: #2979ff;管理专区/viewview class stylebackground-color: white;view clickjumpToAddUser(2) classu-p-20 u-border-bottom添加学生/viewview clickjumpToAddUser(1) v-ifuser.type0 classu-p-20 u-border-bottom添加教师/viewview clickjumpToUsrList classu-p-20 u-border-bottom人员管理/viewview clickjumpToResList classu-p-20题库管理/view/view/view!-- 浏览历史 --view classhistory-section iconview classsec-headertext其他功能/text/viewlist-cell iconicon-shezhi1 iconColor#e07472 title设置 border eventClicknavTo(/pages/set/set)/list-celllist-cell iconicon-share iconColor#3f80de title退出登录 border eventClicktoLogout/list-cell/view/view/view
/template
演示视频 基于Java和UniAPP在线考试系统安卓APP微信小程序