From 05b127eeb9523a84026733e5fd00fcf69f4eabac Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 12 Aug 2024 12:36:25 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=BA=93=E7=BC=BA?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 202408/南网仓储/receive_detail_20240812.sql | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 202408/南网仓储/receive_detail_20240812.sql diff --git a/202408/南网仓储/receive_detail_20240812.sql b/202408/南网仓储/receive_detail_20240812.sql new file mode 100644 index 0000000..812cd11 --- /dev/null +++ b/202408/南网仓储/receive_detail_20240812.sql @@ -0,0 +1,36 @@ +/* + Navicat Premium Data Transfer + + Source Server : 192.168.0.14_sgzb_2009 + Source Server Type : MySQL + Source Server Version : 80200 + Source Host : 192.168.0.14:2009 + Source Schema : ma_sgzb_cq + + Target Server Type : MySQL + Target Server Version : 80200 + File Encoding : 65001 + + Date: 12/08/2024 12:34:10 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for receive_detail +-- ---------------------------- +DROP TABLE IF EXISTS `receive_detail`; +CREATE TABLE `receive_detail` ( + `id` int NOT NULL AUTO_INCREMENT, + `type_id` int NULL DEFAULT NULL COMMENT '类型名称', + `out_num` int NULL DEFAULT NULL COMMENT '出库数量', + `pick_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '领料人员', + `out_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出库人员', + `out_time` datetime NULL DEFAULT NULL COMMENT '出库时间', + `parent_id` int NULL DEFAULT NULL COMMENT '出库父id', + `type` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '1出库 2退库', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 64 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; + +SET FOREIGN_KEY_CHECKS = 1; From 4c802e86a004f2909978190d41a858c7783a97b8 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 13 Aug 2024 09:38:51 +0800 Subject: [PATCH 2/3] system --- 202408/重庆机具/system_20240813.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 202408/重庆机具/system_20240813.sql diff --git a/202408/重庆机具/system_20240813.sql b/202408/重庆机具/system_20240813.sql new file mode 100644 index 0000000..d2edc5e --- /dev/null +++ b/202408/重庆机具/system_20240813.sql @@ -0,0 +1,6 @@ +-- 所属组织id +alter table sys_dept + add company_id bigint null comment '所属组织id'; + + + From 65ed89d743abe49bcb1e196d1f675f8b904b043a Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 13 Aug 2024 12:44:16 +0800 Subject: [PATCH 3/3] customer id --- .../{system_20240813.sql => customerId_20240813.sql} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename 202408/重庆机具/{system_20240813.sql => customerId_20240813.sql} (50%) diff --git a/202408/重庆机具/system_20240813.sql b/202408/重庆机具/customerId_20240813.sql similarity index 50% rename from 202408/重庆机具/system_20240813.sql rename to 202408/重庆机具/customerId_20240813.sql index d2edc5e..3ccdcba 100644 --- a/202408/重庆机具/system_20240813.sql +++ b/202408/重庆机具/customerId_20240813.sql @@ -2,5 +2,6 @@ alter table sys_dept add company_id bigint null comment '所属组织id'; - - +-- 所属组织id +alter table sys_user + add company_id bigint null comment '所属组织id';