From c134351c82f7b3a28fede3b92f66a8a81db314b9 Mon Sep 17 00:00:00 2001 From: Council Date: Tue, 21 Apr 2026 12:32:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20spec=20=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8C=BA=20+=20GoodsSpecType=20encoding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 清理重复的 GoodsSpecType 记录 - 重新生成正确的 GoodsSpecType 数据(场次信息) --- sql/fix_spec_type.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/fix_spec_type.sql diff --git a/sql/fix_spec_type.sql b/sql/fix_spec_type.sql new file mode 100644 index 0000000..20465da --- /dev/null +++ b/sql/fix_spec_type.sql @@ -0,0 +1,6 @@ +-- GoodsSpecType for goods_id=118 +INSERT INTO vrt_goods_spec_type (goods_id, name, value, add_time) VALUES +(118, '$vr-场馆', '[{"name":"主厅","images":""}]', UNIX_TIMESTAMP()), +(118, '$vr-分区', '[{"name":"主厅-主厅-A","images":""},{"name":"主厅-主厅-B","images":""}]', UNIX_TIMESTAMP()), +(118, '$vr-座位号', '[{"name":"主厅-主厅-A-A1","images":""},{"name":"主厅-主厅-A-A2","images":""},{"name":"主厅-主厅-A-A3","images":""},{"name":"主厅-主厅-A-A4","images":""},{"name":"主厅-主厅-A-A5","images":""},{"name":"主厅-主厅-A-A6","images":""},{"name":"主厅-主厅-A-B1","images":""},{"name":"主厅-主厅-A-B2","images":""},{"name":"主厅-主厅-A-B3","images":""},{"name":"主厅-主厅-B-B1","images":""},{"name":"主厅-主厅-B-B2","images":""},{"name":"主厅-主厅-B-B3","images":""},{"name":"主厅-主厅-B-B4","images":""},{"name":"主厅-主厅-B-B5","images":""},{"name":"主厅-主厅-B-B6","images":""}]', UNIX_TIMESTAMP()), +(118, '$vr-场次', '[{"name":"08:00-23:59","images":""}]', UNIX_TIMESTAMP());