错误信息: 点击这里查看具体错误消息,
|
具体sql
/*
SQLyog Ultimate - MySQL GUI v8.2
MySQL - 5.6.24 : Database - ht
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`ht` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `ht`;
/*Table structure for table `dept_p` */
DROP TABLE IF EXISTS `dept_p`;
CREATE TABLE `dept_p` (
`DEPT_ID` varchar(40) NOT NULL,
`PARENT_ID` varchar(40) DEFAULT NULL COMMENT '自关联,多对一',
`DEPT_NAME` varchar(50) DEFAULT NULL,
`STATE` int(11) DEFAULT NULL COMMENT '1启用0停用',
`CREATE_BY` varchar(40) DEFAULT NULL,
`CREATE_DEPT` varchar(40) DEFAULT NULL,
`CREATE_TIME` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UPDATE_BY` varchar(40) DEFAULT NULL,
`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`DEPT_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `dept_p` */
insert into `dept_p`(`DEPT_ID`,`PARENT_ID`,`DEPT_NAME`,`STATE`,`CREATE_BY`,`CREATE_DEPT`,`CREATE_TIME`,`UPDATE_BY`,`UPDATE_TIME`) values ('0','--无上级--','551杀神俱乐部',1,NULL,NULL,'2018-01-08 12:52:39',NULL,'0000-00-00 00:00:00'),('01','0','法师部',1,NULL,NULL,'2018-01-08 12:52:59',NULL,'0000-00-00 00:00:00'),('02','0','打野部',1,NULL,NULL,'2018-01-08 12:53:19',NULL,'0000-00-00 00:00:00'),('03','0','射手部',1,NULL,NULL,'2018-01-08 12:54:10',NULL,'0000-00-00 00:00:00');
/*Table structure for table `module_p` */
DROP TABLE IF EXISTS `module_p`;
CREATE TABLE `module_p` (
`MODULE_ID` varchar(40) NOT NULL,
`PARENT_ID` varchar(40) DEFAULT NULL COMMENT '父模块ID',
`NAME` varchar(100) DEFAULT NULL,
`CTYPE` int(11) DEFAULT NULL COMMENT '1主菜单/2左侧菜单/3按钮',
`STATE` int(11) DEFAULT NULL COMMENT '1启用0停用',
`ORDER_NO` int(11) DEFAULT NULL,
`REMARK` varchar(100) DEFAULT NULL,
`CREATE_BY` varchar(40) DEFAULT NULL,
`CREATE_DEPT` varchar(40) DEFAULT NULL,
`CREATE_TIME` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UPDATE_BY` varchar(40) DEFAULT NULL,
`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`MODULE_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `module_p` */
insert into `module_p`(`MODULE_ID`,`PARENT_ID`,`NAME`,`CTYPE`,`STATE`,`ORDER_NO`,`REMARK`,`CREATE_BY`,`CREATE_DEPT`,`CREATE_TIME`,`UPDATE_BY`,`UPDATE_TIME`) values ('048bc420-b63b-4c46-a7f4-67eb2915d441','b152749f-af17-42c4-96fb-028041e6c442','历史购销合同查询',NULL,1,NULL,'货运管理',NULL,NULL,'2018-01-09 18:44:29',NULL,'0000-00-00 00:00:00'),('1caefd74-d26a-44c5-a1bc-91fa18ff753f','f9ded96d-aafa-46b2-b4c3-efe18336f5e4','合同查询',NULL,1,NULL,'货运管理-合同查询',NULL,NULL,'2018-01-09 18:41:51',NULL,'0000-00-00 00:00:00'),('22192cf2-3cbe-4ee2-a1e3-62fe015c9241','b152749f-af17-42c4-96fb-028041e6c442','用户管理',NULL,1,NULL,'系统管理-用户管理',NULL,NULL,'2018-01-08 13:38:51',NULL,'0000-00-00 00:00:00'),('317d4c8a-5079-4e79-b324-c4d0f0072d48','453f46e8-f7cb-4621-afac-64185169c7d0','系统代码',NULL,1,NULL,'基础信息',NULL,NULL,'2018-01-09 18:45:13',NULL,'0000-00-00 00:00:00'),('433c572b-0987-4e5c-a382-8c6a68262fa7','b152749f-af17-42c4-96fb-028041e6c442','角色管理',NULL,1,NULL,'系统管理-角色管理',NULL,NULL,'2018-01-08 13:39:19',NULL,'0000-00-00 00:00:00'),('453f46e8-f7cb-4621-afac-64185169c7d0','--无上级--','基础信息',NULL,1,NULL,'基础信息模块',NULL,NULL,'2018-01-08 13:43:21',NULL,'0000-00-00 00:00:00'),('50989970-a6c2-4bab-b131-9810e8194dcf','b152749f-af17-42c4-96fb-028041e6c442','部门管理',NULL,1,NULL,'系统管理-部门管理',NULL,NULL,'2018-01-08 13:37:48',NULL,'0000-00-00 00:00:00'),('5a8b2fb9-8f1c-4103-8cc8-0a2fe74d0870','f9ded96d-aafa-46b2-b4c3-efe18336f5e4','出口报运',NULL,1,NULL,'货运管理-出口报运',NULL,NULL,'2018-01-09 18:42:43',NULL,'0000-00-00 00:00:00'),('6c49a9bc-6406-4f40-91d0-ff38cafaaf4d','b152749f-af17-42c4-96fb-028041e6c442','模块管理',NULL,1,NULL,'系统管理-模块管理',NULL,NULL,'2018-01-08 13:39:52',NULL,'0000-00-00 00:00:00'),('89f15873-e069-418b-b53a-8f41ddae30b0','f9ded96d-aafa-46b2-b4c3-efe18336f5e4','出口跟踪',NULL,1,NULL,'货运管理-出口跟踪',NULL,NULL,'2018-01-09 18:43:16',NULL,'0000-00-00 00:00:00'),('954c86cd-475a-4baf-a70d-83c499ecc94e','453f46e8-f7cb-4621-afac-64185169c7d0','厂家信息',NULL,1,NULL,'基础信息-厂家信息',NULL,NULL,'2018-01-09 18:45:58',NULL,'0000-00-00 00:00:00'),('99bd1061-798e-4010-8da3-329575df5d3f','9e98ed09-a136-45b6-acda-2744b13bfa41','我的常用功能',NULL,1,NULL,'系统首页-我的常用功能',NULL,NULL,'2018-01-09 18:32:21',NULL,'0000-00-00 00:00:00'),('9e98ed09-a136-45b6-acda-2744b13bfa41','--无上级--','系统首页',NULL,1,NULL,'系统首页模块',NULL,NULL,'2018-01-08 13:43:35',NULL,'0000-00-00 00:00:00'),('a12c467b-55f4-4f54-9a93-8e2d8e279494','9e98ed09-a136-45b6-acda-2744b13bfa41','用户设定',NULL,1,NULL,'系统首页-用户设定',NULL,NULL,'2018-01-09 18:33:02',NULL,'0000-00-00 00:00:00'),('b152749f-af17-42c4-96fb-028041e6c442','--无上级--','系统管理',NULL,1,NULL,'系统管理模块',NULL,NULL,'2018-01-08 13:32:34',NULL,'0000-00-00 00:00:00'),('ecf5560d-9f0b-43e2-afc5-0e6814814752','f9ded96d-aafa-46b2-b4c3-efe18336f5e4','出货表',NULL,1,NULL,'货运管理-出货表',NULL,NULL,'2018-01-09 18:41:14',NULL,'0000-00-00 00:00:00'),('f15a824d-dd8c-4f3e-bc96-3e8a99d011ad','9e98ed09-a136-45b6-acda-2744b13bfa41','个人工作台',NULL,1,NULL,'系统首页-个人工作台',NULL,NULL,'2018-01-09 18:31:35',NULL,'0000-00-00 00:00:00'),('f9ded96d-aafa-46b2-b4c3-efe18336f5e4','--无上级--','货运管理',NULL,1,NULL,'货运管理模块',NULL,NULL,'2018-01-08 13:31:34',NULL,'0000-00-00 00:00:00'),('fbde3d1a-ee83-4070-868c-ad7d2d3af40f','f9ded96d-aafa-46b2-b4c3-efe18336f5e4','购销合同',NULL,1,NULL,'货运管理-购销合同',NULL,NULL,'2018-01-09 18:40:38',NULL,'0000-00-00 00:00:00');
/*Table structure for table `role_module_p` */
DROP TABLE IF EXISTS `role_module_p`;
CREATE TABLE `role_module_p` (
`MODULE_ID` varchar(40) DEFAULT NULL,
`ROLE_ID` varchar(40) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `role_module_p` */
insert into `role_module_p`(`MODULE_ID`,`ROLE_ID`) values ('453f46e8-f7cb-4621-afac-64185169c7d0','3'),('9e98ed09-a136-45b6-acda-2744b13bfa41','3'),('b152749f-af17-42c4-96fb-028041e6c442','3'),('22192cf2-3cbe-4ee2-a1e3-62fe015c9241','3'),('433c572b-0987-4e5c-a382-8c6a68262fa7','3'),('50989970-a6c2-4bab-b131-9810e8194dcf','3'),('6c49a9bc-6406-4f40-91d0-ff38cafaaf4d','3'),('f9ded96d-aafa-46b2-b4c3-efe18336f5e4','3'),('453f46e8-f7cb-4621-afac-64185169c7d0','1'),('9e98ed09-a136-45b6-acda-2744b13bfa41','1'),('b152749f-af17-42c4-96fb-028041e6c442','1'),('22192cf2-3cbe-4ee2-a1e3-62fe015c9241','1'),('f9ded96d-aafa-46b2-b4c3-efe18336f5e4','1'),('453f46e8-f7cb-4621-afac-64185169c7d0','2'),('9e98ed09-a136-45b6-acda-2744b13bfa41','2'),('b152749f-af17-42c4-96fb-028041e6c442','2'),('22192cf2-3cbe-4ee2-a1e3-62fe015c9241','2');
/*Table structure for table `role_p` */
DROP TABLE IF EXISTS `role_p`;
CREATE TABLE `role_p` (
`ROLE_ID` varchar(40) NOT NULL,
`NAME` varchar(30) DEFAULT NULL,
`REMARKS` varchar(100) DEFAULT NULL,
`ORDER_NO` int(11) DEFAULT NULL,
`CREATE_BY` varchar(40) DEFAULT NULL,
`CREATE_DEPT` varchar(40) DEFAULT NULL,
`CREATE_TIME` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UPDATE_BY` varchar(40) DEFAULT NULL,
`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`ROLE_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `role_p` */
insert into `role_p`(`ROLE_ID`,`NAME`,`REMARKS`,`ORDER_NO`,`CREATE_BY`,`CREATE_DEPT`,`CREATE_TIME`,`UPDATE_BY`,`UPDATE_TIME`) values ('1','输出型法师','以一当十',NULL,'白鹏',NULL,'2018-01-08 13:07:16',NULL,'0000-00-00 00:00:00'),('2','打野刺客','专杀脆皮',NULL,'白鹏',NULL,'2018-01-08 13:07:56',NULL,'0000-00-00 00:00:00'),('3','CEO','公司ceo',NULL,'白鹏',NULL,'2018-01-09 18:18:29',NULL,'0000-00-00 00:00:00');
/*Table structure for table `role_user_p` */
DROP TABLE IF EXISTS `role_user_p`;
CREATE TABLE `role_user_p` (
`ROLE_ID` varchar(40) DEFAULT NULL,
`USER_ID` varchar(40) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `role_user_p` */
insert into `role_user_p`(`ROLE_ID`,`USER_ID`) values ('1','1'),('2','2'),('3','666');
/*Table structure for table `user_info_p` */
DROP TABLE IF EXISTS `user_info_p`;
CREATE TABLE `user_info_p` (
`USER_INFO_ID` varchar(40) NOT NULL,
`NAME` varchar(20) DEFAULT NULL,
`CARD_NO` varchar(20) DEFAULT NULL,
`MANAGER_ID` varchar(40) DEFAULT NULL,
`JOIN_DATE` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`SALARY` decimal(8,2) DEFAULT NULL,
`BIRTHDAY` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`GENDER` char(1) DEFAULT NULL,
`STATION` varchar(20) DEFAULT NULL,
`TELEPHONE` varchar(100) DEFAULT NULL,
`USER_LEVEL` char(1) DEFAULT NULL COMMENT '4-普通用户 3-部门经理 2-副总 1-总经理 0-超级管理员',
`REMARK` varchar(600) DEFAULT NULL,
`ORDER_NO` int(11) DEFAULT NULL,
`CREATE_BY` varchar(40) DEFAULT NULL COMMENT '登录人编号',
`CREATE_DEPT` varchar(40) DEFAULT NULL COMMENT '登录人所属部门编号',
`CREATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`UPDATE_BY` varchar(40) DEFAULT NULL,
`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`USER_INFO_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `user_info_p` */
insert into `user_info_p`(`USER_INFO_ID`,`NAME`,`CARD_NO`,`MANAGER_ID`,`JOIN_DATE`,`SALARY`,`BIRTHDAY`,`GENDER`,`STATION`,`TELEPHONE`,`USER_LEVEL`,`REMARK`,`ORDER_NO`,`CREATE_BY`,`CREATE_DEPT`,`CREATE_TIME`,`UPDATE_BY`,`UPDATE_TIME`) values ('1','安琪拉','140108199412301212','--无--','2018-01-08 13:01:06','88888.00','1994-12-30 00:00:00','女','法输出','1104561823','4','输出型选手',1,NULL,NULL,'0000-00-00 00:00:00','白鹏','2018-01-08 00:00:00'),('2','李白','140108199512301212','--无--','2018-01-08 13:06:15','66666.00','1995-12-30 00:00:00','男','刺客','1141600388','4','专杀脆皮',2,NULL,NULL,'0000-00-00 00:00:00','白鹏','2018-01-08 00:00:00'),('4','孙尚香','1401081992321','-1','2018-01-09 10:08:04','88866.00','2018-01-09 10:08:04','女','射手输出','1353456687','4','射手超强输出',4,NULL,NULL,'0000-00-00 00:00:00',NULL,'0000-00-00 00:00:00'),('666','白鹏','140108199412306666','--无--','2018-01-09 18:51:30','65535.00','2018-01-09 00:00:00','男','CEO','15034031272','0','管理所有',666,NULL,NULL,'0000-00-00 00:00:00','白鹏','2018-01-09 00:00:00');
/*Table structure for table `user_p` */
DROP TABLE IF EXISTS `user_p`;
CREATE TABLE `user_p` (
`USER_ID` varchar(40) NOT NULL,
`DEPT_ID` varchar(40) DEFAULT NULL,
`USERNAME` varchar(50) DEFAULT NULL,
`PASSWORD` varchar(64) DEFAULT NULL,
`STATE` int(11) DEFAULT NULL COMMENT '1启用0停用',
`CREATE_BY` varchar(40) DEFAULT NULL,
`CREATE_DEPT` varchar(40) DEFAULT NULL,
`CREATE_TIME` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UPDATE_BY` varchar(40) DEFAULT NULL,
`UPDATE_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`USER_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `user_p` */
insert into `user_p`(`USER_ID`,`DEPT_ID`,`USERNAME`,`PASSWORD`,`STATE`,`CREATE_BY`,`CREATE_DEPT`,`CREATE_TIME`,`UPDATE_BY`,`UPDATE_TIME`) values ('1','01','anqila','573b1ca71b2cd0a8793cb31bf4c41721',1,'白鹏',NULL,'2018-01-09 11:46:50',NULL,'0000-00-00 00:00:00'),('2','02','libai','3e187c08c33ac48153b6b99cc5493a06',1,'白鹏',NULL,'2018-01-09 11:47:11',NULL,'0000-00-00 00:00:00'),('4','03','sunshangxiang','2b4264aaf551aacf93e734ba25356cbd',1,'白鹏',NULL,'2018-01-09 10:08:04',NULL,'0000-00-00 00:00:00'),('666','0','baipeng','82e873b1b7af77e9078f9989d13dea05',1,'白鹏',NULL,'2018-01-09 18:51:30',NULL,'0000-00-00 00:00:00');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
main
java
com
peng
shiro
AuthMatcher
package com.peng.shiro;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authc.credential.SimpleCredentialsMatcher;
import org.apache.shiro.crypto.hash.Md5Hash;
/**
* 加密
*
* @author Administrator
*
*/
public class AuthMatcher extends SimpleCredentialsMatcher {
// 对原材料的密码进行加密
@Override
public boolean doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) {
// 对原材的密码进行加密
UsernamePasswordToken upToken = (UsernamePasswordToken) token;
String password = String.valueOf(upToken.getPassword());
Md5Hash m5 = new Md5Hash(password, upToken.getUsername(), 3);
upToken.setPassword(m5.toString().toCharArray());
return super.doCredentialsMatch(upToken, info);
}
}
AuthRealm
package com.peng.shiro;
import java.util.List;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.authz.SimpleAuthorizationInfo;
import org.apache.shiro.realm.SimpleAccountRealm;
import org.apache.shiro.subject.PrincipalCollection;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import com.peng.pojo.User;
import com.peng.service.UserService;
/**
* 原材料
*
* @author Administrator
*
*/
public class AuthRealm extends SimpleAccountRealm {
@Autowired
@Qualifier("userService")
private UserService userService;
// 登录原材料
@Override
protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
// 需要给安全中心提供登录校验的原材料【用户登录的信息】【正确的信息(数据库中的数据)】
UsernamePasswordToken upToken = (UsernamePasswordToken) token;
// 得到正确信息
User user = userService.findByUsername(upToken.getUsername());
// 登录的原材料信息[principal正确信息 credentials用户密码 realName材料类的名称]
AuthenticationInfo info = new SimpleAuthenticationInfo(user, user.getPassword(), this.getName());
return info;
}
// 权限材料
@Override
protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) {
// 真正的用户
User user = (User) principals.getPrimaryPrincipal();
List user_permissions = userService.findModuleNamesByUserId(user.getUserId());
SimpleAuthorizationInfo info = new SimpleAuthorizationInfo();
info.addStringPermissions(user_permissions);
return info;
}
}
resourse
mybatis
mappers
UserMapper.xml
update user_p set state=#{state} where user_id in
#{id}
delete from user_p where user_id in
#{id}
INSERT INTO user_p
(user_id,dept_id,username,PASSWORD,state,create_by)
VALUES(#{userId},#{dept.deptId},#{username},#{password},#{state},#{createBy})
update user_p
dept_id=#{dept.deptId},
username=#{username},
password=#{password},
state=#{state},
update_by=#{updateBy},
update_time=#{updateTime},
where user_id=#{userId}
sqlMapConfig.xml
spring
applicationContext.xml
applicationContext-mybatis.xml
applicationContext-shiro.xml
/login.action=anon
/staticfile/**=anon
/**=authc
applicationContext-transaction.xml
applicationContext-mvc-config.xml
jdbc_config.properties
jdbc.user=root
jdbc.password=root
jdbc.url=jdbc\:mysql\://localhost\:3306/ht?zeroDateTimeBehavior=convertToNull
jdbc.driver=com.mysql.jdbc.Driver
log4j.properties
log4j.rootLogger=DEBUG, Console
#Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n
log4j.logger.java.sql.ResultSet=INFO
log4j.logger.org.apache=INFO
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
webapp
WEB-INF
pages
basicinfo
left.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../baselist.jsp" %>
main.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
模块介绍
cargo
left.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../baselist.jsp" %>
main.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
模块介绍
home
fmain.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
国际物流汇通商贸
此网页使用了框架,但您的浏览器不支持框架。
left.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
main.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
title.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
您好:${_CURRENT_USER.userInfo.name} |
您所属单位:
${_CURRENT_USER.dept.deptName}
鼠标指向箭头位置
可显示更多菜单项
<%
//备忘录等使用
%>
-
stat
-
left.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
-
main.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
模块介绍
-
sysadmin
-
dept
-
JDeptCreate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
新增部门
-
JDeptList.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
部门列表
-
JDeptUpdate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
更新部门
-
JDeptView.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
查看部门
-
login
-
login.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../base.jsp" %>
国际物流汇通商贸
-
logout.jsp
<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../base.jsp" %>
-
module
-
JModuleCreate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
新增模块
-
JModuleList.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
模块列表
-
JModuleUpdate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
更新模块
-
JModuleView.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
查看模块
-
role
-
JRoleCreate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
新增角色
-
JRoleList.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
角色列表
-
JRoleModule.jsp
<%@ page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
角色模块分配
-
JRoleUpdate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
修改角色
-
JRoleView.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
查看角色
-
user
-
JUserCreate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
新增用户
-
JUserList.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
用户列表
-
JUserRole.jsp
<%@ page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
用户角色分配
-
JUserUpdate.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
修改用户
-
JUserView.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
查看用户
-
left.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<%@ include file="../baselist.jsp"%>
-
main.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
模块介绍
-
base.jsp
<%@ page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
-
baselist.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="base.jsp"%>
-
error.jsp
<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Error Page
错误信息:
点击这里查看具体错误消息,
报告以下错误消息给系统管理员,可以更加快速的解决问题;
联系电话:120
-
index.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
国际物流汇通商贸
web.xml
contextConfigLocation
classpath:/spring/applicationContext*.xml
org.springframework.web.context.ContextLoaderListener
shiroFilter
org.springframework.web.filter.DelegatingFilterProxy
targetFilterLifecycle
true
shiroFilter
/*
characterFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
utf-8
forceEncoding
true
characterFilter
/*
springmvc_dispatcher
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:/spring/spring-mvc-config.xml
1
springmvc_dispatcher
/
index.jsp
index.jsp
<%@ page contentType="text/html; charset=utf-8"%>
pom.xml
4.0.0
com.peng
ssmm
war
0.0.1-SNAPSHOT
ssmm Maven Webapp
http://maven.apache.org
4.12
4.2.3.RELEASE
3.2.8
1.2.2
1.2.15
5.1.32
0.8.0.RELEASE
1.0.9
2.3.2
3.4.2
0.9.1
1.7.7
1.2.17
1.2
2.5
2.0
0.9.1.2
2.9.3
4.0.0-b07
com.fasterxml.jackson.core
jackson-databind
${jackson.version}
c3p0
c3p0
${c3p0.version}
log4j
log4j
${log4j.version}
org.springframework
spring-context
${spring.version}
org.springframework
spring-webmvc
${spring.version}
org.springframework
spring-jdbc
${spring.version}
org.springframework
spring-aspects
${spring.version}
org.mybatis
mybatis
${mybatis.version}
org.mybatis
mybatis-spring
${mybatis.spring.version}
com.github.miemiedev
mybatis-paginator
${mybatis.paginator.version}
com.github.abel533
mapper
${mapper.version}
mysql
mysql-connector-java
${mysql.version}
com.zaxxer
HikariCP-java6
2.3.9
compile
org.apache.shiro
shiro-all
1.2.3
com.github.pagehelper
pagehelper
${pagehelper.version}
com.github.jsqlparser
jsqlparser
${jsqlparser.version}
org.slf4j
slf4j-log4j12
${slf4j.version}
jstl
jstl
${jstl.version}
javax.servlet
servlet-api
${servlet-api.version}
provided
javax.servlet
jsp-api
${jsp-api.version}
provided
commons-codec
commons-codec
1.9
org.hibernate
hibernate-validator
5.1.3.Final
commons-fileupload
commons-fileupload
1.3.1
commons-io
commons-io
2.4
commons-codec
commons-codec
1.9
javax.servlet
javax.servlet-api
${servlet_api.version}
provided
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
8077
/