mirror of
				https://gitee.com/coder-xiaomo/flashsale
				synced 2025-11-04 06:03:13 +08:00 
			
		
		
		
	交易下单2-添加sequence_info表并自动生成Mapper
This commit is contained in:
		@@ -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
 | 
			
		||||
-- ----------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user