——————————DescriptionStart——————————
运行环境
Java≥8、MySQL≥5.7
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明





基于javaweb的SpringBoot中小医院信息管理系统(java+springboot+mysql+maven+html+thymeleaf)
本系统功能包括:实现了挂号收费,门诊管理,划价收 费,药房取药,体检管理,药房管理,系统维护等各个模块功能,非常不错。
——————————CodeStart——————————
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
| public BaseResponse<String> getDefaultGetCardId() {
return iRegisterService.getDefaultGetCardId(); }
@PostMapping(value = "/addPatientInfor") public BaseResponse<String> addPatientInfor(@RequestBody @Validated PatientInforReqVO reqVO) throws Exception {
return iRegisterService.addPatientInfor(reqVO); }
@PostMapping(value = "/coverCardId") public BaseResponse<String> coverCardId(@RequestBody @Validated PatientInforReqVO reqVO) {
return iRegisterService.coverCardId(reqVO); }
@GetMapping(value = "/getAllRegisterDoctor") public List<RegisterDoctorRspVO> getAllRegisterDoctor(RegisterTypeReqVO reqVO) {
return iRegisterService.getAllRegisterDoctor(reqVO);
}
|
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
| */ @PostMapping(value = "/addNewDrug") public BaseResponse<String> addNewDrug(@RequestBody @Validated DrugReqVO reqVO) { return iDrugStoreService.addNewDrug(reqVO); }
@PostMapping(value = "/addDrugType") public BaseResponse<String> addDrugType(@RequestParam String drugType) {
return iDrugStoreService.addDrugType(drugType); }
@PostMapping(value = "/addEfficacyClassification") public BaseResponse<String> addEfficacyClassification(@RequestParam String efficacyClassification) {
return iDrugStoreService.addEfficacyClassification(efficacyClassification); }
@PostMapping(value = "/getAllDrugType") public List<String> getAllDrugType() { return iDrugStoreService.getAllDrugType(); }
@PostMapping(value = "/getAllEfficacyClassification") public List<String> getAllEfficacyClassification() { return iDrugStoreService.getAllEfficacyClassification();
|
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
| @PostMapping(value = "/hiddenAnnouncement") public BaseResponse<String> hiddenAnnouncement(@RequestParam String id) {
return iadminService.hiddenAnnouncement(id); }
@PostMapping(value = "/adddepartment") @ApiOperation(value = "添加科室", httpMethod = "POST", notes = "添加科室") @ApiImplicitParam(name = "reqVO",value = "添加科室", dataType = "AddDepartmentReqVO") public BaseResponse<String> addDepartment(@RequestBody @Validated AddDepartmentReqVO reqVO) {
return iadminService.addDepartment(reqVO); }
@PostMapping(value = "/getDepartment") @ApiOperation(value = "获取所有科室", httpMethod = "POST", notes = "获取所有科室") public List<GetDepartmentRspVO> getDepartment() { return iadminService.getDepartment(); } } package com.xgs.hisystem.controller;
@RestController
|
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
|
@Controller @Api(tags = "页面跳转") public class PageController {
@Autowired private IUserService iUserService; @Autowired private IAdminService iAdminService; @Autowired private ServerConfig serverConfig;
@GetMapping(value = "/") public String login() { return "login"; }
@GetMapping(value = "/main") public String main(Model model) { return "main";
|
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
| * @description: */ @RestController @RequestMapping(value = "/admin") @Api(tags = "管理员操作API") public class AdminController {
@Autowired private IAdminService iadminService;
@RequestMapping(value = "/createRole", method = RequestMethod.POST) public BaseResponse<String> createRole(@RequestBody @Validated RoleVO roleVO) {
return iadminService.createRole(roleVO);
}
@RequestMapping(value = "/adduser", method = RequestMethod.POST) public BaseResponse<String> saveUserAndSendEmailTemp(@RequestBody @Validated UserRegisterReqVO reqVO) {
return iadminService.saveUserAndSendEmailTemp(reqVO); }
@RequestMapping(value = "/addRole", method = RequestMethod.POST) public BaseResponse<String> addRole(@RequestBody @Validated AddRoleVO addRoleVO) {
return iadminService.addRole(addRoleVO);
|
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
| @ApiOperation(value = "获取体检收费信息", httpMethod = "POST", notes = "获取体检收费信息") @ApiImplicitParam(name = "reqVO",value = "获取体检收费信息", dataType = "GetCardIdInforReqVO") private BaseResponse<GetExaminationTollInfoRspVO> getExaminationTollInfo(@RequestBody GetCardIdInforReqVO reqVO){ return iTollService.getExaminationTollInfo(reqVO); }
@PostMapping(value = "saveexaminationtollinfo") @ApiOperation(value = "保存体检收费记录", httpMethod = "POST", notes = "保存体检收费记录") private BaseResponse<String> saveExaminationTollInfo(@RequestParam String registerId){ return iTollService.saveExaminationTollInfo(registerId); } } package com.xgs.hisystem.exception;
@ControllerAdvice public class GlobalDefaultExceptionHandler {
@Autowired private ServerConfig serverConfig;
private static final Logger logger = LoggerFactory.getLogger(GlobalDefaultExceptionHandler.class);
|
——————————PayStart——————————
项目链接:
https://javayms.github.io?id=031422272105200ac
https://javayms.pages.dev?id=031422272105200ac