CREATE TABLE `auth_user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
`pwd` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
`pwd` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
2016-07-10
CREATE TABLE `auth_role_function` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) DEFAULT NULL,
`function_id` bigint(20) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) DEFAULT NULL,
`function_id` bigint(20) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
2016-07-10
CREATE TABLE `auth_role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
2016-07-10
CREATE TABLE `auth_function` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
`parent_id` bigint(20) DEFAULT NULL,
`url` varchar(128) DEFAULT NULL,
`serial_num` int(11) DEFAULT NULL,
`accordion` int(11) DEFAULT NULL,PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(64) DEFAULT NULL,
`parent_id` bigint(20) DEFAULT NULL,
`url` varchar(128) DEFAULT NULL,
`serial_num` int(11) DEFAULT NULL,
`accordion` int(11) DEFAULT NULL,PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
2016-07-10
包的结构
-controller,service,dao, dto,entity,common,context
common包
-Tree,dao基类,实体基类,工具类
context包
-数据缓存、登陆用户信息
-controller,service,dao, dto,entity,common,context
common包
-Tree,dao基类,实体基类,工具类
context包
-数据缓存、登陆用户信息
2016-07-09
期待下篇,缓存context cache application session request cookies response page pageContext?
2016-07-08