源码获取:博客首页 "资源" 里下载!一、项目简述
本系统功能包括:实现了挂号收费,门诊管理,划价收 费,药房取药,体检管理,药房管理,系统维护等各个模块功能,非常不错。
二、项目运行
环境配置: Jdk1.8 + Tomcat8.5 + Mysql + Eclispe (IntelliJ IDEA,Eclispe,MyEclispe,Sts 都支持)
项目技术: JSP +SpringBoot + MyBatis + Bootstrap+ Css + JavaScript + JQuery + Ajax + SpringDataJPA+ Maven等等。
文章图片
文章图片
文章图片
文章图片
文章图片
管理员操作业务控制器:
/**
* 管理员操作业务控制器
*/
@RestController
@RequestMapping(value = "https://www.it610.com/admin")
@Api(tags = "管理员操作API")
public class AdminController {@Autowired
private IAdminService iadminService;
/**
* 新建角色
*
* @param roleVO
* @return
*/
@RequestMapping(value = "https://www.it610.com/createRole", method = RequestMethod.POST)
public BaseResponse createRole(@RequestBody @Validated RoleVO roleVO) {return iadminService.createRole(roleVO);
}/**
* 后台添加账户
*
* @param reqVO
* @return
*/
@RequestMapping(value = "https://www.it610.com/adduser", method = RequestMethod.POST)
public BaseResponse saveUserAndSendEmailTemp(@RequestBody @Validated UserRegisterReqVO reqVO) {return iadminService.saveUserAndSendEmailTemp(reqVO);
}/**
* 后台添加角色
*
* @param addRoleVO
* @return
*/
@RequestMapping(value = "https://www.it610.com/addRole", method = RequestMethod.POST)
public BaseResponse addRole(@RequestBody @Validated AddRoleVO addRoleVO) {return iadminService.addRole(addRoleVO);
}/**
* 获取审核角色
*
* @param
* @return
*/
@GetMapping(value = "https://www.it610.com/getRoleApply")
public PageRspVO getRoleApply(BasePageReqVO reqVO) {return iadminService.getRoleApply(reqVO);
}/**
* 修改角色状态
*
* @param status
* @param email
*/
@PostMapping(value = "https://www.it610.com/changeRoleStatus")
public void changeRoleStatus(@RequestParam String status, @RequestParam String email) {iadminService.changeRoleStatus(status, email);
}/**
* 公告
*
* @param reqVO
* @return
*/
@PostMapping(value = "https://www.it610.com/addAnnouncement")
public BaseResponse addAnnouncement(@RequestBody @Validated AnnouncementVO reqVO) {return iadminService.addAnnouncement(reqVO);
}@GetMapping(value = "https://www.it610.com/getAnnouncement")
public PageRspVO getAnnouncement(BasePageReqVO reqVO) {return iadminService.getAnnouncement(reqVO);
}@PostMapping(value = "https://www.it610.com/changeAnnouncement")
public BaseResponse changeAnnouncement(@RequestBody @Validated AnnouncementVO announcementVO) {return iadminService.changeAnnouncement(announcementVO);
}@PostMapping(value = "https://www.it610.com/deleteAnnouncement")
public BaseResponse deleteAnnouncement(@RequestParam String id) {return iadminService.deleteAnnouncement(id);
}@PostMapping(value = "https://www.it610.com/showAnnouncement")
public BaseResponse showAnnouncement(@RequestParam String id) {return iadminService.showAnnouncement(id);
}@PostMapping(value = "https://www.it610.com/hiddenAnnouncement")
public BaseResponse hiddenAnnouncement(@RequestParam String id) {return iadminService.hiddenAnnouncement(id);
}@PostMapping(value = "https://www.it610.com/adddepartment")
@ApiOperation(value = "https://www.it610.com/article/添加科室", httpMethod = "POST", notes = "添加科室")
@ApiImplicitParam(name = "reqVO",value = "https://www.it610.com/article/添加科室", dataType = "AddDepartmentReqVO")
public BaseResponse addDepartment(@RequestBody @Validated AddDepartmentReqVO reqVO) {return iadminService.addDepartment(reqVO);
}@PostMapping(value = "https://www.it610.com/getDepartment")
@ApiOperation(value = "https://www.it610.com/article/获取所有科室", httpMethod = "POST", notes = "获取所有科室")
public List getDepartment() {
return iadminService.getDepartment();
}
}
挂号管理API控制器:
/**
* 挂号管理API控制器
*/
@RestController
@RequestMapping(value = "https://www.it610.com/register")
@Api(tags = "挂号管理API")
public class RegisterController {@Autowired
private IRegisterService iRegisterService;
/**
* 读取就诊卡
*
* @return
*/
@PostMapping(value = "https://www.it610.com/getCardIdInfor")
public PatientInforRspVO getCardIdInfor(@RequestBody GetCardIdInforReqVO reqVO) throws Exception {
return iRegisterService.getCardIdInfor(reqVO);
}/**
* 读取身份证
*
* @return
*/
@PostMapping(value = "https://www.it610.com/getIDcardInfor")
public IDcardRspVO getIDcardInfor() {return iRegisterService.getIDcardInfor();
}/**
* 读取新卡
*
* @return
*/
@PostMapping(value = "https://www.it610.com/getDefaultGetCardId")
public BaseResponse getDefaultGetCardId() {return iRegisterService.getDefaultGetCardId();
}/**
* 办就诊卡
*
* @param reqVO
* @return
* @throws Exception
*/
@PostMapping(value = "https://www.it610.com/addPatientInfor")
public BaseResponse addPatientInfor(@RequestBody @Validated PatientInforReqVO reqVO) throws Exception {return iRegisterService.addPatientInfor(reqVO);
}/**
* 补办就诊卡
*
* @param reqVO
* @return
*/
@PostMapping(value = "https://www.it610.com/coverCardId")
public BaseResponse coverCardId(@RequestBody @Validated PatientInforReqVO reqVO) {return iRegisterService.coverCardId(reqVO);
}/**
* 获取医生
*
* @param reqVO
* @return
*/@GetMapping(value = "https://www.it610.com/getAllRegisterDoctor")
public List getAllRegisterDoctor(RegisterTypeReqVO reqVO) {return iRegisterService.getAllRegisterDoctor(reqVO);
}/**
* 提交挂号信息
* @param reqVO
* @return
*/@PostMapping(value = "https://www.it610.com/addRegisterInfor")
public BaseResponse addRegisterInfor(@RequestBody @Validated RegisterInforReqVO reqVO) {return iRegisterService.addRegisterInfor(reqVO);
}/**
* 挂号记录查询
*
* @param reqVO
* @return
*/
@GetMapping(value = "https://www.it610.com/getRegisterRecord")
public PageRspVO getRegisterRecord(RegisterRecordSearchReqVO reqVO) {return iRegisterService.getRegisterRecord(reqVO);
}
}
【Java毕业设计项目实战篇|Java项目:中小医院信息管理系统(java+Springboot+ssm+mysql+maven+jsp)】
用户管理API控制层:
@RestController
@RequestMapping(value = "https://www.it610.com/user")
@Api(tags = "用户管理API")
public class UserController {@Autowired
private IUserService iUserService;
/**
* 登录验证
*
* @param reqVO
* @param model
* @return
*/
@RequestMapping(value = "https://www.it610.com/dologin", method = RequestMethod.POST)
public BaseResponse doLogin(@RequestBody @Validated UserLoginReqVO reqVO, Model model) {return iUserService.doLogin(reqVO);
}/**
* 保存用户注册信息,向用户发送激活链接
*
* @param reqVO
* @return
*/
@RequestMapping(value = "https://www.it610.com/doregister", method = RequestMethod.POST)
public BaseResponse registered(@RequestBody @Validated UserRegisterReqVO reqVO, Model model) {return iUserService.saveUserAndSendEmail(reqVO);
}/**
* 获取登录日志
*
* @param reqVO
* @return
*/
@RequestMapping(value = "https://www.it610.com/getLoginfor",method = RequestMethod.GET)
public PageRspVO getLoginfor(BasePageReqVO reqVO) {return iUserService.getLoginfor(reqVO);
}/**
* 修改密码
*
* @param reqVO
* @return
*/
@PostMapping(value = "https://www.it610.com/changePassword")
public BaseResponse changePassword(@RequestBody @Validated ChangePasswordReqVO reqVO) {return iUserService.changePassword(reqVO);
}/**
* 个人资料设置
*
* @return
*/
@PostMapping(value = "https://www.it610.com/getUserInfo")
public List getUserInfo() {return iUserService.getUserInfo();
}@PostMapping(value = "https://www.it610.com/changeUserInfo")
public BaseResponse changeUserInfo(@RequestBody @Validated UserInfoVO reqVO) {returniUserService.changeUserInfo(reqVO);
}@PostMapping(value = "https://www.it610.com/getAnnContent")
public AnnRspVO getAnnContent(@RequestParam String id) {return iUserService.getAnnContent(id);
}@PostMapping(value = "https://www.it610.com/addAnotherRole")
public BaseResponse addAnotherRole(@RequestBody @Validated AccountRoleVO reqVO) {return iUserService.addAnotherRole(reqVO);
}/**
* 获取所有角色
* @param
* @return
*/
@PostMapping(value = "https://www.it610.com/getAllRole")
public List getAllRole() {
return iUserService.getAllRole();
}}
源码获取:博客首页 "资源" 里下载!
推荐阅读
- Java毕业设计项目实战篇|Java项目:图书管理系统(java+SpringBoot+jpa+html+swagger+maven+mysql)
- Java毕业设计项目实战篇|Java项目:医院管理系统(java+Springboot+ssm+mysql+maven)
- Java|Java 执行shell命令 “空格参数“ 方法笔记
- springboot 整合通用mapper , 热加载 遇到ClassCastException
- java学习开始|java中的类和对象(3)
- #|√ JavaSE - 12.怎么使用抽象类和抽象方法(卷1 P155)
- Spring中多线程的使用及问题
- JavaSE|一篇文章带你彻底理解Java中的克隆和拷贝
- #|Django models.py 表结构数据更新后应用到数据库中