赞
踩
基于javaweb+springboot的医院管理系统(java+Springboot+ssm+mysql+maven)
一、项目简述
功能:该项目是用springboot+layui+shiro写的医院管理系 统,该系统的业务比较复杂,数据库一共有36张表。
项目分为门诊管理、住院管理、系统管理、统计管理、数 据中心、排班管理、仓库管理、药房管理
本系统重点是门诊和住院管理 填写患者的详细信息,如姓名,年龄、手机号、性别、身 份证号、选择科室挂号类型医生、会出来相对的挂号费, 点击提交的时候会判断你输入的各项信息是否正确,如果 该手机号或者该身份证号正在就诊,则会提示该手机号或 者该身份证号正在就诊。挂号页面会根据单选按钮来查询 全部的挂号,当天的挂号和预细勺挂号,并且可以针对当 天的挂号去给用户进行一系列操作,如转入住院,如果该 病人有正在进行的项目则不能转入住院,需要把相关费用 交完后才能转入住院
门诊管理的功能: 用户挂号、处方划价、项目划价、项目缴费、项目检查、 药品缴费、门诊患者库
住院管理的功能: 入院登记、缴费管理、药品记账、项目记账、出院结算
系统管理功能: 菜单管理、角色管理、用户管理、图标管理、数据源监控 管理,其中数据源的登陆账号和密码是:admin/admin
统计管理: 门诊月度统计、住院月度统计、门诊年度统计、住院年度 统计、医生统计、门诊当天统计 数据中心
科室中心管理、医生列表管理、药品产地管理、项目大类 管理、挂号类型管理、仓库管理、经办人管理、供货商管 理、药品分类管理、药品字典管理
排班: 医生排班U里 仓库管理: 入库单管理、库存查询、出库单管理、操作记录管理等
药房管理: 药房详情管理、门诊取药管理、住院取药管理
二、项目运行
环境配置: Jdk1.8 + Tomcat8.5 + mysql + Eclispe (IntelliJ IDEA,Eclispe,MyEclispe,Sts 都支持)
项目技术: JSP +Springboot+ SpringMVC + MyBatis + html+ css + JavaScript + JQuery + Ajax + Layui+ maven等等
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
private StoreService storeService;
@Autowired
private PutinService putinService;
@Autowired
private RecordService rs;
//查询药品仓库
@RequestMapping("selectdrugstore")
@ResponseBody
public Object seldrugstore(Drugstore drugstore, Integer page, Integer limit) {
PageHelper.startPage(page, limit);
List<Drugstore> drugstores = storeService.selStore(drugstore);
PageInfo pageInfo = new PageInfo(drugstores);
Map<String, Object> drugstoresData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
int count = areaService.count(Area); if(count==0){ int i = areaService.addArea(Area); if(i==1){ return "添加成功"; }else{ return "添加失败"; } }else { return Area.getAreaName()+"已存在"; } } /* * 删除生产地址 * */ @RequestMapping("deleteArea") @ResponseBody
return "修改失败"; } } //供货商 @RequestMapping("bpisselupplier") public Object bpisselupplier(Upplier upplier, Model model) { List<Upplier> selupplier = storeService.selupplier(upplier); return "drugstore/c_beputinstorage"; } //查询药品清单 @RequestMapping("selectdgty") @ResponseBody public Object selectdgty(Drugdictionary drugdictionary, Integer page, Integer limit) { PageHelper.startPage(page, limit); List<Drugdictionary> drugdictiona = putinService.seldcy(drugdictionary); PageInfo pageInfo = new PageInfo(drugdictiona); Map<String, Object> drugstoresData = new HashMap<String, Object>(); //这是layui要求返回的json数据格式 drugstoresData.put("code", 0); drugstoresData.put("msg", ""); //将全部数据的条数作为count传给前台(一共多少条)
Map<String, Object> drugstoresData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
drugstoresData.put("code", 0);
drugstoresData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
drugstoresData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
drugstoresData.put("data", pageInfo.getList());
return drugstoresData;
}
@RequestMapping("updrug") @ResponseBody public Object updrugstore(Drugstore drugstore) { int add = storeService.updrugstore(drugstore); if (add == 1) { return "修改成功"; } else { return "修改失败"; } } //供货商 @RequestMapping("bpisselupplier") public
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。