From 04e5dbb252759e54b6e3989346ac3becc96008c4 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Thu, 17 Oct 2024 15:54:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=9E=8D=E5=90=88=E9=9B=B6=E6=95=A3?= =?UTF-8?q?=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 202410/机具大融合/20241015_wh_house_info.sql | 7 ------- .../20241016_bm_project表增加字段.sql | 12 ----------- .../20241016_bm_storage_log更新字段.sql | 5 ----- 202410/机具大融合/20241016_增加资产属性表.sql | 11 ---------- 202410/机具大融合/20241016_菜单表.sql | 20 ------------------- .../机具大融合/20241017_ma_type_新增字段.sql | 7 ------- .../20241017_tm_task_新增月度序号字段.sql | 2 -- 7 files changed, 64 deletions(-) delete mode 100644 202410/机具大融合/20241015_wh_house_info.sql delete mode 100644 202410/机具大融合/20241016_bm_project表增加字段.sql delete mode 100644 202410/机具大融合/20241016_bm_storage_log更新字段.sql delete mode 100644 202410/机具大融合/20241016_增加资产属性表.sql delete mode 100644 202410/机具大融合/20241016_菜单表.sql delete mode 100644 202410/机具大融合/20241017_ma_type_新增字段.sql delete mode 100644 202410/机具大融合/20241017_tm_task_新增月度序号字段.sql diff --git a/202410/机具大融合/20241015_wh_house_info.sql b/202410/机具大融合/20241015_wh_house_info.sql deleted file mode 100644 index 4207ca3..0000000 --- a/202410/机具大融合/20241015_wh_house_info.sql +++ /dev/null @@ -1,7 +0,0 @@ -ALTER TABLE `wh_house_info` - MODIFY COLUMN `house_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '仓库名称NAME' AFTER `house_id`, - ADD COLUMN `physical_name` varchar(60) NULL COMMENT '实物库名称' AFTER `house_name`, - ADD COLUMN `geo_location` varchar(60) NULL COMMENT '仓库地理位置' AFTER `physical_name`, - MODIFY COLUMN `dept_id` bigint(20) NULL DEFAULT NULL COMMENT '所属上级ID' AFTER `status`, - MODIFY COLUMN `company_id` bigint(20) NULL DEFAULT NULL COMMENT '数据所属组织' AFTER `remark`, - MODIFY COLUMN `phone` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话' AFTER `concat`; \ No newline at end of file diff --git a/202410/机具大融合/20241016_bm_project表增加字段.sql b/202410/机具大融合/20241016_bm_project表增加字段.sql deleted file mode 100644 index 6a4577c..0000000 --- a/202410/机具大融合/20241016_bm_project表增加字段.sql +++ /dev/null @@ -1,12 +0,0 @@ -ALTER TABLE `bns_cloud_material`.`bm_project` -ADD COLUMN `pro_code` varchar(60) NULL COMMENT '工程编号' AFTER `del_flag`, -ADD COLUMN `imp_unit` varchar(60) NULL COMMENT '实施单位' AFTER `pro_code`, -ADD COLUMN `pro_nature` varchar(60) NULL COMMENT '工程性质(0 基建,1用户工程,2技能大改,3其他)' AFTER `imp_unit`, -ADD COLUMN `pro_status` varchar(60) NULL COMMENT '工程状态(0开工准备,1在建,2停工,3完全未竣工,4竣工)' AFTER `pro_nature`, -ADD COLUMN `contract_part` varchar(60) NULL COMMENT '合同主体' AFTER `pro_status`, -ADD COLUMN `pro_center` varchar(60) NULL COMMENT '所属项目中心' AFTER `contract_part`; - - --- 主键ID -alter table bm_project - modify pro_id int auto_increment comment '主键ID'; \ No newline at end of file diff --git a/202410/机具大融合/20241016_bm_storage_log更新字段.sql b/202410/机具大融合/20241016_bm_storage_log更新字段.sql deleted file mode 100644 index 088c26d..0000000 --- a/202410/机具大融合/20241016_bm_storage_log更新字段.sql +++ /dev/null @@ -1,5 +0,0 @@ --- 退库接收-维修数量 -alter table bm_storage_log - drop column maintenance_num; -alter table bm_storage_log - add repair_num int null comment '退库接收-维修数量' AFTER `pass_num`; \ No newline at end of file diff --git a/202410/机具大融合/20241016_增加资产属性表.sql b/202410/机具大融合/20241016_增加资产属性表.sql deleted file mode 100644 index 22451a7..0000000 --- a/202410/机具大融合/20241016_增加资产属性表.sql +++ /dev/null @@ -1,11 +0,0 @@ -CREATE TABLE `bm_asset_attributes` ( -`id` bigint(20) NOT NULL COMMENT '主键id', -`asset_name` varchar(50) DEFAULT NULL COMMENT '资产类型名称', -`asset_code` varchar(50) DEFAULT NULL COMMENT '资产编码', -`del_flag` char(1) DEFAULT NULL COMMENT '删除标志(0代表存在 2代表删除)', -`create_by` varchar(64) DEFAULT NULL COMMENT '创建者', -`create_time` datetime DEFAULT NULL COMMENT '创建时间', -`update_by` varchar(64) DEFAULT NULL COMMENT '更新者', -`update_time` datetime DEFAULT NULL COMMENT '更新时间', -PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='资产属性表'; \ No newline at end of file diff --git a/202410/机具大融合/20241016_菜单表.sql b/202410/机具大融合/20241016_菜单表.sql deleted file mode 100644 index 9d3b5ca..0000000 --- a/202410/机具大融合/20241016_菜单表.sql +++ /dev/null @@ -1,20 +0,0 @@ --- 基础管理 -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2020, '基础管理', 0, 2, 'base', NULL, NULL, 1, 0, 'M', '0', '0', '', 'list', 'admin', '2024-10-14 15:06:44', 'admin', '2024-10-14 15:11:12', '', ''); -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2021, '往来单位管理', 2020, 3, 'comeAndGo', 'base/comeAndGo/index', NULL, 1, 0, 'C', '0', '0', 'comeAndGo:list', 'monitor', 'admin', '2024-10-14 15:07:57', 'admin', '2024-10-15 09:18:59', '', ''); -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2022, '工程项目管理', 2020, 4, 'project', 'base/project/index', NULL, 1, 0, 'C', '0', '0', '', 'post', 'admin', '2024-10-14 15:15:15', 'adminBns', '2024-10-15 18:02:53', '', ''); -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2023, '单位类型管理', 2020, 2, 'unit', 'base/unit/index', NULL, 1, 0, 'C', '0', '0', 'base:unit:list', 'link', 'admin', '2024-10-14 15:16:29', 'admin', '2024-10-14 15:31:45', '', ''); -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2025, '往来单位-人员配置', 2020, 4, 'comeAndGoPeople', 'base/comeAndGo/people', NULL, 1, 0, 'C', '0', '0', 'comeAndGoPeople:list', 'button', 'admin', '2024-10-15 11:27:25', '', NULL, '', ''); -INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2026, '资产属性管理', 2020, 6, 'assetAttributeManagement', 'base/assetAttributeManagement/index', NULL, 1, 0, 'C', '0', '0', 'assetAttributeManagement:list', 'logininfor', 'admin', '2024-10-15 14:11:18', '', NULL, '', ''); - --- 物资管理 -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2027, '物资管理', 0, 2, 'materialsManage', null, null, 1, 0, 'M', '0', '0', '', 'date-range', 'admin', '2024-10-14 16:13:09', 'admin', '2024-10-17 11:02:57', '', ''); -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2028, '物资类型管理', 2027, 1, 'type', 'materialsManage/type/index.vue', NULL, 1, 0, 'C', '0', '0', 'materialsManage:type:list', '#', 'admin', '2024-10-14 16:14:25', 'admin', '2024-10-14 16:17:56', '', ''); -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2029, '仓库管理', 2027, 2, 'house', 'materialsManage/house/index.vue', NULL, 1, 0, 'C', '0', '0', 'materialsManage:house:list', '#', 'admin', '2024-10-15 18:10:22', 'admin', '2024-10-15 18:10:37', '', ''); -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2030, '物资配置管理', 2027, 3, 'matConfig', 'materialsManage/matConfig/index.vue', NULL, 1, 0, 'C', '0', '0', 'materialsManage:matConfig:list', '#', '!Bonus', '2024-10-16 10:05:56', '', NULL, '', ''); -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2031, '新购管理', 0, 3, 'newBuy', NULL, NULL, 1, 0, 'M', '0', '0', NULL, '#', '!Bonus', '2024-10-16 12:53:05', '', NULL, '', ''); -INSERT INTO `sys_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `system_type`) VALUES (2032, '设备追溯清单', 2027, 5, 'device', 'materialsManage/device/index.vue', NULL, 1, 0, 'C', '0', '0', 'materialsManage:device:list', '#', 'admin', '2024-10-16 14:29:25', '', NULL, '', ''); - - - - - diff --git a/202410/机具大融合/20241017_ma_type_新增字段.sql b/202410/机具大融合/20241017_ma_type_新增字段.sql deleted file mode 100644 index c92aaf3..0000000 --- a/202410/机具大融合/20241017_ma_type_新增字段.sql +++ /dev/null @@ -1,7 +0,0 @@ --- 丢失赔偿价 -alter table ma_type - add pay_price decimal(10, 2) null comment '丢失赔偿价'; - --- 税率 -alter table ma_type - add tax_ratio decimal(10, 2) null comment '税率'; \ No newline at end of file diff --git a/202410/机具大融合/20241017_tm_task_新增月度序号字段.sql b/202410/机具大融合/20241017_tm_task_新增月度序号字段.sql deleted file mode 100644 index 1ea2e56..0000000 --- a/202410/机具大融合/20241017_tm_task_新增月度序号字段.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `tm_task` - ADD COLUMN `month_order` int(11) NULL COMMENT '任务当月序号'; \ No newline at end of file