基于javaweb+mysql的springboothis智能医院管理系统(java+springboot+vue+maven+mybatis+mysql)

这是一个基于JavaWeb+MySQL的SpringBoot智能医院管理系统,使用了Java、SpringBoot、Vue、Maven和Mybatis技术。适用于课程设计、大作业和项目练习。系统包括用户管理、医疗数据管理等多个功能。
摘要由CSDN通过智能技术生成

基于javaweb+mysql的springboothis智能医院管理系统(java+springboot+vue+maven+mybatis+mysql)

运行环境

Java≥8、MySQL≥5.7、Node.js≥10

开发工具

后端:eclipse/idea/myeclipse/sts等均可配置运行

前端:WebStorm/VSCode/HBuilderX等均可

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

基于javaweb+mysql的SpringBoothis智能医院管理系统(java+springboot+vue+maven+mybatis+mysql)

一、项目运行 环境配置:

Jdk1.8 + Tomcat8.5 + Mysql + HBuilderX(Webstorm也行)+ Eclispe(IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持)。

项目技术:

Spring + SpringBoot+ mybatis + Maven + Vue 等等组成,B/S模式 + Maven管理等等。

    WithdnumService withdnumService;

    @RequestMapping("/reception/loadingwith")
    public Map<String,Object> loadingreg(){
   //退号页面加载信息

        return withdnumService.loading();
    }

    @RequestMapping("/reception/withby")
    public Map<String,Object> searchby(@RequestBody Map<String,Object> map){
   
        String medRecNum=(String)map.get("medRecNum");
        String name=(String)map.get("name");
        String idNum=(String)map.get("idNum");
        return withdnumService.searchBy(medRecNum,name,idNum);

    }

    @PostMapping("/reception/czwith")
    public Map<String,Object> czwith(@RequestBody WithShow withShow){
   
        int i = withdnumService.backH(withShow.getRegID());
        String s="true";
        if(i==0){
   
            s="false";
        }
        Map<String,Object> map= new HashMap<>();
        map.put("flag",s);
        return map;
    }
}

/*
* @CrossOrigin:跨域
* @RestController:标识只返回字符串,而不是视图解析
    public Map<String,Object> searchdata(@RequestBody Map<String,Object> map){
   
        String departID=(String)map.get("depart");
        List<DocTableData> byDep = docschMagService.getByDep(departID);
        ListTableData listTableData= new ListTableData();
        listTableData.setDepID(departID);
        listTableData.setList(byDep);
        Map<String,Object> map1=new HashMap<>();
        map1.put("table",listTableData);
        map1.put("flag","yes");
        return map1;
    }

    @PostMapping("/keepdata")
    public Map<String,Object> update(@RequestBody ListTableData list){
   
        Map<String,Object> map=new HashMap<>();
        List<DocTableData> DocTableDatas = list.getList();
        boolean isupdate = docschMagService.update(list);
        if(isupdate){
   
            map.put("flag","yes");
        }
        return map;
    }

}

@CrossOrigin
        return res;
    }

    /**
     * 确诊界面的初始化,当换人是(点击选择时)
     * 返回检查项,西医/中医诊断,诊断结果,处理意见以及两个ICD编码的所有信息,以供医生添加使用
     * @param map
     * @return
     */
    @RequestMapping("/outdepart/dia/getQueZhenDate")
    public Map<String,Object> loading(@RequestBody Map<String,Object> map){
   
        String reg_ID=(String) map.get("patient_reg_id");
        Map<String,Object> res=new HashMap<>();
        Map<String, Object> icd1 = diagnoseService.getICD();
        res.put("childtable1",icd1.get("childtable1"));
        res.put("childtable2",icd1.get("childtable2"));
        if(reg_ID.length()!=14){
   //检查是不是真的挂号单号
            return res;
        }
        //根据挂号单号就去查找
        List<CheckItem> inspection = diagnoseService.getInspection(reg_ID);//获取检查项
        Map<String, Object> icd = diagnoseService.getICD(reg_ID);
        PatientMessage message = diagnoseService.getMessage(reg_ID);

        ZDMessage zdMessage=new ZDMessage(message);

        res.put("table",inspection);
        res.put("form",zdMessage);
        res.put("table1",icd.get("table1"));
        res.put("table2",icd.get("table2"));
        res.put("isAdd","true");

        return res;
    }

    @RequestMapping("/outdepart/addwicd")
    public Map<String,Object> addWicd(@RequestBody Map<String,Object> map){
   //添加西医诊断
        String regID=(String) map.get("regID");
        String icdID=(String) map.get("icdID");
        int addicd = diagnoseService.addicd(regID, icdID);

        Map<String,Object> res=new HashMap<>();
        if(addicd==0){
   
            res.put("flag","false");
        }else {
   
            res.put("flag","true");
        String flag="yes";
        userService.deleteById(id);

        res.put("flag",flag);
        return res;
    }

    @RequestMapping("/updateUser")
    public Map<String ,Object> updataUser(@RequestBody UserShow user){
   
        User user1=new User(user);
        boolean isupdate = userService.updateUser(user1);
        HashMap<String,Object> res=new HashMap<>();
        String flag="yes";

        return res;
    }

    @RequestMapping("/userloading")
    public Map<String,Object> loading(){
   
        Map<String, Object> loading = userService.loading();
        return loading;
    }

}

@CrossOrigin
@RestController
public class PatientregController {
   

    @Autowired
    PatientregService patientregService;
        return res;
    }
}

@CrossOrigin
@RestController
public class MedicineController {
   
    @Autowired
    MedicineService medicineService;

    @RequestMapping("/addMedicine")
    public Map<String, Object> addMedicine(@RequestBody Medicine medicine){
   
        
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值