dbpatch/202411/南网租赁平台/20241105_resource.sql

15 lines
1.4 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--任务xxx
INSERT INTO `service_user`.`resource` (`platform_id`, `type`, `name`, `pid`, `system_default`, `url`, `level`, `owner`, `order_num`, `created`, `updated`, `yn`, `code`, `icon`, `target`, `html_code`, `status`, `route_url`) VALUES ( 20, 'menu', '仓储推送装备管理', 3000077, 0, '#/shop-view/goods/push-device-management', 2, 'seller', 5, '2022-05-05 10:21:42', NULL, 1, 3000084, NULL, '1', '1', 1, NULL);
--先保存上个sql获取resource_id填到对应的地方
INSERT INTO `service_user`.`role_resource` ( `platform_id`, `role_id`, `resource_id`, `created`, `updated`, `yn`) VALUES (20, 744, , '2024-07-11 09:38:20', NULL, 1);
ALTER TABLE `item_center`.`category`
ADD COLUMN `intelligent_code` varchar(255) NULL COMMENT '推送智慧工程定义的门类分类机具编码' AFTER `tag_id`;
ALTER TABLE `service_user`.`enterprise_legal_auth`
MODIFY COLUMN `corporate_auth_file_url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 法人授权书附件url' AFTER `yn`,
MODIFY COLUMN `authed_id_card_a_file_url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 授权人身份证正面附件url' AFTER `authed_id_card_a_file_id`,
MODIFY COLUMN `authed_id_card_b_file_url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 授权人身份证反面附件url' AFTER `authed_id_card_b_file_id`;