java web CURD

Posted by Genie on January 17, 2020

GitHub code

SQL and Data

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 Navicat Premium Data Transfer

 Source Server         : Libra
 Source Server Type    : MySQL
 Source Server Version : 50728
 Source Host           : 127.0.0.1:3306
 Source Schema         : case

 Target Server Type    : MySQL
 Target Server Version : 50728
 File Encoding         : 65001

 Date: 16/01/2020 16:17:13
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
  `id` int(100) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `gender` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `age` int(100) DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `qq` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `username` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` VALUES (2, 'Cheng Sun', '男', 61, '陕西', '1234567', 'ep_chengsun@aliyun.com', 'suncheng', '123456');
INSERT INTO `user` VALUES (6, 'Cheng Sun', '男', 30, '陕西', '1234567', 'ep_chengsun@aliyun.com', NULL, NULL);
INSERT INTO `user` VALUES (7, 'Cheng Sun', '男', 30, '陕西', '1234567', 'ep_chengsun@aliyun.com', NULL, NULL);
INSERT INTO `user` VALUES (8, 'Cheng Sun', '男', 30, '陕西', '1234567', 'ep_chengsun@aliyun.com', NULL, NULL);
INSERT INTO `user` VALUES (9, 'Cheng Sun', '男', 30, '北京', '1234567', 'ep_chengsun@aliyun.com', NULL, NULL);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;

有问题可以联系Email