基于javaweb的宠物医院管理系统设计和实现(java+springboot+ssm+mysql+jsp)

基于javaweb的宠物医院管理系统设计和实现(java+springboot+ssm+mysql+jsp)

运行环境

Java≥8、MySQL≥5.7

开发工具

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

适用

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

功能说明

20220519000302

20220519000303

20220519000304

20220519000306

基于javaweb+jsp的宠物医院管理系统(java+Springboot+ssm+mysql+jsp+maven)

一、项目简述

功能描叙: 医生信息,客户信息,宠物管理,浏览管理,诊断管理, 医生管理,用户管理等等模块。

二、项目运行

环境配置: Jdk1.8 + Tomcat8.5 + mysql + Eclispe (IntelliJ IDEA,Eclispe,MyEclispe,Sts 都支持)

项目技术: JSP +Springboot+ SpringMVC + MyBatis + ThymeLeaf + HTML+ JavaScript + JQuery + Ajax + maven等等

管理员权限控制类:

/**

  • 管理员权限控制类

*/

@Controller(“Admin”)

@RequestMapping(“/admin”)

public class Adminontroller {

@Autowired

private PageService pageService;

@Autowired

private RoleService roleService;

@Autowired

private PageRoleService pageRoleService;

@Autowired

private UserRoleService userRoleService;

@Autowired

private UserService userService;

private final Logger logger = LoggerFactory.getLogger(Adminontroller.class);

/**

  • Method name: page

  • Descriiption: 跳转到页面设置页面

  • @param model

  • @return String

*/

@RequestMapping(“/page”)

public String page(Model model) {

List pageList = pageService.getAllPage();

model.addAttribute(“pageList”, pageList);

return “sa/page”;

/**

  • Method name: role

  • Descriiption: 跳转到角色设置页面

  • @param model

  • @return String

*/

@RequestMapping(“/role”)

public String role(Model model) {

return “sa/role”;

/**

  • Method name: getAllRole

  • Descriiption: 获取所有权限

  • @return List

*/

@RequestMapping(“/getAllRole”)

@ResponseBody

public List getAllRole() {

return roleService.getAllRole();

/**

  • Method name: getAllPage

  • Descriiption: 获取所有页面

  • @return List

*/

@RequestMapping(“/getAllPage”)

@ResponseBody

public List getAllPage() {

return pageService.getAllPage();

/**

  • Method name: getPageByRole

  • Descriiption: 获取某个角色的权限页面

*/

@RequestMapping(“/getPageByRole”)

@ResponseBody

public Object getPageByRole(Integer roleId) {

return pageService.getAllPageByRoleId(roleId);

/**

  • Method name: updatePageById

  • Descriiption: 根据页面id更新页面

  • @param page

  • @return ResultMap

*/

@RequestMapping(“/updatePageById”)

@ResponseBody

public ResultMap updatePageById(Page page) {

return pageService.updatePageById(page);

/**

  • Method name: addPage

  • Descriiption: 添加页面

  • @param page

  • @return Page

*/

@RequestMapping(“/addPage”)

@ResponseBody

public Page addPage(Page page) {

return pageService.addPage(page);

/**

  • Method name: delPageById

  • Descriiption: 根据页面i

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值