From 81012fd620814bc20845d7c5f6b77df8d0400389 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 29 Jul 2019 11:09:59 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=B8=9A=E6=80=81][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E4=B8=9A=E6=80=81]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../db/migration/V201907291107__G_ALTER_BUSINESS.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mallinkAdmin/src/main/resources/db/migration/V201907291107__G_ALTER_BUSINESS.sql diff --git a/mallinkAdmin/src/main/resources/db/migration/V201907291107__G_ALTER_BUSINESS.sql b/mallinkAdmin/src/main/resources/db/migration/V201907291107__G_ALTER_BUSINESS.sql new file mode 100644 index 000000000..e4430165e --- /dev/null +++ b/mallinkAdmin/src/main/resources/db/migration/V201907291107__G_ALTER_BUSINESS.sql @@ -0,0 +1,9 @@ +#父级业态 +insert into `wx_business` ( `id`, `title`, `type`, `create_date`, `update_date`) values ( '11', '数码家电', '1', now(), now()); +#子级业态 +insert into `wx_sub_business` ( `id`, `title`, `business_id`, `business_title`, `create_date`, `update_date`) values +( '59', '家用电器', '11', '数码家电', now(), now()), +( '60', '数码产品', '11', '数码家电', now(), now()), +( '61', '手机通信', '11', '数码家电', now(), now()), +( '62', '电脑办公', '11', '数码家电', now(), now()), +( '63', '影音娱乐', '11', '数码家电', now(), now()); \ No newline at end of file