1
0
mirror of https://gitee.com/coder-xiaomo/flashsale synced 2025-09-11 06:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

交易下单2-添加sequence_info表并自动生成Mapper

This commit is contained in:
2022-03-03 23:10:07 +08:00
parent d44db6d5be
commit e3917d1ff1
6 changed files with 296 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
Target Server Version : 50726
File Encoding : 65001
Date: 03/03/2022 22:01:38
Date: 03/03/2022 23:08:26
*/
SET NAMES utf8mb4;
@@ -100,6 +100,22 @@ CREATE TABLE `order_info` (
-- Records of order_info
-- ----------------------------
-- ----------------------------
-- Table structure for sequence_info
-- ----------------------------
DROP TABLE IF EXISTS `sequence_info`;
CREATE TABLE `sequence_info` (
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`current_value` int(11) NOT NULL DEFAULT 0,
`step` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sequence_info
-- ----------------------------
INSERT INTO `sequence_info` VALUES ('order_info', 0, 1);
-- ----------------------------
-- Table structure for user_info
-- ----------------------------