• 计算机专业毕业设计项目推荐09-个人医疗系统(Spring+Js+Mysql)


    介绍

    • 本系列(后期可能博主会统一为专栏)博文献给即将毕业的计算机专业同学们,因为博主自身本科和硕士也是科班出生,所以也比较了解计算机专业毕业设计流程以及模式,在编写的过程中可以说几乎是参照毕业设计目录样式来进行的.
    • 博主分享的基本都是自己接触过的项目Demo,整理了一下自己做过的项目,将可以作为毕业设计的项目分享给大家。(注:项目基本都是博主自己用过的,所以不存在远古代码无法使用

    系列的文章后端都是采用Java或者Go语言,前端主要是采用的原生JsVue框架搭建的。数据都是采用Mysql。还有较少的微信小程序开发。开发工具这些可以自己选择,我分享一下自己的Go语言开发我用的Vscode,前端用的HBuilder X,测试接口Postman,Java开发用的IDEA。数据库查看用的navicat,上传服务器Xshell 7和Xftp 7。

    系统总体开发情况-功能模块

    该系统采用MVC架构,系统分为前端个人医疗系统页面和后端逻辑处理模块,后台管理界面采用的Java为开发语言,使用Spring框架,其前端采用Html和Js,数据库运用的Mysql。该系统的管理员负责创建和管理用户;上传药品、管理医生和管理医院;也可以找到相应医院的简介和地址。

    后端Model存储各项实体模型,Dao用于规范实现类,service用作逻辑处理,Controller作为业务控制操作数据库。前端使用jsp实现页面开发
    相关ER图
    在这里插入图片描述

    各部分模块实现

    在这里插入图片描述

    if (StringUtil.isEmpty(userName) || StringUtil.isEmpty(password)) {
    			request.setAttribute("error", "用户名或密码为空!");
    			request.getRequestDispatcher("shouye/index.jsp").forward(request,
    					response);
    		} else {
    			Jcpeizhi jcpeizhi = jiazaiPeizhi();
    			if(jcpeizhi == null){
    				request.setAttribute("error", "系统还未配置参数,联系管理员!");
    				// 服务器跳转
    				request.getRequestDispatcher("shouye/index.jsp").forward(request, response);
    			}
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

    @RequestMapping("/addgonggao")
    	public void addgonggao(HttpServletRequest request, HttpServletResponse response)
    			throws Exception {
    		JSONObject result = new JSONObject();
    		request.setCharacterEncoding("UTF-8");
    		response.setCharacterEncoding("UTF-8");
    		String gonggaoName = (String) request.getParameter("gonggaoName");
    		String gonggaoMark = (String) request.getParameter("gonggaoMark");
    		String gonggaoDate = (String) request.getParameter("gonggaoDate");
    		String ggtypeId = (String) request.getParameter("ggtypeId");
    		String gonggaoId = (String) request.getParameter("gonggaoId");
    		gonggao gonggao = new gonggao();
    
    		if (StringUtil.isNotEmpty(gonggaoId)) {
    			gonggao = gonggaoService.getgonggao(Integer.parseInt(gonggaoId));
    		}
    		if (StringUtil.isNotEmpty(gonggaoName)) {
    			gonggao.setgonggaoName(gonggaoName);
    		}
    		if (StringUtil.isNotEmpty(gonggaoMark)) {
    			gonggao.setgonggaoMark(gonggaoMark);
    		}
    		if (StringUtil.isNotEmpty(gonggaoDate)) {
    			gonggao.setgonggaoDate(DateUtil.formatString(gonggaoDate,
    					"yyyy-MM-dd HH:mm:ss"));
    		}
    		if (StringUtil.isNotEmpty(ggtypeId)) {
    			gonggao.setGgtypeId(Integer.parseInt(ggtypeId));
    			Ggtype ggtype = new Ggtype();
    			ggtype = ggtypeService.getGgtype(Integer.parseInt(ggtypeId));
    			gonggao.setGgtypeName(ggtype.getGgtypeName());
    		}
    		try {
    			if (StringUtil.isNotEmpty(gonggaoId)) {
    				gonggaoService.modifygonggao(gonggao);
    				result.put("success", "true");
    				ResponseUtil.write(response, result);
    			} else {
    				Date date = new Date();
    				gonggao.setgonggaoDate(date);
    				gonggaoService.save(gonggao);
    				result.put("success", "true");
    				ResponseUtil.write(response, result);
    			}
    		} catch (Exception e) {
    			e.printStackTrace();
    		}
    	}
    
    	@RequestMapping("/deletegonggao")
    	public void deletegonggao(HttpServletRequest request, HttpServletResponse response)
    			throws Exception {
    		JSONObject result = new JSONObject();
    		String delIds = (String) request.getParameter("delIds");
    		try {
    			String str[] = delIds.split(",");
    			for (int i = 0; i < str.length; i++) {
    				gonggaoService.deletegonggao(Integer.parseInt(str[i]));
    			}
    			result.put("success", "true");
    			result.put("delNums", str.length);
    			ResponseUtil.write(response, result);
    		} catch (Exception e) {
    			e.printStackTrace();
    		}
    	}
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66

    在这里插入图片描述

    这里只展示了部分代码和部分截图

    最后想说的
    对项目有任何疑问,或者说想学习项目开发的都可以来问博主哦~。也可以选题,开题指导,论文整体框架或者项目整体开发指导。

    计算机专业毕业设计项目(附带有配套源码以及相关论文,有需要的同学可以联系博主,但是不免费哦)。

    联系方式
    微信号:wxid_rrun0cqao5ny22

    在这里插入图片描述

  • 相关阅读:
    【CMU15-445数据库】bustub Project #1:Buffer Pool
    SpringSecurity——SG
    二叉树(Binary Tree)
    springboot+mybatisplus前后端分离——纯后端(万字)开发流程
    【兔子王赠书第2期】《案例学Python(基础篇)》
    性能测试:springboot-2.x vs actix-web-4.x benchmark
    第6周 .NET
    携职教育:对于想进入财务工作的人来说,第一个证考CPA还是CMA?
    FL Studio21.1.0水果中文官方网站
    【docker】docker容器搭建分布式LNMP,附错误及解决方案
  • 原文地址:https://blog.csdn.net/qq_41650733/article/details/133282034