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

抢购3-promoItemPrice拼写错误就整;前端页面;修Bug

This commit is contained in:
2022-03-05 15:47:04 +08:00
parent e77065df5d
commit bad79611bf
7 changed files with 76 additions and 32 deletions

View File

@@ -11,7 +11,7 @@
Target Server Version : 50726
File Encoding : 65001
Date: 05/03/2022 12:39:01
Date: 05/03/2022 15:19:32
*/
SET NAMES utf8mb4;
@@ -108,8 +108,9 @@ CREATE TABLE `promo_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`promo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`start_date` datetime NOT NULL DEFAULT '0000-01-01 00:00:00',
`end_date` datetime NOT NULL DEFAULT '0000-01-01 00:00:00',
`item_id` int(11) NOT NULL DEFAULT 0,
`prome_item_price` decimal(10, 2) NOT NULL DEFAULT 0.00,
`promo_item_price` decimal(10, 2) NOT NULL DEFAULT 0.00,
PRIMARY KEY (`id`) USING BTREE,
INDEX `item_id`(`item_id`) USING BTREE,
CONSTRAINT `promo_info_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `item_info` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
@@ -118,7 +119,7 @@ CREATE TABLE `promo_info` (
-- ----------------------------
-- Records of promo_info
-- ----------------------------
INSERT INTO `promo_info` VALUES (1, '小米手机抢购活动', '2022-03-05 14:00:00', 1, 1999.00);
INSERT INTO `promo_info` VALUES (1, '小米手机抢购活动', '2022-03-05 14:00:00', '2022-03-05 16:00:00', 5, 1999.00);
-- ----------------------------
-- Table structure for sequence_info