作者主页:源码空间站2022
简介:Java领域优质创作者、Java项目、学习资料、技术互助
文末获取源码
项目介绍
本项目分为管理员、医生、病人三种角色,
 管理员的功能包含如下:
 个人信息:个人资料、修改密码
 系统管理:用户管理、角色管理、部门管理、菜单管理、字典管理
 药物信息管理
 居民健康信息
 居民就诊历史
 我的预约信息
 居民医保信息
 医生的功能包含如下:
 个人信息:个人资料、修改密码
 药物信息管理
 居民健康信息
 居民就诊历史
 我的预约信息
 居民医保信息
 病人的功能包含如下:
 个人信息:个人资料、修改密码
 居民医保信息
 居民健康信息
 居民就诊历史
我的预约信息
环境需要
1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。
 2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA;
 3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可
 4.硬件环境:windows 7/8/10 1G内存以上;或者 Mac OS; 
 5.数据库:MySql 5.7或8.0版本;
6.是否Maven项目:是;
技术栈
1. 后端:SpringBoot+mybatis-plus
2. 前端:HTML+CSS+javascript+jQuery+bootstrap+ztree
使用说明
1. 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件;
 2. 使用IDEA/Eclipse/MyEclipse导入项目,导入成功后请执行maven clean;maven install命令,然后运行;
 3. 将项目中application.yml配置文件中的数据库配置改为自己的配置;
 4. 运行项目,在浏览器中输入http://localhost:8080/ 登录
 管理员账号/密码:admin/111111
 医生账号/密码:doctor/111111
病人账号/密码:doctor/111111
运行截图






代码相关
医生预约控制器
@Controller
@RequestMapping("/doctorPoint")
public class DoctorPointController extends BaseController {
    private String PREFIX = "/doctor_point/doctorPoint/";
    @Autowired
    private IDoctorPointService doctorPointService;
    /**
     * 跳转到医生预约首页
     */
    @RequestMapping("")
    public String index() {
        return PREFIX + "doctorPoint.html";
    }
    /**
     * 跳转到添加医生预约
     */
    @RequestMapping("/doctorPoint_add")
    public String doctorPointAdd() {
        return PREFIX + "doctorPoint_add.html";
    }
    /**
     * 跳转到修改医生预约
     */
    @RequestMapping("/doctorPoint_update/{doctorPointId}")
    public String doctorPointUpdate(@PathVariable Integer doctorPointId, Model model) {
        DoctorPoint doctorPoint = doctorPointService.selectById(doctorPointId);
        model.addAttribute("item",doctorPoint);
        LogObjectHolder.me().set(doctorPoint);
        return PREFIX + "doctorPoint_edit.html";
    }
    /**
     * 获取医生预约列表
     */
    @RequestMapping(value = "/list")
    @ResponseBody
    public Object list(String condition) {
        return doctorPointService.selectList(null);
    }
    /**
     * 新增医生预约
     */
    @RequestMapping(value = "/add")
    @ResponseBody
    public Object add(DoctorPoint doctorPoint) {
        doctorPointService.insert(doctorPoint);
        return SUCCESS_TIP;
    }
    /**
     * 删除医生预约
     */
    @RequestMapping(value = "/delete")
    @ResponseBody
    public Object delete(@RequestParam Integer doctorPointId) {
        doctorPointService.deleteById(doctorPointId);
        return SUCCESS_TIP;
    }
    /**
     * 修改医生预约
     */
    @RequestMapping(value = "/update")
    @ResponseBody
    public Object update(DoctorPoint doctorPoint) {
        doctorPointService.updateById(doctorPoint);
        return SUCCESS_TIP;
    }
    /**
     * 医生预约详情
     */
    @RequestMapping(value = "/detail/{doctorPointId}")
    @ResponseBody
    public Object detail(@PathVariable("doctorPointId") Integer doctorPointId) {
        return doctorPointService.selectById(doctorPointId);
    }
}
 
药物管理控制器
@Controller
@RequestMapping("/medicineInfo")
public class MedicineInfoController extends BaseController {
    private String PREFIX = "/medicinemanager/medicineInfo/";
    @Autowired
    private IMedicineInfoService medicineInfoService;
    /**
     * 跳转到药物管理首页
     */
    @RequestMapping("")
    public String index() {
        return PREFIX + "medicineInfo.html";
    }
    /**
     * 跳转到添加药物管理
     */
    @RequestMapping("/medicineInfo_add")
    public String medicineInfoAdd() {
        return PREFIX + "medicineInfo_add.html";
    }
    /**
     * 跳转到修改药物管理
     */
    @RequestMapping("/medicineInfo_update/{medicineInfoId}")
    public String medicineInfoUpdate(@PathVariable Integer medicineInfoId, Model model) {
        MedicineInfo medicineInfo = medicineInfoService.selectById(medicineInfoId);
        model.addAttribute("item",medicineInfo);
        LogObjectHolder.me().set(medicineInfo);
        return PREFIX + "medicineInfo_edit.html";
    }
    /**
     * 获取药物管理列表
     */
    @RequestMapping(value = "/list")
    @ResponseBody
    public Object list(String condition) {
        return medicineInfoService.selectList(null);
    }
    /**
     * 新增药物管理
     */
    @RequestMapping(value = "/add")
    @ResponseBody
    public Object add(MedicineInfo medicineInfo) {
        medicineInfoService.insert(medicineInfo);
        return SUCCESS_TIP;
    }
    /**
     * 删除药物管理
     */
    @RequestMapping(value = "/delete")
    @ResponseBody
    public Object delete(@RequestParam Integer medicineInfoId) {
        medicineInfoService.deleteById(medicineInfoId);
        return SUCCESS_TIP;
    }
    /**
     * 修改药物管理
     */
    @RequestMapping(value = "/update")
    @ResponseBody
    public Object update(MedicineInfo medicineInfo) {
        medicineInfoService.updateById(medicineInfo);
        return SUCCESS_TIP;
    }
    /**
     * 药物管理详情
     */
    @RequestMapping(value = "/detail/{medicineInfoId}")
    @ResponseBody
    public Object detail(@PathVariable("medicineInfoId") Integer medicineInfoId) {
        return medicineInfoService.selectById(medicineInfoId);
    }
}
 
居民管理控制器
@Controller
@RequestMapping("/patientInfo")
public class PatientInfoController extends BaseController {
    private String PREFIX = "/patient/patientInfo/";
    @Autowired
    private IPatientInfoService patientInfoService;
    /**
     * 跳转到居民管理首页
     */
    @RequestMapping("")
    public String index() {
        return PREFIX + "patientInfo.html";
    }
    /**
     * 跳转到添加居民管理
     */
    @RequestMapping("/patientInfo_add")
    public String patientInfoAdd() {
        return PREFIX + "patientInfo_add.html";
    }
    /**
     * 跳转到修改居民管理
     */
    @RequestMapping("/patientInfo_update/{patientInfoId}")
    public String patientInfoUpdate(@PathVariable Integer patientInfoId, Model model) {
        PatientInfo patientInfo = patientInfoService.selectById(patientInfoId);
        model.addAttribute("item",patientInfo);
        LogObjectHolder.me().set(patientInfo);
        return PREFIX + "patientInfo_edit.html";
    }
    /**
     * 获取居民管理列表
     */
    @RequestMapping(value = "/list")
    @ResponseBody
    public Object list(String condition) {
        return patientInfoService.selectList(null);
    }
    /**
     * 新增居民管理
     */
    @RequestMapping(value = "/add")
    @ResponseBody
    public Object add(PatientInfo patientInfo) {
        patientInfoService.insert(patientInfo);
        return SUCCESS_TIP;
    }
    /**
     * 删除居民管理
     */
    @RequestMapping(value = "/delete")
    @ResponseBody
    public Object delete(@RequestParam Integer patientInfoId) {
        patientInfoService.deleteById(patientInfoId);
        return SUCCESS_TIP;
    }
    /**
     * 修改居民管理
     */
    @RequestMapping(value = "/update")
    @ResponseBody
    public Object update(PatientInfo patientInfo) {
        patientInfoService.updateById(patientInfo);
        return SUCCESS_TIP;
    }
    /**
     * 居民管理详情
     */
    @RequestMapping(value = "/detail/{patientInfoId}")
    @ResponseBody
    public Object detail(@PathVariable("patientInfoId") Integer patientInfoId) {
        return patientInfoService.selectById(patientInfoId);
    }
}
 
如果也想学习本系统,下面领取。回复:090springboot










![[Python图像识别] 五十一.水书图像识别之利用数据增强扩充图像数据集](https://img-blog.csdnimg.cn/22b1dae5ef244d4f9ff86a826cf69ff2.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBARWFzdG1vdW50,size_20,color_FFFFFF,t_70,g_se,x_16#pic_center)








