基于javaweb的智能制造车间管理系统(java+ssm+html+js+jsp+mysql)
运行环境
Java≥8、MySQL≥5.7、Tomcat≥8
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
基于javaweb+mysql的智能制造车间管理系统(java+SSM+HTML+js+jsp+mysql)
项目介绍
管理员角色包含以下功能: 管理员登陆,设备管理,客户管理,用户管理,产品管理,工序管理,车间管理,订单管理等功能。
环境需要
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版本;
技术栈
- 后端:Spring+SpringMVC+Mybatis 2. 前端:HTML+CSS+JavaScript+jsp
使用说明
- 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件; 2. 使用IDEA/Eclipse/MyEclipse导入项目,Eclipse/MyEclipse导入时,若为maven项目请选择maven;若为maven项目,导入成功后请执行maven clean;maven install命令,然后运行; 3. 将项目中application.yml配置文件中的数据库配置改为自己的配置; 4. 运行项目,输入localhost:8080/ 登录
用户管理控制层:
@Controller
@RequestMapping(“/user”)
public class UserController {
@Autowired
private UserService userService;
@RequestMapping(“/get/{userId}”)
@ResponseBody
public SysUser getItemById(@PathVariable String userId) throws Exception{
SysUser sysUser = userService.get(userId);
return sysUser;
@RequestMapping(“/find”)
public String find() throws Exception{
return “/user/user_list”;
@RequestMapping(“/role”)
public String userRole() throws Exception{
return “/user/user_role_edit”;
@RequestMapping(“/add”)
public String add() throws Exception{
return “/user/user_add”;
@RequestMapping(“/edit”)
public String edit() throws Exception{
return “/user/user_edit”;
@RequestMapping(“/list”)
@ResponseBody
public EUDataGridResult getList(Integer page, Integer rows, SysUser sysUser) throws Exception{
EUDataGridResult re