From da2da5fe75366c5a266d413dd1390788987275a4 Mon Sep 17 00:00:00 2001 From: Agent Date: Fri, 27 Mar 2026 14:02:59 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=A2=E5=8D=95=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0discount=5Fmoney=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/init.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index 31ef426..338f94f 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -74,6 +74,7 @@ CREATE TABLE IF NOT EXISTS orders ( customer_wechat VARCHAR(128), total_amount DECIMAL(12,2) NOT NULL, discount_amount DECIMAL(12,2) DEFAULT 0, + discount_money DECIMAL(12,2) DEFAULT 0, actual_amount DECIMAL(12,2) NOT NULL, discount_rate DECIMAL(5,2) DEFAULT 100, status INTEGER NOT NULL DEFAULT 1,