项目介绍
管理员角色包含以下功能:
管理员登录,律师信息管理,预约审核管理,预约记录查看,拒绝预约查询,注册一个用户,个人信息修改等功能。

用户角色包含以下功能:
用户登录,律师信息查看,预约记录查询,预约某一个律师,取消预约管理,个人信息修改等功能。

环境需要
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版本;

技术栈

  1. 后端:Spring+SpringMVC+Mybatis
  2. 前端:HTML+CSS+JavaScript+jsp

使用说明

  1. 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件;
  2. 使用IDEA/Eclipse/MyEclipse导入项目,Eclipse/MyEclipse导入时,若为maven项目请选择maven;若为maven项目,导入成功后请执行maven clean;maven install命令,然后运行;
  3. 将项目中application.yml配置文件中的数据库配置改为自己的配置;
  4. 运行项目,输入localhost:8080/ 登录




适用

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

    }@RequestMapping(value = "/profile", method = RequestMethod.GET)public String profile() {return "sys/profile";}@RequestMapping(value = "/updatePassword", method = RequestMethod.POST)@ResponseBodypublic Result updatePassword(@RequestBody UpdatePasswordVo vo) {return userService.updatePassword(vo);}
}
角色管理控制层:
@Controller
@RequestMapping("/role")
public class RoleController extends AuthorizedController {@Autowiredprivate RoleService roleService;@RequestMapping(value = "", method = RequestMethod.GET)public String index() {return "sys/role";}@RequestMapping(value = "/findAll", method = RequestMethod.POST)@ResponseBodypublic List<Role> findAll() {
        return userService.checkUserName(user);}@RequestMapping(value = "/resetPassword", method = RequestMethod.POST)@ResponseBodypublic Result resetPassword(@RequestBody User user) {return userService.resetPassword(user);}@RequestMapping(value = "/profile", method = RequestMethod.GET)public String profile() {return "sys/profile";}@RequestMapping(value = "/updatePassword", method = RequestMethod.POST)@ResponseBodypublic Result updatePassword(@RequestBody UpdatePasswordVo vo) {return userService.updatePassword(vo);}
}
角色管理控制层:
@Controller
@RequestMapping("/role")
public class RoleController extends AuthorizedController {@Autowiredprivate RoleService roleService;@RequestMapping(value = "", method = RequestMethod.GET)public String index() {
        session.invalidate();return "redirect:" + powerTeamConfig.getWebRoot();}
}
用户管理控制层:
@Controller
@RequestMapping("/user")
public class UserController extends AuthorizedController {@Autowiredprivate UserService userService;@Autowiredprivate HttpSession session;@RequestMapping(value = "", method = RequestMethod.GET)public String index() {return "sys/user";}@RequestMapping(value = "/find", method = RequestMethod.POST)@ResponseBody
        return userService.deleteByIds(ids);}@RequestMapping(value = "/findById", method = RequestMethod.POST)@ResponseBodypublic User findById(@RequestBody User user) {return userService.findById(user.getUserId());}@RequestMapping(value = "/update", method = RequestMethod.POST)@ResponseBodypublic Result update(@RequestBody User user) {Result result = userService.update(user);if (result.isSuccess() && user.getUserId() == getUser().getUserId()) {session.setAttribute("User", userService.findById(getUser().getUserId()));}return result;}@RequestMapping(value = "/updateStatus", method = RequestMethod.POST)@ResponseBodypublic Result updateStatus(@RequestBody User user) {return userService.updateStatus(user);}@RequestMapping(value = "/checkUserName", method = RequestMethod.POST)@ResponseBodypublic Result checkUserName(@RequestBody User user) {return userService.checkUserName(user);}@RequestMapping(value = "/resetPassword", method = RequestMethod.POST)
    public List<Role> findAll() {return roleService.findAll();}@RequestMapping(value = "/checkRoleName", method = RequestMethod.POST)@ResponseBodypublic Result existRoleName(@RequestBody Role role) {return roleService.checkRoleName(role);}@RequestMapping(value = "/add", method = RequestMethod.POST)@ResponseBodypublic Result add(@RequestBody Role role) {return roleService.insert(role);}@RequestMapping(value = "/remove", method = RequestMethod.POST)@ResponseBodypublic Result delete(@RequestBody List<Integer> ids) {return roleService.deleteByIds(ids);}@RequestMapping(value = "/findById", method = RequestMethod.POST)@ResponseBodypublic Role findById(@RequestBody Role role) {return roleService.findById(role.getRoleId());}@RequestMapping(value = "/update", method = RequestMethod.POST)@ResponseBody
        return result;}@RequestMapping(value = "/updateStatus", method = RequestMethod.POST)@ResponseBodypublic Result updateStatus(@RequestBody User user) {return userService.updateStatus(user);}@RequestMapping(value = "/checkUserName", method = RequestMethod.POST)@ResponseBodypublic Result checkUserName(@RequestBody User user) {return userService.checkUserName(user);}@RequestMapping(value = "/resetPassword", method = RequestMethod.POST)@ResponseBodypublic Result resetPassword(@RequestBody User user) {return userService.resetPassword(user);}@RequestMapping(value = "/profile", method = RequestMethod.GET)public String profile() {return "sys/profile";}@RequestMapping(value = "/updatePassword", method = RequestMethod.POST)
    public Result add(@RequestBody User user) {return userService.insert(user);}@RequestMapping(value = "/remove", method = RequestMethod.POST)@ResponseBodypublic Result delete(@RequestBody List<Integer> ids) {return userService.deleteByIds(ids);}@RequestMapping(value = "/findById", method = RequestMethod.POST)@ResponseBodypublic User findById(@RequestBody User user) {return userService.findById(user.getUserId());}@RequestMapping(value = "/update", method = RequestMethod.POST)@ResponseBodypublic Result update(@RequestBody User user) {Result result = userService.update(user);if (result.isSuccess() && user.getUserId() == getUser().getUserId()) {session.setAttribute("User", userService.findById(getUser().getUserId()));}return result;}@RequestMapping(value = "/updateStatus", method = RequestMethod.POST)@ResponseBodypublic Result updateStatus(@RequestBody User user) {
    @ResponseBodypublic Result add(@RequestBody Role role) {return roleService.insert(role);}@RequestMapping(value = "/remove", method = RequestMethod.POST)@ResponseBodypublic Result delete(@RequestBody List<Integer> ids) {return roleService.deleteByIds(ids);}@RequestMapping(value = "/findById", method = RequestMethod.POST)@ResponseBodypublic Role findById(@RequestBody Role role) {return roleService.findById(role.getRoleId());
    @RequestMapping(value = "/user/{roleId}", method = RequestMethod.GET)public ModelAndView roleUser(@PathVariable int roleId) {ModelAndView vm = new ModelAndView("sys/roleUser");vm.addObject("roleId", roleId);return vm;}@RequestMapping(value = "/user/findUserInRole", method = RequestMethod.POST)@ResponseBodypublic PageInfo<User> findUserInRole(@RequestBody QueryRoleUserVo vo) {return roleService.findUserInRole(vo);}@RequestMapping(value = "/user/remove", method = RequestMethod.POST)@ResponseBodypublic Result deleteRoleUser(@RequestBody RoleUser roleUser) {return roleService.deleteRoleUser(roleUser);}
    }@RequestMapping(value = "/checkRoleName", method = RequestMethod.POST)@ResponseBodypublic Result existRoleName(@RequestBody Role role) {return roleService.checkRoleName(role);}@RequestMapping(value = "/add", method = RequestMethod.POST)@ResponseBodypublic Result add(@RequestBody Role role) {return roleService.insert(role);}@RequestMapping(value = "/remove", method = RequestMethod.POST)@ResponseBodypublic Result delete(@RequestBody List<Integer> ids) {

基于javaweb+mysql的律师事务所律师管理系统(java+SSM+HTML+JS+jsp+mysql)相关推荐

  1. 基于javaweb的律师事务所律师管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的律师事务所律师管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/m ...

  2. 基于javaweb的药品进货销售管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的药品进货销售管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/my ...

  3. Java项目:律师事务所律师管理系统(java+SSM+HTML+JS+jsp+mysql)

    源码获取:俺的博客首页 "资源" 里下载! 项目介绍 管理员角色包含以下功能: 管理员登录,律师信息管理,预约审核管理,预约记录查看,拒绝预约查询,注册一个用户,个人信息修改等功能 ...

  4. 基于javaweb的网吧计费管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的网吧计费管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/myec ...

  5. 基于javaweb的物业缴费管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的物业缴费管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/myec ...

  6. 基于javaweb的物流快递管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的物流快递管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/myec ...

  7. 基于javaweb的新闻管理系统(java+ssm+html+js+jsp+mysql)

    基于javaweb的新闻管理系统(java+ssm+html+js+jsp+mysql) 运行环境 Java≥8.MySQL≥5.7.Tomcat≥8 开发工具 eclipse/idea/myecli ...

  8. Java项目:考试在线报名管理系统(java+SSM+HTML+JS+jsp+mysql)

    源码获取:俺的博客首页 "资源" 里下载! 项目介绍 考务管理员角色包含以下功能: 考务管理员登录,教务办公室管理,考场管理,考试管理,考场分配管理,报名管理等功能. 管理员角色包 ...

  9. Java项目:网吧计费管理系统(java+SSM+HTML+JS+jsp+mysql)

    源码获取:俺的博客首页 "资源" 里下载! 项目介绍 管理员角色包含以下功能: 登录与注册,会员管理,会员充值,烟饮料外卖,营业额信息统计,今日营业信息查看等功能. 环境需要 1. ...

最新文章

  1. 寒武纪首颗AI训练芯片亮相
  2. Android 系统各种StreamType 的Volume关联和Mute设置
  3. 用7*7的卷积核分类9*9的图片到底应该用几个卷积核?55个
  4. 成功解决基于pyecharts生成的html文件打开时显示空白
  5. Oralce中备份,还原数据库
  6. C言语实现半隐式Euler解常微分方程(附完整源码)
  7. Zend Server搭建网站备注
  8. 复制assert目录文件到私有目录_在电脑上复制目录的方法
  9. [起重机监测系统] 1、基于无线传输的桥式起重机的安全监测方案
  10. hibernate annotations @Entity hql XX not mapped
  11. 记录一下:调试了虹软的人脸识别sdk,存到数据库中
  12. dpdk中文-dpdk虚拟机出错
  13. elementui实现横向时间轴_element ui step组件在另一侧加时间轴显示
  14. python learning notes(柒)
  15. 关于公司备份软件选型
  16. 网站被攻击如何查找木马文件 以及攻击者IP
  17. 解决NVIDIA显卡驱动 图形驱动程序安装失败 问题
  18. 一般哪些原因会造成硬盘损坏呢
  19. 【深入设计模式】单例模式—从源码分析内部类单例、枚举单例以及单例模式在框架中的应用
  20. Linux下嵌入式开发环境配置

热门文章

  1. 那些宁愿降薪也要跳槽的测试员们,到底图什么?
  2. Ae:表达式语言基础
  3. 数据分享:内蒙古ximeng乡镇行政区划
  4. 中央处理器 —— CPU的功能和基本结构
  5. PMP考试到底难在哪里?
  6. 珍藏版:3000张CNS封面级临床与科研绘图!可用PPT编辑!涵盖细胞、代谢、医学...
  7. C中八进制和十六进制转义字符揭秘
  8. kibana 修改Ico图标
  9. 计算机网络(第8版)笔记
  10. 李国杰院士:大数据是行业进步和企业发展的局势