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