介绍:spring+springmvc+mybatis三大框架,mysql数据库

功能结构图:

效果截图:

数据库表:

CREATE TABLE `t_admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(100) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of t_admin
-- ----------------------------
INSERT INTO `t_admin` VALUES ('1', 'admin', '111');

-- ----------------------------
-- Table structure for `t_contact`
-- ----------------------------
DROP TABLE IF EXISTS `t_contact`;
CREATE TABLE `t_contact` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`customerId` int(11) DEFAULT NULL COMMENT '用户',
`phone` varchar(100) DEFAULT NULL COMMENT '联系方式',
`content` text COMMENT '内容',
`insertDate` datetime DEFAULT NULL COMMENT '日期',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='建议';

-- ----------------------------
-- Records of t_contact
-- ----------------------------
INSERT INTO `t_contact` VALUES ('1', '2', '1123', '123123123', '2020-02-13 08:15:15');
INSERT INTO `t_contact` VALUES ('2', '2', '149999999', 'sdfasdfasdfasdfasdf', '2020-02-15 09:51:57');
INSERT INTO `t_contact` VALUES ('3', '2', '123123', '2312312跌幅达士大夫撒', '2020-02-10 15:14:26');
INSERT INTO `t_contact` VALUES ('4', '8', '1381111111111111', '1三大法师的发', '2020-02-12 10:47:37');
INSERT INTO `t_contact` VALUES ('5', '2', null, null, '2020-02-11 08:11:09');
INSERT INTO `t_contact` VALUES ('6', '2', '13811111111', '阿达撒发的说法三', '2020-02-13 02:50:51');
INSERT INTO `t_contact` VALUES ('7', '2', '2222', '222', '2020-02-11 01:49:15');
INSERT INTO `t_contact` VALUES ('8', null, '13811111111', '阿斯顿发的说法', '2020-02-14 15:22:20');
INSERT INTO `t_contact` VALUES ('9', null, '13811111111', '的说法是发生', '2020-02-13 07:33:25');
INSERT INTO `t_contact` VALUES ('10', '13', '138111111111', '111', '2020-02-11 22:47:47');

-- ----------------------------
-- Table structure for `t_customer`
-- ----------------------------
DROP TABLE IF EXISTS `t_customer`;
CREATE TABLE `t_customer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(100) DEFAULT NULL COMMENT '账号',
`password` varchar(100) DEFAULT NULL COMMENT '密码',
`customerName` varchar(100) DEFAULT NULL COMMENT '姓名',
`sex` varchar(100) DEFAULT NULL COMMENT '性别',
`address` varchar(100) DEFAULT NULL COMMENT '地址',
`phone` varchar(100) DEFAULT NULL COMMENT '手机',
`account` int(11) DEFAULT NULL COMMENT '账户',
`jf` int(11) DEFAULT NULL COMMENT '积分',
`headPic` varchar(50) DEFAULT NULL COMMENT '头像',
`status` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='客户';

-- ----------------------------
-- Records of t_customer
-- ----------------------------
INSERT INTO `t_customer` VALUES ('2', 'c1', '111', '小明', '男', '上海市政府大楼', '13811111111', '3374', '20300', 'upload/20200217/158194362417952.jpg', null);
INSERT INTO `t_customer` VALUES ('3', 'c2', '111', '李四', '女', '上海市政府大楼', '13811111111', null, null, 'upload/20191205/157555434951579.jpg', null);
INSERT INTO `t_customer` VALUES ('4', 'c3', '111', '王五', '女', '上海市政府大楼', '13811111111', null, null, 'upload/20191205/157555434951579.jpg', null);
INSERT INTO `t_customer` VALUES ('5', 'c4', '111', '赵柳', '男', '上海市政府大楼', '13811111111', '-1464', '21200', 'upload/20191205/157555434951579.jpg', null);
INSERT INTO `t_customer` VALUES ('6', 'c5', '111', '黑漆', '男', '上海市政府大楼', '13811111111', '-2453', '20211', 'upload/20191205/157555434951579.jpg', null);
INSERT INTO `t_customer` VALUES ('7', 'c6', '111', '小红', '男', '上海市政府大楼', '13811111111', null, null, 'upload/20191205/157555434951579.jpg', null);

最新文章

  1. 【leetcode】Spiral Matrix
  2. pthread_create 内存释放
  3. iOS初步开发
  4. SQL Server内存理解的误区
  5. SharePoint 2013 为用户组自定义EventReceiver
  6. ASP.NET Entity Framework with MySql服务器发布环境配置
  7. PBR综合小实验视频-狮子XL
  8. 如何在Oracle网站获取官方免费课程
  9. ICOMOON!强悍的WEB字体图标制造器/Web字体使用实例
  10. Number Transformation
  11. 从零开始用 Flask 搭建一个网站(三)
  12. BZOJ-USACO被虐记
  13. Idea远程调试undertow
  14. Java作业 十一(2017-11-13)
  15. Senparc.Weixin.MP SDK 微信公众平台开发教程(二十):使用菜单消息功能
  16. Java开发笔记(四十)日期与字符串的互相转换
  17. 解决Invalid bound statement (not found): com.cqupt.ssm.dao.UserDao.queryMenu问题
  18. mfc 动态创建EDIT控件
  19. Spring整合ActiveMQ:spring+JMS+ActiveMQ+Tomcat
  20. C++11标准的类型别名

热门文章

  1. 人体姿态和形状估计的视频推理:CVPR2020论文解析
  2. NNVM AI框架编译器
  3. Paddle Inference原生推理库
  4. Pytorch线性规划模型 学习笔记(一)
  5. 三、WPF入门教程——布局和常用Panel学习
  6. 管理后台Vue
  7. Django-ORM-事务和锁
  8. 微信订阅号中获取openid以及个人信息
  9. MySQL 到 ES 数据实时同步技术架构
  10. Local dimming algorithm in matlab