boot代码

This commit is contained in:
2026-02-02 13:59:06 +08:00
parent f13ce7886d
commit cd88956a43
573 changed files with 43180 additions and 276 deletions

View File

@@ -0,0 +1,15 @@
alter table blade_user
add register_date timestamp;
alter table blade_user
add invitation_code varchar(32);
alter table blade_user
add pid bigint;
create index blade_user_register_date_index
on blade_user (is_deleted, register_date);
create index bur_invitation_code_index
on blade_user (is_deleted, invitation_code);

4
doc/sql/insert_ads.sql Normal file
View File

@@ -0,0 +1,4 @@
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839712136810498, '广告1', '11111', 1, 1, 5, 0, '2026-02-01 13:57:31', 1123598821738675201, '2026-02-01 13:57:44.351', 1123598821738675201, 1123598813738675201, 1);
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839810455490561, '广告2', '22222', 2, 1, 5, 0, '2026-02-01 13:57:55.123', 1123598821738675201, '2026-02-01 13:57:55.123', 1123598821738675201, 1123598813738675201, 1);
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839854445350914, '广告3', '33333', 3, 1, 5, 0, '2026-02-01 13:58:05.608', 1123598821738675201, '2026-02-01 13:58:05.608', 1123598821738675201, 1123598813738675201, 1);
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839920576942081, '广告4', '44444', 4, 1, 5, 0, '2026-02-01 13:58:21.378', 1123598821738675201, '2026-02-01 13:58:21.378', 1123598821738675201, 1123598813738675201, 1);

View File

@@ -0,0 +1,2 @@
INSERT INTO "<table_name>" ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016023363404103681, 'appFormal', 'uP1mG5gT1sC6tG4mT7nU7fL9yP6yW1sY', '', 'all', 'refresh_token,password,sms_code,register', 'http://localhost:8081', '', 86400, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-27 13:40:00', 1123598821738675201, '2026-01-30 21:11:21.64', 1, 0);
INSERT INTO "<table_name>" ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017525783019851778, 'appOffline', 'gL8nS4oV2cS8fC2zD9tB3xB9zY8vA3hE9xS2uR7gC2tO0sO8pE4gC4sF6kB7bN7q', '', 'all', 'refresh_token,password,sms_code', 'http://localhost:8081', '', 259200, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-31 17:10:05', 1123598821738675201, '2026-01-31 17:10:19.598', 1, 0);

View File

@@ -0,0 +1,231 @@
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860547, 2016511999274860546, 'ads_add', '新增', 'add', '/userPackInfo/ads/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860548, 2016511999274860546, 'ads_edit', '修改', 'edit', '/userPackInfo/ads/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860549, 2016511999274860546, 'ads_delete', '删除', 'delete', '/api/blade-ads/ads/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860550, 2016511999274860546, 'ads_view', '查看', 'view', '/userPackInfo/ads/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925122, 2016511986561925121, 'level_info_add', '新增', 'add', '/customer/levelInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016444412729917441, 0, 'customer', '用户信息', 'menu', '/customer', 'iconfont iconicon_subordinate', 9, 1, -1, 1, '', '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445572647911425, 0, 'cashAccount', '资金账户', 'menu', '/cashAccount', 'iconfont icon-biaodanzujian-biaoge', 10, 1, -1, 1, '', '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445919294554113, 0, 'mall', '商城', 'menu', '/mall', 'iconfont iconicon_message', 11, 1, NULL, 1, NULL, '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446167375052801, 0, 'order', '订单管理', 'menu', '/order', 'iconfont iconicon_message', 12, 1, NULL, 1, NULL, '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446332399943682, 0, 'userPackInfo', '积分包管理', 'menu', '/userPackInfo', 'iconfont iconicon_principal', 13, 1, NULL, 1, NULL, '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446547672596482, 0, 'userPoint', '用户积分管理', 'menu', '/userPoint', 'iconfont iconicon_message', 14, 1, NULL, 1, NULL, '', 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925123, 2016511986561925121, 'level_info_edit', '修改', 'edit', '/customer/levelInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925124, 2016511986561925121, 'level_info_delete', '删除', 'delete', '/api/blade-level-info/level_info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925125, 2016511986561925121, 'level_info_view', '查看', 'view', '/customer/levelInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306819, 2016511987606306818, 'cart_add', '新增', 'add', '/mall/mallCart/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306820, 2016511987606306818, 'cart_edit', '修改', 'edit', '/mall/mallCart/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306821, 2016511987606306818, 'cart_delete', '删除', 'delete', '/api/blade-mall-cart/cart/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306822, 2016511987606306818, 'cart_view', '查看', 'view', '/mall/mallCart/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805634, 2016511989300805633, 'detailOrder_add', '新增', 'add', '/order/mallDetailOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805635, 2016511989300805633, 'detailOrder_edit', '修改', 'edit', '/order/mallDetailOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805636, 2016511989300805633, 'detailOrder_delete', '删除', 'delete', '/api/blade-mall-detailorder/detailOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805637, 2016511989300805633, 'detailOrder_view', '查看', 'view', '/order/mallDetailOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400515, 2016511988126400514, 'spu_add', '新增', 'add', '/mall/mallSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400516, 2016511988126400514, 'spu_edit', '修改', 'edit', '/mall/mallSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400517, 2016511988126400514, 'spu_delete', '删除', 'delete', '/api/blade-mall-spu/spu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400518, 2016511988126400514, 'spu_view', '查看', 'view', '/mall/mallSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813891, 2016511989883813890, 'summaryOrder_add', '新增', 'add', '/order/mallSummaryOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813892, 2016511989883813890, 'summaryOrder_edit', '修改', 'edit', '/order/mallSummaryOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813893, 2016511989883813890, 'summaryOrder_delete', '删除', 'delete', '/api/blade-mall-summaryorder/summaryOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813894, 2016511989883813890, 'summaryOrder_view', '查看', 'view', '/order/mallSummaryOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296194, 2016511990412296193, 'summaryOrderAfter_add', '新增', 'add', '/order/mallSummaryOrderAfter/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296195, 2016511990412296193, 'summaryOrderAfter_edit', '修改', 'edit', '/order/mallSummaryOrderAfter/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296196, 2016511990412296193, 'summaryOrderAfter_delete', '删除', 'delete', '/api/blade-mall-summaryorderafter/summaryOrderAfter/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296197, 2016511990412296193, 'summaryOrderAfter_view', '查看', 'view', '/order/mallSummaryOrderAfter/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947202, 2016511985072947201, 'info_add', '新增', 'add', '/userPackInfo/appPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947203, 2016511985072947201, 'info_edit', '修改', 'edit', '/userPackInfo/appPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947204, 2016511985072947201, 'info_delete', '删除', 'delete', '/blade-app-package/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947205, 2016511985072947201, 'info_view', '查看', 'view', '/userPackInfo/appPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602884, 2016511997844602881, 'info_delete', '删除', 'delete', '/api/blade-app-regions/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494210, 2016511988646494209, 'address_add', '新增', 'add', '/mall/userAddress/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494211, 2016511988646494209, 'address_edit', '修改', 'edit', '/mall/userAddress/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494212, 2016511988646494209, 'address_delete', '删除', 'delete', '/api/blade-user-address/address/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494213, 2016511988646494209, 'address_view', '查看', 'view', '/mall/userAddress/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675395, 2016511979087675394, 'benefit_add', '新增', 'add', '/userPoint/userBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675396, 2016511979087675394, 'benefit_edit', '修改', 'edit', '/userPoint/userBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675397, 2016511979087675394, 'benefit_delete', '删除', 'delete', '/api/blade-user-benefit/benefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675398, 2016511979087675394, 'benefit_view', '查看', 'view', '/userPoint/userBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292802, 2016511998809292801, 'benefitLog_add', '新增', 'add', '/userPoint/userBenefitLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292803, 2016511998809292801, 'benefitLog_edit', '修改', 'edit', '/userPoint/userBenefitLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292804, 2016511998809292801, 'benefitLog_delete', '删除', 'delete', '/api/blade-user-benefitlog/benefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292805, 2016511998809292801, 'benefitLog_view', '查看', 'view', '/userPoint/userBenefitLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947201, 2016446332399943682, 'info', '积分包信息', 'menu', '/userPackInfo/appPackageInfo', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813890, 2016446167375052801, 'summaryOrder', '商城总订单', 'menu', '/order/mallSummaryOrder', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805633, 2016446167375052801, 'detailOrder', '商城详情订单', 'menu', '/order/mallDetailOrder', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400514, 2016445919294554113, 'spu', '商城spu', 'menu', '/mall/mallSpu', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306818, 2016445919294554113, 'cart', '商城购物车', 'menu', '/mall/mallCart', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296193, 2016446167375052801, 'summaryOrderAfter', '商品售后订单', 'menu', '/order/mallSummaryOrderAfter', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675394, 2016446547672596482, 'benefit', '用户福利值', 'menu', '/userPoint/userBenefit', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494209, 2016445919294554113, 'address', '用户地址', 'menu', '/mall/userAddress', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380483, 2016511979599380482, 'cash_add', '新增', 'add', '/userPoint/userCash/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380484, 2016511979599380482, 'cash_edit', '修改', 'edit', '/userPoint/userCash/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380485, 2016511979599380482, 'cash_delete', '删除', 'delete', '/api/blade-user-cash/cash/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380486, 2016511979599380482, 'cash_view', '查看', 'view', '/userPoint/userCash/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307971, 2016511998356307970, 'cashLog_add', '新增', 'add', '/userPoint/userCashLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307972, 2016511998356307970, 'cashLog_edit', '修改', 'edit', '/userPoint/userCashLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307973, 2016511998356307970, 'cashLog_delete', '删除', 'delete', '/api/blade-user-cashlog/cashLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307974, 2016511998356307970, 'cashLog_view', '查看', 'view', '/userPoint/userCashLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279874, 2016511980115279873, 'commission_add', '新增', 'add', '/userPoint/userCommission/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279875, 2016511980115279873, 'commission_edit', '修改', 'edit', '/userPoint/userCommission/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279876, 2016511980115279873, 'commission_delete', '删除', 'delete', '/api/blade-user-commission/commission/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279877, 2016511980115279873, 'commission_view', '查看', 'view', '/userPoint/userCommission/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701314, 2016511991586701313, 'commissionAccount_add', '新增', 'add', '/cashAccount/userCommissionAccount/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701315, 2016511991586701313, 'commissionAccount_edit', '修改', 'edit', '/cashAccount/userCommissionAccount/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701316, 2016511991586701313, 'commissionAccount_delete', '删除', 'delete', '/api/blade-user-commissionaccount/commissionAccount/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701317, 2016511991586701313, 'commissionAccount_view', '查看', 'view', '/cashAccount/userCommissionAccount/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600706, 2016511992102600705, 'commissionAdvertisingLog_add', '新增', 'add', '/cashAccount/userCommissionAdvertisingLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600707, 2016511992102600705, 'commissionAdvertisingLog_edit', '修改', 'edit', '/cashAccount/userCommissionAdvertisingLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600708, 2016511992102600705, 'commissionAdvertisingLog_delete', '删除', 'delete', '/api/blade-user-commissionadvertisinglog/commissionAdvertisingLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600709, 2016511992102600705, 'commissionAdvertisingLog_view', '查看', 'view', '/cashAccount/userCommissionAdvertisingLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586883, 2016511994174586882, 'commissionAgencyLog_add', '新增', 'add', '/cashAccount/userCommissionAgencyLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586884, 2016511994174586882, 'commissionAgencyLog_edit', '修改', 'edit', '/cashAccount/userCommissionAgencyLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586885, 2016511994174586882, 'commissionAgencyLog_delete', '删除', 'delete', '/api/blade-user-commissionagencylog/commissionAgencyLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586886, 2016511994174586882, 'commissionAgencyLog_view', '查看', 'view', '/cashAccount/userCommissionAgencyLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680578, 2016511994694680577, 'commissionCoCreatorLog_add', '新增', 'add', '/cashAccount/userCommissionCoCreatorLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680579, 2016511994694680577, 'commissionCoCreatorLog_edit', '修改', 'edit', '/cashAccount/userCommissionCoCreatorLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680580, 2016511994694680577, 'commissionCoCreatorLog_delete', '删除', 'delete', '/api/blade-user-commissioncocreatorlog/commissionCoCreatorLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680581, 2016511994694680577, 'commissionCoCreatorLog_view', '查看', 'view', '/cashAccount/userCommissionCoCreatorLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968579, 2016511995218968578, 'commissionDirectPushLog_add', '新增', 'add', '/cashAccount/userCommissionDirectPushLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968580, 2016511995218968578, 'commissionDirectPushLog_edit', '修改', 'edit', '/cashAccount/userCommissionDirectPushLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968581, 2016511995218968578, 'commissionDirectPushLog_delete', '删除', 'delete', '/api/blade-user-commissiondirectpushlog/commissionDirectPushLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968582, 2016511995218968578, 'commissionDirectPushLog_view', '查看', 'view', '/cashAccount/userCommissionDirectPushLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256578, 2016511995743256577, 'commissionGoodsCostLog_add', '新增', 'add', '/cashAccount/userCommissionGoodsCostLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256579, 2016511995743256577, 'commissionGoodsCostLog_edit', '修改', 'edit', '/cashAccount/userCommissionGoodsCostLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256580, 2016511995743256577, 'commissionGoodsCostLog_delete', '删除', 'delete', '/api/blade-user-commissiongoodscostlog/commissionGoodsCostLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256581, 2016511995743256577, 'commissionGoodsCostLog_view', '查看', 'view', '/cashAccount/userCommissionGoodsCostLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179267, 2016511980631179266, 'commissionLog_add', '新增', 'add', '/userPoint/userCommissionLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179268, 2016511980631179266, 'commissionLog_edit', '修改', 'edit', '/userPoint/userCommissionLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179269, 2016511980631179266, 'commissionLog_delete', '删除', 'delete', '/api/blade-user-commissionlog/commissionLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179270, 2016511980631179266, 'commissionLog_view', '查看', 'view', '/userPoint/userCommissionLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135746, 2016511996863135745, 'commissionServiceProviderLog_add', '新增', 'add', '/cashAccount/userCommissionServiceProviderLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135747, 2016511996863135745, 'commissionServiceProviderLog_edit', '修改', 'edit', '/cashAccount/userCommissionServiceProviderLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135748, 2016511996863135745, 'commissionServiceProviderLog_delete', '删除', 'delete', '/api/blade-user-commissionserviceproviderlog/commissionServiceProviderLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135749, 2016511996863135745, 'commissionServiceProviderLog_view', '查看', 'view', '/cashAccount/userCommissionServiceProviderLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423747, 2016511997387423746, 'commissionUserPointLog_add', '新增', 'add', '/cashAccount/userCommissionUserPointLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423748, 2016511997387423746, 'commissionUserPointLog_edit', '修改', 'edit', '/cashAccount/userCommissionUserPointLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423749, 2016511997387423746, 'commissionUserPointLog_delete', '删除', 'delete', '/api/blade-user-commissionuserpointlog/commissionUserPointLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423750, 2016511997387423746, 'commissionUserPointLog_view', '查看', 'view', '/cashAccount/userCommissionUserPointLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661571, 2016511981159661570, 'gainsDay_add', '新增', 'add', '/userPoint/userGainsDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661572, 2016511981159661570, 'gainsDay_edit', '修改', 'edit', '/userPoint/userGainsDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661573, 2016511981159661570, 'gainsDay_delete', '删除', 'delete', '/api/blade-user-gainsday/gainsDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661574, 2016511981159661570, 'gainsDay_view', '查看', 'view', '/userPoint/userGainsDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646403, 2016511981612646402, 'gainsDayLog_add', '新增', 'add', '/userPoint/userGainsDayLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646404, 2016511981612646402, 'gainsDayLog_edit', '修改', 'edit', '/userPoint/userGainsDayLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646405, 2016511981612646402, 'gainsDayLog_delete', '删除', 'delete', '/api/blade-user-gainsdaylog/gainsDayLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646406, 2016511981612646402, 'gainsDayLog_view', '查看', 'view', '/userPoint/userGainsDayLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305794, 2016511992614305793, 'genealogy_add', '新增', 'add', '/customer/userGenealogy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305795, 2016511992614305793, 'genealogy_edit', '修改', 'edit', '/customer/userGenealogy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305796, 2016511992614305793, 'genealogy_delete', '删除', 'delete', '/api/blade-user-genealogy/genealogy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305797, 2016511992614305793, 'genealogy_view', '查看', 'view', '/customer/userGenealogy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314050, 2016511993197314049, 'increaseDay_add', '新增', 'add', '/customer/userIncreaseDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314051, 2016511993197314049, 'increaseDay_edit', '修改', 'edit', '/customer/userIncreaseDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314052, 2016511993197314049, 'increaseDay_delete', '删除', 'delete', '/api/blade-user-increaseday/increaseDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314053, 2016511993197314049, 'increaseDay_view', '查看', 'view', '/customer/userIncreaseDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084226, 2016511978492084225, 'levelLog_add', '新增', 'add', '/customer/userLevelLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084227, 2016511978492084225, 'levelLog_edit', '修改', 'edit', '/customer/userLevelLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084228, 2016511978492084225, 'levelLog_delete', '删除', 'delete', '/api/blade-userLevellog/levelLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084229, 2016511978492084225, 'levelLog_view', '查看', 'view', '/customer/userLevelLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934402, 2016511982136934401, 'mallIntegral_add', '新增', 'add', '/userPoint/userMallIntegral/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934403, 2016511982136934401, 'mallIntegral_edit', '修改', 'edit', '/userPoint/userMallIntegral/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934404, 2016511982136934401, 'mallIntegral_delete', '删除', 'delete', '/api/blade-user-mallintegral/mallIntegral/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934405, 2016511982136934401, 'mallIntegral_view', '查看', 'view', '/userPoint/userMallIntegral/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919235, 2016511982589919234, 'mallIntegralLog_add', '新增', 'add', '/userPoint/userMallIntegralLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919236, 2016511982589919234, 'mallIntegralLog_edit', '修改', 'edit', '/userPoint/userMallIntegralLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919237, 2016511982589919234, 'mallIntegralLog_delete', '删除', 'delete', '/api/blade-user-mallintegrallog/mallIntegralLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919238, 2016511982589919234, 'mallIntegralLog_view', '查看', 'view', '/userPoint/userMallIntegralLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275970, 2016446167375052801, 'order', '用户订单', 'menu', '/order/userOrder', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275971, 2016511991016275970, 'order_add', '新增', 'add', '/order/userOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275972, 2016511991016275970, 'order_edit', '修改', 'edit', '/order/userOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275973, 2016511991016275970, 'order_delete', '删除', 'delete', '/api/blade-user-order/order/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275974, 2016511991016275970, 'order_view', '查看', 'view', '/order/userOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932035, 2016511985525932034, 'packageInfo_add', '新增', 'add', '/userPackInfo/userPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932036, 2016511985525932034, 'packageInfo_edit', '修改', 'edit', '/userPackInfo/userPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932037, 2016511985525932034, 'packageInfo_delete', '删除', 'delete', '/api/blade-user-packageinfo/packageInfo/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932038, 2016511985525932034, 'packageInfo_view', '查看', 'view', '/userPackInfo/userPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134594, 2016511986113134593, 'packageInfoCopy_add', '新增', 'add', '/userPackInfo/userPackageInfoCopy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134595, 2016511986113134593, 'packageInfoCopy_edit', '修改', 'edit', '/userPackInfo/userPackageInfoCopy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134596, 2016511986113134593, 'packageInfoCopy_delete', '删除', 'delete', '/api/blade-user-packageinfocopy/packageInfoCopy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134597, 2016511986113134593, 'packageInfoCopy_view', '查看', 'view', '/userPackInfo/userPackageInfoCopy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098372, 2016511983047098369, 'performance_delete', '删除', 'delete', '/api/blade-user-performance/performance/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480068, 2016511984091480065, 'performanceBenefit_delete', '删除', 'delete', '/api/blade-user-performancebenefit/performanceBenefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659205, 2016511984548659202, 'performanceBenefitLog_delete', '删除', 'delete', '/api/blade-user-performancebenefitlog/performanceBenefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300933, 2016511983634300930, 'performanceLog_delete', '删除', 'delete', '/api/blade-user-performancelog/performanceLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407747, 2016511993717407746, 'tree_add', '新增', 'add', '/customer/userTree/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407748, 2016511993717407746, 'tree_edit', '修改', 'edit', '/customer/userTree/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407750, 2016511993717407746, 'tree_view', '查看', 'view', '/customer/userTree/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738882, 2016511996271738881, 'commissionOperationLog_add', '新增', 'add', '/cashAccount/userCommissionOperationLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738883, 2016511996271738881, 'commissionOperationLog_edit', '修改', 'edit', '/cashAccount/userCommissionOperationLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738884, 2016511996271738881, 'commissionOperationLog_delete', '删除', 'delete', '/api/blade-user-commissionoperationlog/commissionOperationLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738885, 2016511996271738881, 'commissionOperationLog_view', '查看', 'view', '/cashAccount/userCommissionOperationLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602885, 2016511997844602881, 'info_view', '查看', 'view', '/customer/appRegionsInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602882, 2016511997844602881, 'info_add', '新增', 'add', '/customer/appRegionsInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602883, 2016511997844602881, 'info_edit', '修改', 'edit', '/customer/appRegionsInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407749, 2016511993717407746, 'tree_delete', '删除', 'delete', '/api/blade-user-tree/tree/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480069, 2016511984091480065, 'performanceBenefit_view', '查看', 'view', '/userPoint/userPerformanceBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480065, 2016446547672596482, 'performanceBenefit', '用户福利值业绩', 'menu', '/userPoint/userPerformanceBenefit', NULL, 11, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480067, 2016511984091480065, 'performanceBenefit_edit', '修改', 'edit', '/userPoint/userPerformanceBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659202, 2016446547672596482, 'performanceBenefitLog', '用户福利值业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 13, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098371, 2016511983047098369, 'performance_edit', '修改', 'edit', '/userPoint/userPerformance/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659206, 2016511984548659202, 'performanceBenefitLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300934, 2016511983634300930, 'performanceLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659203, 2016511984548659202, 'performanceBenefitLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300931, 2016511983634300930, 'performanceLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738881, 2016445572647911425, 'commissionOperationLog', '5%运营佣金流水', 'menu', '/cashAccount/userCommissionOperationLog', NULL, 5, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659204, 2016511984548659202, 'performanceBenefitLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480066, 2016511984091480065, 'performanceBenefit_add', '新增', 'add', '/userPoint/userPerformanceBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300932, 2016511983634300930, 'performanceLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098373, 2016511983047098369, 'performance_view', '查看', 'view', '/userPoint/userPerformance/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407746, 2016444412729917441, 'tree', '用户树结构', 'menu', '/customer/userTree', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602881, 2016444412729917441, 'info', '地区详情', 'menu', '/customer/appRegionsInfo', NULL, 6, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134593, 2016446332399943682, 'packageInfoCopy', '用户积分包详细信息', 'menu', '/userPackInfo/userPackageInfoCopy', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300930, 2016446547672596482, 'performanceLog', '用户现金业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 10, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098370, 2016511983047098369, 'performance_add', '新增', 'add', '/userPoint/userPerformance/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486466, 2016445919294554113, 'category', '商品分类', 'menu', '/mall/category', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486467, 2016894266199486466, 'category_add', '新增', 'add', '/mall/category/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486468, 2016894266199486466, 'category_edit', '修改', 'edit', '/mall/category/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486469, 2016894266199486466, 'category_delete', '删除', 'delete', '/api/blade-category/category/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486470, 2016894266199486466, 'category_view', '查看', 'view', '/mall/category/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860546, 2016446332399943682, 'ads', '广告', 'menu', '/userPackInfo/ads', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934401, 2016446547672596482, 'mallIntegral', '用户商城积分', 'menu', '/userPoint/userMallIntegral', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701313, 2016445572647911425, 'commissionAccount', '用户佣金账户', 'menu', '/cashAccount/userCommissionAccount', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305793, 2016444412729917441, 'genealogy', '用户族谱', 'menu', '/customer/userGenealogy', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084225, 2016444412729917441, 'levelLog', '用户等级日志', 'menu', '/customer/userLevelLog', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135745, 2016445572647911425, 'commissionServiceProviderLog', '5%服务商佣金流水', 'menu', '/cashAccount/userCommissionServiceProviderLog', NULL, 7, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932034, 2016446332399943682, 'packageInfo', '用户积分包信息', 'menu', '/userPackInfo/userPackageInfo', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919234, 2016446547672596482, 'mallIntegralLog', '用户商城积分流水', 'menu', '/userPoint/userMallIntegralLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292801, 2016446547672596482, 'benefitLog', '用户福利值流水', 'menu', '/userPoint/userBenefitLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307970, 2016446547672596482, 'cashLog', '用户现金券流水', 'menu', '/userPoint/userCashLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380482, 2016446547672596482, 'cash', '用户现金券', 'menu', '/userPoint/userCash', NULL, 5, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279873, 2016446547672596482, 'commission', '用户佣金', 'menu', '/userPoint/userCommission', NULL, 7, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179266, 2016446547672596482, 'commissionLog', '用户佣金流水', 'menu', '/userPoint/userCommissionLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098369, 2016446547672596482, 'performance', '用户现金业绩', 'menu', '/userPoint/userPerformance', NULL, 9, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661570, 2016446547672596482, 'gainsDay', '用户每日加速福利值汇总', 'menu', '/userPoint/userGainsDay', NULL, 12, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646402, 2016446547672596482, 'gainsDayLog', '用户每日加速福利值流水', 'menu', '/userPoint/userGainsDayLog', NULL, 14, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925121, 2016444412729917441, 'level_info', '等级信息', 'menu', '/customer/levelInfo', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256577, 2016445572647911425, 'commissionGoodsCostLog', '25%商品成本佣金流水', 'menu', '/cashAccount/userCommissionGoodsCostLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968578, 2016445572647911425, 'commissionDirectPushLog', '10%直推人佣金流水', 'menu', '/cashAccount/userCommissionDirectPushLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314049, 2016444412729917441, 'increaseDay', '用户附加信息', 'menu', '/customer/userIncreaseDay', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423746, 2016445572647911425, 'commissionUserPointLog', '30%购买人获取用户积分佣金流水', 'menu', '/cashAccount/userCommissionUserPointLog', NULL, 3, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298561, 2016444412729917441, 'dailySign', '用户看广告记录', 'menu', '/customer/userDailySign', NULL, 5, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600705, 2016445572647911425, 'commissionAdvertisingLog', '5%广告补贴佣金流水', 'menu', '/cashAccount/userCommissionAdvertisingLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586882, 2016445572647911425, 'commissionAgencyLog', '15%极差代理佣金流水', 'menu', '/cashAccount/userCommissionAgencyLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680577, 2016445572647911425, 'commissionCoCreatorLog', '5%联创佣金流水', 'menu', '/cashAccount/userCommissionCoCreatorLog', NULL, 9, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909122, 2016446332399943682, 'givePackLog', '划拨积分记录', 'menu', '/userPackInfo/givePackLog', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909123, 2017499535723909122, 'givePackLog_add', '新增', 'add', '/userPackInfo/givePackLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909124, 2017499535723909122, 'givePackLog_edit', '修改', 'edit', '/userPackInfo/givePackLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909125, 2017499535723909122, 'givePackLog_delete', '删除', 'delete', '/api/blade-givepacklog/givePackLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909126, 2017499535723909122, 'givePackLog_view', '查看', 'view', '/userPackInfo/givePackLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921089, 2016445919294554113, 'prizeSpu', '奖池商品', 'menu', '/mall/prizeSpu', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921090, 2017499534536921089, 'prizeSpu_add', '新增', 'add', '/mall/prizeSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921091, 2017499534536921089, 'prizeSpu_edit', '修改', 'edit', '/mall/prizeSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921092, 2017499534536921089, 'prizeSpu_delete', '删除', 'delete', '/api/blade-prizespu/prizeSpu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921093, 2017499534536921089, 'prizeSpu_view', '查看', 'view', '/mall/prizeSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512257, 2016445919294554113, 'prizeSpuOrder', '奖池商品订单', 'menu', '/mall/prizeSpuOrder', NULL, 1, 1, 0, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512258, 2017499535132512257, 'prizeSpuOrder_add', '新增', 'add', '/mall/prizeSpuOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512259, 2017499535132512257, 'prizeSpuOrder_edit', '修改', 'edit', '/mall/prizeSpuOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512260, 2017499535132512257, 'prizeSpuOrder_delete', '删除', 'delete', '/api/blade-prizespuorder/prizeSpuOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512261, 2017499535132512257, 'prizeSpuOrder_view', '查看', 'view', '/mall/prizeSpuOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298562, 2016511987023298561, 'dailySign_add', '新增', 'add', '/customer/userDailySign/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298563, 2016511987023298561, 'dailySign_edit', '修改', 'edit', '/customer/userDailySign/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298564, 2016511987023298561, 'dailySign_delete', '删除', 'delete', '/api/blade-dailysign/dailySign/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298565, 2016511987023298561, 'dailySign_view', '查看', 'view', '/customer/userDailySign/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);

View File

@@ -0,0 +1,8 @@
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016775545220931585, 'app用户注册默认角色信息', 'yichayilu:app:register:role-info', '{"avatar":"https://tse1-mm.cn.bing.net/th/id/OIP-C.BM4bF8_qipHCQu014y_8UgAAAA?w=220&h=217&c=7&r=0&o=7&pid=1.7&rm=3","deptId":"1123598813738675201","postId":"1123598817738675208","roleId":"1123598816738675202"}', 'app用户注册默认角色信息-包含角色、部门、岗位、头像', NULL, NULL, '2026-01-29 15:28:54.508', NULL, '2026-01-29 15:28:54.508', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016918730731626498, '商城app用户隐私政策', 'yichayilu:app:formal:user:privacy', '隐私政策', '商城app用户隐私政策', NULL, NULL, '2026-01-30 00:57:52.597', NULL, '2026-01-30 00:57:52.597', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017183573497827329, '商城app订单类型', 'yichayilu:app:formal:order:model_type', '[{"code":"MALL","id":1,"name":"商城"}]', '商城app订单类型', NULL, NULL, '2026-01-30 18:30:16.033', NULL, '2026-01-30 18:30:16.033', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017184619259478018, '商城app订单现金兑换积分比例', 'yichayilu:app:formal:mall.cash.to.point.Rate', '0.3', '商城app订单现金兑换积分比例', NULL, NULL, '2026-01-30 18:34:25.363', NULL, '2026-01-30 18:34:25.363', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017185330957312002, '商城app随机立减比例范围', 'yichayilu:app:formal:mall.cut.amount.rang', '{"max":0.001,"min":0.01}', '商城app随机立减比例范围', NULL, NULL, '2026-01-30 18:37:15.043', NULL, '2026-01-30 18:37:15.043', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017186990513410049, '商城app支付类型', 'yichayilu:app:formal:pay.type', '{1:[{"code":"ALI","id":1,"name":"支付宝"},{"code":"WEI","id":2,"name":"微信"},{"code":"OFFLINE_PAY","id":3,"name":"线下支付"}]}', '商城app支付类型', NULL, NULL, '2026-01-30 18:43:50.713', NULL, '2026-01-30 18:43:50.713', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017835848230760450, '积分app是否看广告', 'yichayilu:app:dailysign.is.look.ads', 'true', '积分app是否看广告', NULL, NULL, '2026-02-01 13:42:10.446', NULL, '2026-02-01 13:42:10.446', 1, 0);
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017836205065338882, '积分app看广告的时间范围', 'yichayilu:app:dailysign:watch.video.time.rang', '{"endTime":"22:00","startTime":"08:00"}', '积分app看广告的时间范围', NULL, NULL, '2026-02-01 13:43:35.522', NULL, '2026-02-01 13:43:35.522', 1, 0);

View File

@@ -0,0 +1,5 @@
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1, '社区经销商', 10, '10000.0000', '100000.0000', 2, 0, 0, '0.0500', '0.0000', '0.0800', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (0, '普通用户', 0, '0.0000', '0.0000', 1, 1, 0, '0.0000', '0.0000', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2, '社区经销商', 20, '1000000.0000', '1000000.0000', 3, 0, 0, '0.0500', '0.0000', '0.0600', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (3, '社区经销商', 30, '5000000.0000', '5000000.0000', 4, 0, 0, '0.0500', '0.0000', '0.0400', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (4, '社区经销商', 40, '20000000.0000', '20000000.0000', NULL, 0, 1, '0.0000', '0.0500', '0.0200', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);

View File

@@ -0,0 +1,4 @@
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017484367073824770, '100积分包', 10, 360, '300.00', '100.00', '0.00', '100.0000', '20.0000', 1, 1, 2000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:25:30.812', 1123598821738675201, '2026-01-31 14:25:30.812', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487266873004034, '5000积分包', 2, 360, '15000.00', '5000.00', '0.00', '5000.0000', '1500.0000', 1, 1, 50000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:02.18', 1123598821738675201, '2026-01-31 14:37:02.18', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487214255460354, '1000积分包', 4, 360, '3000.00', '1000.00', '0.00', '1000.0000', '300.0000', 1, 1, 1000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:36:49.643', 1123598821738675201, '2026-01-31 14:36:49.643', 1, 0);
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487362494746625, '10000积分包', 1, 360, '40000.00', '10000.00', '0.00', '10000.0000', '4000.0000', 1, 1, 20000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:24.979', 1123598821738675201, '2026-01-31 14:37:24.979', 1, 0);

View File

@@ -0,0 +1,8 @@
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485441885196290, '商品成本账户', 'COMMISSION_GOODS_COST', '', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:29:47', 1123598821738675201, '2026-01-31 14:30:16.04', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485893100032002, '分发商城积分账户', 'COMMISSION_USER_POINT_LOG', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:31:34.663', 1123598821738675201, '2026-01-31 14:31:34.663', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486037128237058, '分发直推人佣金账户', 'COMMISSION_DIRECT_PUSH', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:08.998', 1123598821738675201, '2026-01-31 14:32:08.998', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486179294171138, '运营账户', 'COMMISSION_OPERATION', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:42.889', 1123598821738675201, '2026-01-31 14:32:42.889', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486299502923778, '分发广告补贴账户', 'COMMISSION_ADVERTISING', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:11.552', 1123598821738675201, '2026-01-31 14:33:11.552', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486437340336130, '分发服务商佣金账户', 'COMMISSION_SERVICE_PROVIDER', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:44.407', 1123598821738675201, '2026-01-31 14:33:44.407', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486568441696258, '分发极差代理佣金账户', 'COMMISSION_AGENCY', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:15.663', 1123598821738675201, '2026-01-31 14:34:15.663', 1, 0);
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486664117964802, '联创佣金账户', 'COMMISSION_CO_CREATOR', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:38.479', 1123598821738675201, '2026-01-31 14:34:38.479', 1, 0);

View File

@@ -53,18 +53,35 @@ COMMENT ON COLUMN mall_spu.is_deleted IS '是否已删除';
CREATE TABLE ys_category
(
id BIGINT NOT NULL PRIMARY KEY,
id INTEGER NOT NULL PRIMARY KEY,
cname VARCHAR(100) DEFAULT '' NOT NULL,
pid BIGINT DEFAULT 0 NOT NULL,
level INTEGER DEFAULT 0 NOT NULL
level INTEGER DEFAULT 0 NOT NULL,
is_deleted INTEGER DEFAULT 0 NULL,
create_time TIMESTAMP(6) NULL,
create_user int8 NULL,
update_time TIMESTAMP(6) NULL,
update_user int8 NULL,
status INTEGER NULL,
create_dept BIGINT NULL
);
CREATE SEQUENCE ys_category_id_seq START 1;
ALTER TABLE ys_category ALTER COLUMN id SET DEFAULT nextval('ys_category_id_seq');
ALTER SEQUENCE ys_category_id_seq OWNED BY ys_category.id;
COMMENT ON TABLE ys_category IS '商品分类';
COMMENT ON COLUMN ys_category.id IS '主键';
COMMENT ON COLUMN ys_category.cname IS '分类名称';
COMMENT ON COLUMN ys_category.pid IS 'pid';
COMMENT ON COLUMN ys_category.level IS 'level';
COMMENT ON COLUMN ys_category.is_deleted IS '是否已删除';
COMMENT ON COLUMN ys_category.create_time IS '创建时间';
COMMENT ON COLUMN ys_category.create_user IS '创建人';
COMMENT ON COLUMN ys_category.update_time IS '修改时间';
COMMENT ON COLUMN ys_category.update_user IS '修改人';
COMMENT ON COLUMN ys_category.status IS '状态';
COMMENT ON COLUMN ys_category.create_dept IS '创建部门';
CREATE TABLE mall_cart
@@ -72,8 +89,11 @@ CREATE TABLE mall_cart
id BIGINT NOT NULL PRIMARY KEY,
user_id BIGINT DEFAULT 0 NOT NULL,
title VARCHAR(200) DEFAULT '' NOT NULL,
spu_id INTEGER DEFAULT 0 NOT NULL,
spu_id BIGINT DEFAULT 0 NOT NULL,
quantity INTEGER DEFAULT 0 NOT NULL,
original_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
main_img VARCHAR(255) DEFAULT '' NOT NULL,
retail_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
create_user int8 NULL,
create_dept int8 NULL,
create_time TIMESTAMP NULL,
@@ -90,6 +110,9 @@ COMMENT ON COLUMN mall_cart.user_id IS '用户id';
COMMENT ON COLUMN mall_cart.title IS '商品名称';
COMMENT ON COLUMN mall_cart.spu_id IS 'spuId';
COMMENT ON COLUMN mall_cart.quantity IS '数量';
COMMENT ON COLUMN mall_cart.original_price IS '原价';
COMMENT ON COLUMN mall_cart.main_img IS '主图';
COMMENT ON COLUMN mall_cart.retail_price IS '销售价';
COMMENT ON COLUMN mall_cart.create_user IS '创建人';
COMMENT ON COLUMN mall_cart.create_dept IS '创建部门';
COMMENT ON COLUMN mall_cart.create_time IS '创建时间';

View File

@@ -2,6 +2,8 @@ CREATE TABLE user_order
(
id BIGINT DEFAULT 0 NOT NULL PRIMARY KEY,
user_id BIGINT DEFAULT 0 NOT NULL,
user_phone bigint,
user_name varchar(128),
order_type INTEGER DEFAULT 0 NOT NULL,
order_id BIGINT DEFAULT 0 NOT NULL,
title VARCHAR(256) DEFAULT '' NOT NULL,
@@ -27,6 +29,8 @@ CREATE TABLE user_order
COMMENT ON TABLE user_order IS '用户订单';
COMMENT ON COLUMN user_order.id IS '主键';
COMMENT ON COLUMN user_order.user_id IS '用户id';
COMMENT ON COLUMN user_order.user_phone IS '用户手机号';
COMMENT ON COLUMN user_order.user_name IS '用户名称';
COMMENT ON COLUMN user_order.order_type IS '订单类型';
COMMENT ON COLUMN user_order.order_id IS '订单id';
COMMENT ON COLUMN user_order.title IS '订单名称';
@@ -74,6 +78,8 @@ CREATE TABLE mall_summary_order
(
id BIGINT NOT NULL PRIMARY KEY,
user_id BIGINT DEFAULT 0 NOT NULL,
user_phone bigint,
user_name varchar(128),
products_info text NULL,
order_info text NULL,
confirm_info text NULL,
@@ -96,6 +102,8 @@ CREATE TABLE mall_summary_order
give_token DECIMAL(10, 2) NULL,
actual_give_token DECIMAL(10, 2) NULL,
is_royalty INTEGER DEFAULT 0 NULL,
is_recorded INTEGER DEFAULT 0 NULL,
is_statistics INTEGER DEFAULT 0 NULL,
remarks VARCHAR(200) DEFAULT '' NOT NULL,
version BIGINT DEFAULT 0 NULL,
create_user int8 NULL,
@@ -111,6 +119,8 @@ CREATE TABLE mall_summary_order
COMMENT ON TABLE mall_summary_order IS '商城汇总订单';
COMMENT ON COLUMN mall_summary_order.id IS '主键';
COMMENT ON COLUMN mall_summary_order.user_id IS '用户id';
COMMENT ON COLUMN mall_summary_order.user_phone IS '用户手机号';
COMMENT ON COLUMN mall_summary_order.user_name IS '用户名称';
COMMENT ON COLUMN mall_summary_order.products_info IS '商品信息';
COMMENT ON COLUMN mall_summary_order.order_info IS '订单信息';
COMMENT ON COLUMN mall_summary_order.confirm_info IS '订单确认信息';
@@ -136,7 +146,9 @@ COMMENT ON COLUMN mall_summary_order.payment_track IS '支付凭证';
COMMENT ON COLUMN mall_summary_order.expire_time IS '超时时间';
COMMENT ON COLUMN mall_summary_order.give_token IS '赠送积分';
COMMENT ON COLUMN mall_summary_order.actual_give_token IS '实际赠送扣分';
COMMENT ON COLUMN mall_summary_order.is_royalty IS '是否已经给上级分红';
COMMENT ON COLUMN mall_summary_order.is_royalty IS '是否已经给上级分红 0=否,1=是';
COMMENT ON COLUMN mall_summary_order.is_recorded IS '是否记录资金账户里 0=否,1=是';
COMMENT ON COLUMN mall_summary_order.is_statistics IS '是否统计到用户现金业绩里 0=否,1=是';
COMMENT ON COLUMN mall_summary_order.remarks IS '备注';
COMMENT ON COLUMN mall_summary_order.status IS '状态';
COMMENT ON COLUMN mall_summary_order.is_deleted IS '是否已删除';
@@ -144,6 +156,8 @@ COMMENT ON COLUMN mall_summary_order.is_deleted IS '是否已删除';
CREATE INDEX mso_index ON mall_summary_order (user_id);
CREATE INDEX mso_status_index ON mall_summary_order (payment_status, status);
CREATE INDEX mso_recorded_index ON mall_summary_order (payment_status, is_recorded);
CREATE INDEX mso_statistics_index ON mall_summary_order (payment_status, is_statistics);
@@ -151,6 +165,8 @@ CREATE TABLE mall_detail_order
(
id BIGINT NOT NULL PRIMARY KEY,
user_id BIGINT DEFAULT 0 NOT NULL,
user_phone bigint,
user_name varchar(128),
summary_order_id BIGINT DEFAULT 0 NOT NULL,
spu_id BIGINT DEFAULT 0 NOT NULL,
quantity INTEGER DEFAULT 0 NOT NULL,
@@ -162,6 +178,10 @@ CREATE TABLE mall_detail_order
given_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
remarks VARCHAR(200) DEFAULT '' NOT NULL,
order_status INTEGER DEFAULT 0 NOT NULL,
freight VARCHAR(200) DEFAULT 0.00 NOT NULL,
logistics VARCHAR(200) DEFAULT 0.00 NOT NULL,
delivery_time timestamp(6),
products_info text NULL,
version integer DEFAULT 0 NULL,
create_user int8 NULL,
create_dept int8 NULL,
@@ -175,10 +195,11 @@ CREATE TABLE mall_detail_order
COMMENT ON TABLE mall_detail_order IS '商城详情订单';
COMMENT ON COLUMN mall_detail_order.id IS '主键';
COMMENT ON COLUMN mall_detail_order.user_id IS '用户id';
COMMENT ON COLUMN mall_detail_order.user_phone IS '用户手机号';
COMMENT ON COLUMN mall_detail_order.user_name IS '用户名称';
COMMENT ON COLUMN mall_detail_order.summary_order_id IS '主订单id';
COMMENT ON COLUMN mall_detail_order.spu_id IS '商品id';
COMMENT ON COLUMN mall_detail_order.quantity IS '数量';
COMMENT ON COLUMN mall_detail_order.summary_order_id IS '主订单id';
COMMENT ON COLUMN mall_detail_order.spu_id IS '商品id';
COMMENT ON COLUMN mall_detail_order.quantity IS '数量';
COMMENT ON COLUMN mall_detail_order.sku_snapshot IS '商品快照';
@@ -189,9 +210,9 @@ COMMENT ON COLUMN mall_detail_order.cost_amount IS '订单成本';
COMMENT ON COLUMN mall_detail_order.actual_amount IS '实际支付';
COMMENT ON COLUMN mall_detail_order.given_amount IS '赠送积分';
COMMENT ON COLUMN mall_detail_order.remarks IS '备注';
COMMENT ON COLUMN mall_detail_order.given_amount IS '赠送积分';
COMMENT ON COLUMN mall_detail_order.remarks IS '备注';
COMMENT ON COLUMN mall_detail_order.remarks IS '备注';
COMMENT ON COLUMN mall_detail_order.logistics IS '物流';
COMMENT ON COLUMN mall_detail_order.products_info IS '商品信息';
COMMENT ON COLUMN mall_detail_order.freight IS '运费';
COMMENT ON COLUMN mall_detail_order.order_status IS '订单状态 0=失败,1=待确认,2=待发货,3=待收货,4=已完成,5=已取消,6=售后中,7=已完结';
COMMENT ON COLUMN mall_detail_order.status IS '状态';
COMMENT ON COLUMN mall_detail_order.is_deleted IS '是否已删除';
@@ -206,6 +227,8 @@ CREATE TABLE mall_summary_order_after
(
id BIGINT NOT NULL PRIMARY KEY,
user_id BIGINT DEFAULT -1 NOT NULL,
user_phone bigint,
user_name varchar(128),
summary_order_id BIGINT DEFAULT -1 NOT NULL,
goods_id BIGINT DEFAULT -1 NOT NULL,
sku_id BIGINT NOT NULL,
@@ -238,6 +261,8 @@ CREATE TABLE mall_summary_order_after
COMMENT ON TABLE mall_summary_order_after IS '商品售后订单表';
COMMENT ON COLUMN mall_summary_order_after.id IS '售后订单号';
COMMENT ON COLUMN mall_summary_order_after.user_id IS '用户id';
COMMENT ON COLUMN mall_summary_order_after.user_phone IS '用户手机号';
COMMENT ON COLUMN mall_summary_order_after.user_name IS '用户名称';
COMMENT ON COLUMN mall_summary_order_after.summary_order_id IS '总订单id';
COMMENT ON COLUMN mall_summary_order_after.goods_id IS '商品ID';
COMMENT ON COLUMN mall_summary_order_after.sku_id IS '商品订单号';

View File

@@ -13,7 +13,14 @@ CREATE TABLE regions_info
hotel_city_code VARCHAR(128) NULL,
hotel_city_pinyin VARCHAR(128) NULL,
hotel_city_initials VARCHAR(4) NULL,
sight_city_name VARCHAR(32) NULL
sight_city_name VARCHAR(32) NULL,
is_deleted INTEGER DEFAULT 0 NULL,
create_time TIMESTAMP(6) NULL,
create_user int8 NULL,
update_time TIMESTAMP(6) NULL,
update_user int8 NULL,
status INTEGER NULL,
create_dept BIGINT NULL
);
COMMENT ON TABLE regions_info IS '地区详情表';
@@ -31,4 +38,11 @@ COMMENT ON COLUMN regions_info.hotel_city_code IS '酒店地区编码';
COMMENT ON COLUMN regions_info.hotel_city_pinyin IS '酒店地区拼音';
COMMENT ON COLUMN regions_info.hotel_city_initials IS '酒店地区拼音首字母';
COMMENT ON COLUMN regions_info.sight_city_name IS '景点城市名';
COMMENT ON COLUMN regions_info.is_deleted IS '是否删除';
COMMENT ON COLUMN regions_info.create_user IS '创建人';
COMMENT ON COLUMN regions_info.create_dept IS '创建部门';
COMMENT ON COLUMN regions_info.create_time IS '创建时间';
COMMENT ON COLUMN regions_info.update_user IS '修改人';
COMMENT ON COLUMN regions_info.update_time IS '修改时间';
COMMENT ON COLUMN regions_info.status IS '状态';

View File

@@ -8,6 +8,7 @@ CREATE TABLE user_daily_sign
sign_count INTEGER NULL,
type INTEGER DEFAULT 1 NULL,
remarks TEXT NULL,
is_complete INTEGER DEFAULT 0 NULL,
is_deleted INTEGER DEFAULT 0 NULL,
create_time TIMESTAMP(6) NULL,
create_user int8 NULL,
@@ -24,6 +25,7 @@ COMMENT ON COLUMN user_daily_sign.user_name IS '用户名称';
COMMENT ON COLUMN user_daily_sign.statistics_date IS '统计日期';
COMMENT ON COLUMN user_daily_sign.sign_count IS '看广告统计';
COMMENT ON COLUMN user_daily_sign.type IS '广告类型 1-积分分产出';
COMMENT on column user_daily_sign.is_complete is '是否完成 0-未完成 1-完成';
COMMENT ON COLUMN user_daily_sign.remarks IS '备注';
comment on column user_daily_sign.create_user is '创建人';
comment on column user_daily_sign.create_dept is '创建部门';
@@ -36,6 +38,9 @@ comment on column user_daily_sign.is_deleted is '是否已删除';
CREATE INDEX uds_date_index
ON user_daily_sign (is_deleted, type, statistics_date);
CREATE INDEX uds_complete_index
ON user_daily_sign (is_deleted, statistics_date ,type, is_complete);
CREATE INDEX uds_uid_index
ON user_daily_sign (is_deleted, type, user_id, statistics_date);

View File

@@ -5,12 +5,17 @@ create table user_genealogy
phone bigint,
level integer default 1, --当前层数
pid bigint,
p_name varchar(128),
p_phone bigint,
root_id bigint, --遍历当前树
group_id bigint, --树内最近团队长的id
genealogy_list bigint[], -- 往上所有父级
user_child_number int, --用户下线总人数
user_direct_number int, --用户直推总人数
user_direct_list bigint[], --直推列表
is_revoked integer default 0, --是否注销 0-否 1-是
register_date date, -- 注册时间
remark text,
create_user int8,
create_dept int8,
create_time timestamp(6),
@@ -26,13 +31,18 @@ CREATE INDEX user_direct_list_gin_idx
ON user_genealogy USING gin (user_direct_list);
create index user_genealogy_phone_index
on user_genealogy (is_deleted, phone);
on user_genealogy (is_deleted, phone , is_revoked);
create index user_genealogy_register_date_index
on user_genealogy (is_deleted, register_date);
comment on table user_genealogy is '用户族谱表';
comment on column user_genealogy.id is '主键';
comment on column user_genealogy.pid is '上级id';
comment on column user_genealogy.name is '用户名';
comment on column user_genealogy.phone is '手机号';
comment on column user_genealogy.p_name is '上级用户名';
comment on column user_genealogy.p_phone is '上级用户手机号';
comment on column user_genealogy.level is '层级';
comment on column user_genealogy.root_id is '根节点id';
comment on column user_genealogy.group_id is '团队长id';
@@ -40,6 +50,8 @@ comment on column user_genealogy.genealogy_list is '族谱列表';
comment on column user_genealogy.user_child_number is '用户下线总人数';
comment on column user_genealogy.user_direct_number is '用户直推总人数';
comment on column user_genealogy.user_direct_list is '直推列表';
comment on column user_genealogy.is_revoked is '是否注销 0-否 1-是';
comment on column user_genealogy.register_date is '注册时间';
comment on column user_genealogy.create_user is '创建人';
comment on column user_genealogy.create_dept is '创建部门';
comment on column user_genealogy.create_time is '创建时间';
@@ -54,27 +66,37 @@ alter table user_genealogy
create table user_tree
(
id bigint not null primary key,
name varchar(128),
phone bigint,
level integer default 1,
pid bigint,
p_name varchar(128),
p_phone bigint,
p_level integer default 1,
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
status integer default 1,
is_deleted integer default 0
id bigint not null primary key,
name varchar(128),
phone bigint,
level integer default 1,
pid bigint,
p_name varchar(128),
p_phone bigint,
p_level integer default 1,
is_revoked integer default 0, --是否撤销 0-否 1-是
is_sync_genealogy integer default 0, --是否同步族谱 0-否 1-是
register_date date, -- 注册时间
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
status integer default 1,
is_deleted integer default 0
);
create index user_tree_phone_index
on user_tree (is_deleted, phone);
create index user_tree_sync_genealogy_index
on user_tree (is_deleted, is_sync_genealogy);
create index user_tree_register_date_index
on user_tree (is_deleted, register_date);
comment on table user_tree is '用户树结构表';
comment on column user_tree.id is '主键';
comment on column user_tree.pid is '上级id';
@@ -84,6 +106,9 @@ comment on column user_tree.level is '层级';
comment on column user_tree.p_name is '上级用户名';
comment on column user_tree.p_phone is '上级用户手机号';
comment on column user_tree.p_level is '上级用户层级';
comment on column user_tree.is_revoked is '是否注销 0-否 1-是';
comment on column user_tree.is_sync_genealogy is '是否同步族谱 0-否 1-是';
comment on column user_tree.register_date is '注册时间';
comment on column user_tree.create_user is '创建人';
comment on column user_tree.create_dept is '创建部门';
comment on column user_tree.create_time is '创建时间';
@@ -99,15 +124,18 @@ create table user_increase_day
id bigint not null primary key,
name varchar(128),
phone bigint,
number integer default 1, -- 新增人数
direct_number integer default 1, -- 新增人数
user_benefit decimal(14, 4) default 0, --福利值
order_amount decimal(14, 4) default 0, --订单金额(整个团队)
current_level_id int, --用户当前等级
current_level_name varchar(12), --用户当前等级
pid bigint,
p_name varchar(128),
p_phone bigint,
p_level integer default 1,
is_real integer default 0, -- 是否实名用户 0-否 1-是
real_date timestamp(6), -- 实名时间
real_name varchar(128), -- 实名姓名
real_id_card varchar(128), -- 实名身份证
is_revoked integer default 0, --是否撤销 0-否 1-是
register_date date, -- 注册时间
create_user int8,
create_dept int8,
create_time timestamp(6),
@@ -118,16 +146,26 @@ create table user_increase_day
);
create index user_increase_day_phone_index
on user_increase_day (is_deleted, phone);
create index uid_register_date_index
on user_increase_day (is_deleted, register_date);
comment on table user_increase_day is '用户增加天数表';
comment on column user_increase_day.id is '主键';
comment on column user_increase_day.number is '新增人数';
comment on column user_increase_day.direct_number is '新增人数';
comment on column user_increase_day.current_level_id is '用户当前等级';
comment on column user_increase_day.current_level_name is '用户当前等级';
comment on column user_increase_day.name is '用户名';
comment on column user_increase_day.p_name is '上级用户名';
comment on column user_increase_day.p_phone is '上级用户手机号';
comment on column user_increase_day.p_level is '上级用户层级';
comment on column user_increase_day.is_real is '是否实名用户 0-否 1-是';
comment on column user_increase_day.real_date is '实名时间';
comment on column user_increase_day.real_name is '实名姓名';
comment on column user_increase_day.real_id_card is '实名身份证';
comment on column user_increase_day.register_date is '注册时间';
comment on column user_increase_day.is_revoked is '是否注销 0-否 1-是';
comment on column user_increase_day.register_date is '注册时间';
comment on column user_increase_day.create_user is '创建人';
comment on column user_increase_day.create_dept is '创建部门';
comment on column user_increase_day.create_time is '创建时间';
@@ -247,12 +285,12 @@ CREATE TABLE package_info
id BIGINT NOT NULL PRIMARY KEY,
name VARCHAR(128) NULL,
buy_qty INTEGER default 0, -- 最大购买数量
day_total decimal(16, 4) default 0, -- 产出总天数
amount_total decimal(14, 4) default 0, -- 总产出福利积分
give_amount decimal(14, 4) default 0, -- 购买赠与福利值
day_total integer default 0, -- 产出总天数
amount_total decimal(14, 2) default 0, -- 总产出福利积分
give_amount decimal(14, 2) default 0, -- 购买赠与福利值
bonus decimal(16, 4) default 0, -- 激活比率
user_benefit decimal(14, 4) default 0, --兑换包需要的福利积分
user_cash decimal(14, 4) default 0, --兑换包需要的现金券
user_benefit decimal(14, 2) default 0, --兑换包需要的福利积分
user_cash decimal(14, 2) default 0, --兑换包需要的现金券
is_need_benefit int DEFAULT 0, --是否需要福利积分
is_need_cash int DEFAULT 0, --是否需要现金券
max_exchange_qty integer default 0, -- 全网最大兑换数量
@@ -293,8 +331,54 @@ comment on column package_info.is_deleted is '是否已删除';
alter table package_info
owner to postgres;
create table give_pack_log
(
id bigint not null primary key,
statistical_date date,
user_id bigint,
phone bigint,
user_name varchar(128),
package_id bigint,
package_name varchar(128),
package_detail text,
give_number integer default 1,
remark text,
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
status integer default 1,
is_deleted integer default 0
);
create index gpl_date_index
on give_pack_log (is_deleted, statistical_date ,user_id);
COMMENT ON TABLE give_pack_log IS '划拨积分记录';
COMMENT ON COLUMN give_pack_log.id IS '主键';
COMMENT ON COLUMN give_pack_log.statistical_date IS '统计日期';
COMMENT ON COLUMN give_pack_log.user_id IS '用户id';
COMMENT ON COLUMN give_pack_log.phone IS '用户手机号';
COMMENT ON COLUMN give_pack_log.user_name IS '用户名';
COMMENT ON COLUMN give_pack_log.package_id IS '积分包id';
COMMENT ON COLUMN give_pack_log.package_name IS '积分包名称';
COMMENT ON COLUMN give_pack_log.package_detail IS '积分包信息快照';
COMMENT ON COLUMN give_pack_log.give_number IS '赠送数量';
COMMENT ON COLUMN give_pack_log.remark IS '备注';
comment on column give_pack_log.create_user is '创建人';
comment on column give_pack_log.create_dept is '创建部门';
comment on column give_pack_log.create_time is '创建时间';
comment on column give_pack_log.update_user is '修改人';
comment on column give_pack_log.update_time is '修改时间';
comment on column give_pack_log.status is '状态';
comment on column give_pack_log.is_deleted is '是否已删除';
alter table give_pack_log
owner to postgres;
create table user_package_info
(
id bigint not null primary key,
@@ -304,14 +388,15 @@ create table user_package_info
user_name varchar(128),
package_id bigint,
package_name varchar(128),
user_benefit decimal(14, 4) default 0, --兑换包需要的福利积分
user_cash decimal(14, 4) default 0, --兑换包需要的现金券
give_amount decimal(14, 4) default 0, -- 购买赠与福利值
day_total decimal(16, 4) default 0, -- 产出总天数
amount_total decimal(14, 4) default 0, -- 总产出福利积分
amount_day decimal(14, 4) default 0, -- 每日产出福利积分 = 总产出 / 总产出
type integer default 1, -- 1-积分兑换 2-后台划拨
user_benefit decimal(14, 2) default 0, --兑换包需要的福利积分
user_cash decimal(14, 2) default 0, --兑换包需要的现金券
give_amount decimal(14, 2) default 0, -- 购买赠与福利值
day_total integer default 0, -- 产出总天数
amount_total decimal(14, 2) default 0, -- 总产出福利积分
amount_day decimal(14, 2) default 0, -- 每日产出福利积分 = 总产出 / 总产出
amount_out decimal(16, 4) default 0, -- 已产出福利积分
out_day decimal(16, 4) default 0, -- 已产出天数
out_day integer default 0, -- 已产出天数
is_complete integer default 0, -- 是否完成 0未完成 1完成
expired_date timestamp(6),
is_expired integer default 0,
@@ -325,6 +410,9 @@ create table user_package_info
is_deleted integer default 0
);
create index upi_complete_index
on user_package_info (is_deleted, user_id , is_complete , is_expired);
@@ -341,6 +429,7 @@ COMMENT ON COLUMN user_package_info.phone IS '用户手机号';
COMMENT ON COLUMN user_package_info.user_name IS '用户名';
COMMENT ON COLUMN user_package_info.package_id IS '积分包id';
COMMENT ON COLUMN user_package_info.package_name IS '积分包名称';
COMMENT ON COLUMN user_package_info.type IS '1-积分兑换 2-后台划拨';
COMMENT ON COLUMN user_package_info.user_benefit IS '兑换包需要的福利积分';
COMMENT ON COLUMN user_package_info.user_cash IS '兑换包需要的现金券';
COMMENT ON COLUMN user_package_info.give_amount IS '购买赠与福利值';
@@ -364,6 +453,9 @@ comment on column user_package_info.is_deleted is '是否已删除';
alter table user_package_info
owner to postgres;
create table user_package_info_copy
(
id bigint not null primary key,
@@ -371,24 +463,26 @@ create table user_package_info_copy
user_id bigint,
phone bigint,
user_name varchar(128),
user_package_info bigint, --user_package_info id
user_package_info_Id bigint, --user_package_info id
package_id bigint,
package_name varchar(128),
user_benefit decimal(14, 4) default 0, --兑换包需要的福利积分
user_cash decimal(14, 4) default 0, --兑换包需要的现金券
give_amount decimal(14, 4) default 0, -- 购买赠与福利值
day_total decimal(16, 4) default 0, -- 产出总天数
amount_total decimal(14, 4) default 0, -- 总产出福利积分
amount_day decimal(14, 4) default 0, -- 每日产出福利积分 = 总产出 / 总产出
type integer default 1, -- 1-积分兑换 2-后台划拨
user_benefit decimal(14, 2) default 0, --兑换包需要的福利积分
user_cash decimal(14, 2) default 0, --兑换包需要的现金券
give_amount decimal(14, 2) default 0, -- 购买赠与福利值
day_total integer default 0, -- 产出总天数
amount_total decimal(14, 2) default 0, -- 总产出福利积分
amount_day decimal(14, 2) default 0, -- 每日产出福利积分 = 总产出 / 总产出
amount_out decimal(16, 4) default 0, -- 已产出多少福利积分
remaining_amount decimal(16, 4) default 0, -- 剩余可产出福利积分 (总计 - 已经经历多少天 * 每天产出 - 加速积分)
accelerated_amount decimal(16, 4) default 0, -- 已加速多少福利积分
parent_id bigint, -- 给到谁10%积分,到用户id
parent_amount decimal(16, 4) default 0, -- 给到谁10%积分,到积分账户(福利积分)
out_day decimal(16, 4) default 0, -- 产出天数 当前包已经产出天数
experience_day decimal(16, 4) default 0, -- 当前包已经经历的天数
out_day integer default 0, -- 产出天数 当前包已经产出天数
experience_day integer default 0, -- 当前包已经经历的天数
not_sign_list bigint[], -- 未签到日期详情 (数组)
is_complete integer default 0, -- 是否完成 0未完成 1完成
active_time timestamp(6), -- 当前包激活时间
start_time timestamp(6), -- 当前包生效时间
sign_bitmap bigint default 0, -- 位图将包的签到时间360天二进制转成十进制
expired_date timestamp(6),
@@ -405,7 +499,7 @@ create table user_package_info_copy
);
create index upi_copy_complete_index
on user_package_info_copy (is_deleted, user_id , is_complete , is_expired);
on user_package_info_copy (is_deleted, is_complete , is_expired ,user_id );
create index upi_copy_date_index
on user_package_info_copy (is_deleted, statistical_date ,user_id);
create index upi_copy_expired_index
@@ -419,6 +513,7 @@ COMMENT ON COLUMN user_package_info_copy.user_name IS '用户名';
COMMENT ON COLUMN user_package_info_copy.user_package_info IS '用户积分包id';
COMMENT ON COLUMN user_package_info_copy.package_id IS '积分包id';
COMMENT ON COLUMN user_package_info_copy.package_name IS '积分包名称';
COMMENT ON COLUMN user_package_info_copy.type IS '1-积分兑换 2-后台划拨';
COMMENT ON COLUMN user_package_info_copy.user_benefit IS '兑换包需要的福利积分';
COMMENT ON COLUMN user_package_info_copy.user_cash IS '兑换包需要的现金券';
COMMENT ON COLUMN user_package_info_copy.give_amount IS '购买赠与福利值';
@@ -435,6 +530,7 @@ COMMENT ON COLUMN user_package_info_copy.experience_day IS '当前包已经经
COMMENT ON COLUMN user_package_info_copy.not_sign_list IS '未签到日期详情 (数组)';
COMMENT ON COLUMN user_package_info_copy.is_complete IS '是否完成 0-未完成 1-完成';
COMMENT ON COLUMN user_package_info_copy.start_time IS '当前包生效时间';
COMMENT ON COLUMN user_package_info_copy.active_time IS '当前包激活时间';
COMMENT ON COLUMN user_package_info_copy.sign_bitmap IS '位图将包的签到时间360天二进制转成十进制';
COMMENT ON COLUMN user_package_info_copy.expired_date IS '过期时间';
COMMENT ON COLUMN user_package_info_copy.is_expired IS '是否过期 0-未过期 1-已过期';
@@ -457,7 +553,7 @@ create table user_commission_account
account_name varchar(128), -- 账户名称
account_number varchar(64), -- 账户编号
account_code varchar(64), -- 账户代码
amount decimal(14, 4) default 0, -- 账户总余额
amount decimal(14, 2) default 0, -- 账户总余额
version int default 1,
create_user int8,
create_dept int8,
@@ -500,15 +596,13 @@ create table user_commission_goods_cost_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
create_user int8,
create_dept int8,
@@ -538,8 +632,6 @@ comment on column user_commission_goods_cost_log.order_id is '订单id';
comment on column user_commission_goods_cost_log.order_detail is '订单详情';
comment on column user_commission_goods_cost_log.type is '类型 1-收入 2-支出';
comment on column user_commission_goods_cost_log.statistical_date is '统计时间';
comment on column user_commission_goods_cost_log.channel is '渠道';
comment on column user_commission_goods_cost_log.channel_detail is '渠道详情';
comment on column user_commission_goods_cost_log.remark is '备注';
comment on column user_commission_goods_cost_log.create_user is '创建人';
comment on column user_commission_goods_cost_log.create_dept is '创建部门';
@@ -563,15 +655,13 @@ create table user_commission_user_point_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
create_user int8,
create_dept int8,
@@ -601,8 +691,6 @@ comment on column user_commission_user_point_log.order_id is '订单id';
comment on column user_commission_user_point_log.order_detail is '订单详情';
comment on column user_commission_user_point_log.type is '类型 1-收入 2-支出';
comment on column user_commission_user_point_log.statistical_date is '统计时间';
comment on column user_commission_user_point_log.channel is '渠道';
comment on column user_commission_user_point_log.channel_detail is '渠道详情';
comment on column user_commission_user_point_log.remark is '备注';
comment on column user_commission_user_point_log.create_user is '创建人';
comment on column user_commission_user_point_log.create_dept is '创建部门';
@@ -626,15 +714,13 @@ create table user_commission_direct_push_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
create_user int8,
create_dept int8,
@@ -664,8 +750,6 @@ comment on column user_commission_direct_push_log.order_id is '订单id';
comment on column user_commission_direct_push_log.order_detail is '订单详情';
comment on column user_commission_direct_push_log.type is '类型 1-收入 2-支出';
comment on column user_commission_direct_push_log.statistical_date is '统计时间';
comment on column user_commission_direct_push_log.channel is '渠道';
comment on column user_commission_direct_push_log.channel_detail is '渠道详情';
comment on column user_commission_direct_push_log.remark is '备注';
comment on column user_commission_direct_push_log.create_user is '创建人';
comment on column user_commission_direct_push_log.create_dept is '创建部门';
@@ -689,17 +773,15 @@ create table user_commission_operation_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
random_deduction decimal(14, 4) default 0, -- 随机立减金额
random_deduction decimal(14, 2) default 0, -- 随机立减金额
random_deduction_desc text, -- 随机立减说明
create_user int8,
create_dept int8,
@@ -729,8 +811,6 @@ comment on column user_commission_operation_log.source_detail is '来源详情';
comment on column user_commission_operation_log.order_id is '订单id';
comment on column user_commission_operation_log.type is '类型 1-收入 2-支出';
comment on column user_commission_operation_log.statistical_date is '统计时间';
comment on column user_commission_operation_log.channel is '渠道';
comment on column user_commission_operation_log.channel_detail is '渠道详情';
comment on column user_commission_operation_log.remark is '备注';
comment on column user_commission_operation_log.random_deduction is '随机立减金额';
comment on column user_commission_operation_log.random_deduction_desc is '随机立减说明';
@@ -753,15 +833,13 @@ create table user_commission_advertising_log
account_name varchar(128), -- 账户名称
account_number varchar(64), -- 账户编号
account_code varchar(64), -- 账户代码
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
daily_statistics_date timestamp(6), -- 每日统计日期
statistics_cycle varchar(32), -- 统计周期
@@ -790,8 +868,6 @@ comment on column user_commission_advertising_log.order_id is '订单id';
comment on column user_commission_advertising_log.order_detail is '订单详情';
comment on column user_commission_advertising_log.type is '类型 1-收入 2-支出';
comment on column user_commission_advertising_log.statistical_date is '统计时间';
comment on column user_commission_advertising_log.channel is '渠道';
comment on column user_commission_advertising_log.channel_detail is '渠道详情';
comment on column user_commission_advertising_log.remark is '备注';
comment on column user_commission_advertising_log.daily_statistics_date is '每日统计日期';
comment on column user_commission_advertising_log.statistics_cycle is '统计周期';
@@ -817,18 +893,18 @@ create table user_commission_service_provider_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
service_type varchar(64), -- 服务类型
service_provider_id bigint, -- 服务商ID
address_id bigint,
region_id bigint,
create_user int8,
create_dept int8,
create_time timestamp(6),
@@ -854,11 +930,11 @@ comment on column user_commission_service_provider_log.source_detail is '来源
comment on column user_commission_service_provider_log.order_id is '订单id';
comment on column user_commission_service_provider_log.type is '类型 1-收入 2-支出';
comment on column user_commission_service_provider_log.statistical_date is '统计时间';
comment on column user_commission_service_provider_log.channel is '渠道';
comment on column user_commission_service_provider_log.channel_detail is '渠道详情';
comment on column user_commission_service_provider_log.remark is '备注';
comment on column user_commission_service_provider_log.service_type is '服务类型';
comment on column user_commission_service_provider_log.service_provider_id is '服务商ID';
comment on column user_commission_service_provider_log.address_id is '收货地址id';
comment on column user_commission_service_provider_log.region_id is '省市区id';
comment on column user_commission_service_provider_log.create_user is '创建人';
comment on column user_commission_service_provider_log.create_dept is '创建部门';
comment on column user_commission_service_provider_log.create_time is '创建时间';
@@ -881,15 +957,13 @@ create table user_commission_agency_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
agency_level varchar(32), -- 代理级别
agency_parent_id bigint, -- 上级代理ID
@@ -921,8 +995,6 @@ comment on column user_commission_agency_log.source_detail is '来源详情';
comment on column user_commission_agency_log.order_id is '订单id';
comment on column user_commission_agency_log.type is '类型 1-收入 2-支出';
comment on column user_commission_agency_log.statistical_date is '统计时间';
comment on column user_commission_agency_log.channel is '渠道';
comment on column user_commission_agency_log.channel_detail is '渠道详情';
comment on column user_commission_agency_log.remark is '备注';
comment on column user_commission_agency_log.agency_level is '代理级别';
comment on column user_commission_agency_log.agency_parent_id is '上级代理ID';
@@ -948,18 +1020,14 @@ create table user_commission_co_creator_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0, -- 变动金额
amount decimal(14, 2) default 0, -- 变动金额
source_id bigint, -- 来源id
source_detail text, -- 来源详情
order_id bigint, -- 订单id
order_detail text, -- 订单详情
type int default 1, -- 类型 1-收入 2-支出
statistical_date timestamp(6), -- 统计时间
channel varchar(64), -- 渠道
channel_detail text, -- 渠道详情
remark text, -- 备注
co_creator_type varchar(64), -- 联创类型
co_creator_rank varchar(32), -- 联创等级
create_user int8,
create_dept int8,
create_time timestamp(6),
@@ -985,11 +1053,7 @@ comment on column user_commission_co_creator_log.source_detail is '来源详情'
comment on column user_commission_co_creator_log.order_id is '订单id';
comment on column user_commission_co_creator_log.type is '类型 1-收入 2-支出';
comment on column user_commission_co_creator_log.statistical_date is '统计时间';
comment on column user_commission_co_creator_log.channel is '渠道';
comment on column user_commission_co_creator_log.channel_detail is '渠道详情';
comment on column user_commission_co_creator_log.remark is '备注';
comment on column user_commission_co_creator_log.co_creator_type is '联创类型';
comment on column user_commission_co_creator_log.co_creator_rank is '联创等级';
comment on column user_commission_co_creator_log.create_user is '创建人';
comment on column user_commission_co_creator_log.create_dept is '创建部门';
comment on column user_commission_co_creator_log.create_time is '创建时间';

View File

@@ -1,8 +1,7 @@
create table user_benefit
(
id bigint not null primary key,
user_id bigint,
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
version int default 1,
create_user int8,
create_dept int8,
@@ -13,12 +12,9 @@ create table user_benefit
is_deleted integer default 0
);
create index user_benefit_index
on user_benefit (is_deleted, user_id);
comment on table user_benefit is '用户福利值表';
comment on column user_benefit.id is '主键';
comment on column user_benefit.user_id is '用户id';
comment on column user_benefit.amount is '金额';
comment on column user_benefit.version is '版本号';
comment on column user_benefit.create_user is '创建人';
@@ -38,7 +34,7 @@ create table user_benefit_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
source_id bigint,
user_pack_id bigint,
source_detail text,
@@ -90,8 +86,7 @@ alter table user_benefit_log
create table user_commission
(
id bigint not null primary key,
user_id bigint,
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
version int default 1,
create_user int8,
create_dept int8,
@@ -102,12 +97,9 @@ create table user_commission
is_deleted integer default 0
);
create index user_commission_index
on user_commission (is_deleted, user_id);
comment on table user_commission is '用户佣金表';
comment on column user_commission.id is '主键';
comment on column user_commission.user_id is '用户id';
comment on column user_commission.amount is '佣金金额';
comment on column user_commission.version is '版本号';
comment on column user_commission.create_user is '创建人';
@@ -128,7 +120,7 @@ create table user_commission_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
source_id bigint,
source_detail text,
order_id bigint,
@@ -178,23 +170,20 @@ alter table user_commission_log
create table user_cash
(
id bigint not null primary key,
user_id bigint,
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
version int default 1,
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
status integer default 1,
is_deleted integer default 0
);
create index user_cash_index
on user_cash (is_deleted, user_id);
comment on table user_cash is '用户现金券表';
comment on column user_cash.id is '主键';
comment on column user_cash.user_id is '用户id';
comment on column user_cash.amount is '面额';
comment on column user_cash.version is '版本号';
comment on column user_cash.create_user is '创建人';
@@ -202,6 +191,7 @@ comment on column user_cash.create_dept is '创建部门';
comment on column user_cash.create_time is '创建时间';
comment on column user_cash.update_user is '修改人';
comment on column user_cash.update_time is '修改时间';
comment on column user_cash.status is '状态';
comment on column user_cash.is_deleted is '是否已删除';
alter table user_cash
@@ -214,7 +204,7 @@ create table user_cash_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
source_id bigint,
source_detail text,
order_id bigint,
@@ -264,23 +254,19 @@ alter table user_cash_log
create table user_mall_integral
(
id bigint not null primary key,
user_id bigint,
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
version int default 1,
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
is_deleted integer default 0
create_user int8,
create_dept int8,
create_time timestamp(6),
update_user int8,
update_time timestamp(6),
status integer default 1,
is_deleted integer default 0
);
create index user_mall_integral_index
on user_mall_integral (is_deleted, user_id);
comment on table user_mall_integral is '用户商城积分表';
comment on column user_mall_integral.id is '主键';
comment on column user_mall_integral.user_id is '用户id';
comment on column user_mall_integral.amount is '面额';
comment on column user_mall_integral.version is '版本号';
comment on column user_mall_integral.create_user is '创建人';
@@ -300,7 +286,7 @@ create table user_mall_integral_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
source_id bigint,
source_detail text,
order_id bigint,
@@ -353,7 +339,7 @@ create table user_gains_day
id bigint not null primary key,
statistical_date timestamp(6),
user_id bigint,
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
gains_details text,
is_credited integer default 0,
version int default 1,
@@ -394,7 +380,7 @@ create table user_gains_day_log
user_id bigint,
user_phone bigint,
user_name varchar(128),
amount decimal(14, 4) default 0,
amount decimal(14, 2) default 0,
source_id bigint,
source_detail text,
gains_details text,