基于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等等
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
*/@RequestMapping("/getAllRole")@ResponseBodypublic List<Role> getAllRole() {return roleService.getAllRole();}/** * Method name: getAllPage <BR> * Description: 获取所有页面 <BR> * * @return List<Page><BR> */@RequestMapping("/getAllPage")@ResponseBodypublic List<Page> getAllPage() {return pageService.getAllPage();}
1234567891011121314151617}}/** * Method name: addUserPage <BR> * Description: 增加用户界面 <BR> * * @return String<BR> */@RequestMapping(value = "/addUserPage")public String addUserPage(Long userId, Model model) {model.addAttribute("manageUser", userId);if (null != userId) {User user = userService.selectByPrimaryKey(userId);model.addAttribute("manageUser", user);} 123456789101112131415
* @param userParameter * @return Object<BR> */@RequestMapping("/getAllDelUserByLimit")@ResponseBodypublic Object getAllDelUserByLimit(UserParameter userParameter) {return userService.getAllDelUserByLimit(userParameter);}/** * Method name: delUser <BR> * Description: 批量删除用户 <BR> * * @param ids * @return String<BR> */@RequestMapping(value = "delUser")@ResponseBody@Transactionalpublic String delUser(Long[] ids) {Subject subject = SecurityUtils.getSubject();
}/** * Method name: getAllPage <BR> * Description: 获取所有页面 <BR> * * @return List<Page><BR> */@RequestMapping("/getAllPage")@ResponseBodypublic List<Page> getAllPage() {return pageService.getAllPage();}/** * Method name: getPageByRole <BR> * Description: 获取某个角色的权限页面 <BR> */@RequestMapping("/getPageByRole")@ResponseBody
123456789101112131415161718*/@RequestMapping(value = "/user/updatePassword")@ResponseBodypublic String updatePassword(String password) {return userService.updatePassword(password);} } 用户信息控制层: /** * 用户控制 */ @Controller("User") @RequestMapping("/user") public class UserController { private final Logger logger = LoggerFactory.getLogger(UserController.class); private final ResultMap resultMap; @Autowired private UserService userService;
123456789101112131415161718@RequestMapping(value = "/notLogin", method = RequestMethod.GET)@ResponseBodypublic ResultMap notLogin() {logger.warn("尚未登陆!");return resultMap.success().message("您尚未登陆!");}/** * 返回 没有权限 */@RequestMapping(value = "/notRole", method = RequestMethod.GET)@ResponseBodypublic ResultMap notRole() {Subject subject = SecurityUtils.getSubject();User user = (User) subject.getPrincipal();if (user != null) {logger.info("{}---没有权限!", user.getName());}return resultMap.success().message("您没有权限!");} /**演示页面**/
1234567891011121314151617181920// 删除某个角色的所有用户boolean flag3 = userRoleService.delUserRoleByRoleId(id);if (flag1 && flag2 && flag3) {return "SUCCESS";}return "ERROR";}/** * Method name: updateRole <BR> * Description: 根据权限id修改权限信息 <BR> * * @param id * @param name * @return String<BR> */@RequestMapping("/updateRole")@ResponseBodypublic String updateRole(Integer id, String name) {int n = roleService.updateRoleById(id, name);if (n != 0) {return "SUCCESS";}
12345678910111213141516171819202122* @return Object<BR> */@RequestMapping("/getAllUserByLimit")@ResponseBodypublic Object getAllUserByLimit(UserParameter userParameter) {return userService.getAllUserByLimit(userParameter);}/** * Method name: getAllDelUserByLimit <BR> * Description: 获取所有删除用户 <BR> * * @param userParameter * @return Object<BR> */@RequestMapping("/getAllDelUserByLimit")@ResponseBodypublic Object getAllDelUserByLimit(UserParameter userParameter) {return userService.getAllDelUserByLimit(userParameter);}/** * Method name: delUser <BR> * Description: 批量删除用户 <BR> *
1234567891011121314151617181920212223}/** * Method name: checkUserId <BR> * Description: 检测用户账号是否存在 <BR> * * @param userId * @return User<BR> */@ResponseBody@RequestMapping("/checkUserId")public User checkUserId(Long userId) {return userService.selectByPrimaryKey(userId);}/** * Method name: addUser <BR> * Description: 用户添加 <BR> * * @param user * @return String<BR> */@ResponseBody@RequestMapping("/addUser")public String addUser(User user) {
1234567891011121314151617181920212223*/@RequestMapping("/role")public String role(Model model) {return "sa/role";}/** * Method name: getAllRole <BR> * Description: 获取所有权限 <BR> * * @return List<Role><BR> */@RequestMapping("/getAllRole")@ResponseBodypublic List<Role> getAllRole() {return roleService.getAllRole();}/** * Method name: getAllPage <BR> * Description: 获取所有页面 <BR>
12345678910111213141516171819}/** * Method name: delUser <BR> * Description: 批量删除用户 <BR> * * @param ids * @return String<BR> */@RequestMapping(value = "delUser")@ResponseBody@Transactionalpublic String delUser(Long[] ids) {Subject subject = SecurityUtils.getSubject(); 12345678910111213
相关知识
基于javaweb+jsp的宠物医院管理系统(java+Springboot+ssm+mysql+jsp+maven)
基于javaweb+jsp的宠物领养信息管理系统(带报告文档)
基于node.js+vue的宠物医院在线预约管理系统的设计与实现
基于javaweb+mysql的ssm宠物医院管理系统(java+ssm+jquery+layui+js+mysql)
基于SSH宠物医院管理系统的开发与设计
【网站项目】基于SSM的275宠物医院管理系统
分享一个基于node.js的宠物医院预约挂号系统vue宠物医院管理系统(源码、调试、LW、开题、PPT)
基于SpringBoot+Vue宠物医院数字化管理系统
基于ssm+vue宠物医院预约管理系统(开题报告+程序+论文+java)
宠物医院管理系统
网址: 基于javaweb+jsp的宠物医院管理系统(java+Springboot+ssm+mysql+jsp+maven) https://www.mcbbbk.com/newsview259105.html
上一篇: 分享一个基于node.js的宠物 |
下一篇: 基于SSM的宠物医院信息管理系统 |
推荐分享

- 1我的狗老公李淑敏33——如何 5096
- 2南京宠物粮食薄荷饼宠物食品包 4363
- 3家养水獭多少钱一只正常 3825
- 4豆柴犬为什么不建议养?可爱的 3668
- 5自制狗狗辅食:棉花面纱犬的美 3615
- 6狗交配为什么会锁住?从狗狗生 3601
- 7广州哪里卖宠物猫狗的选择性多 3535
- 8湖南隆飞尔动物药业有限公司宠 3477
- 9黄金蟒的价格 3396
- 10益和 MATCHWELL 狗 3352