promotion:完善限时折扣的修改逻辑

This commit is contained in:
YunaiV
2022-11-06 12:38:13 +08:00
parent 6d48bd1ed8
commit 941782fb10
8 changed files with 165 additions and 51 deletions

View File

@@ -112,7 +112,9 @@ CREATE TABLE IF NOT EXISTS "promotion_discount_product" (
"activity_id" bigint NOT NULL,
"spu_id" bigint NOT NULL,
"sku_id" bigint NOT NULL,
"discount_price" int NOT NULL,
"discount_type" int NOT NULL,
"discount_percent" int,
"discount_price" int,
"creator" varchar DEFAULT '',
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updater" varchar DEFAULT '',