diff --git a/db/pig.sql b/db/pig.sql index 55ea7e67..8b67ed47 100644 --- a/db/pig.sql +++ b/db/pig.sql @@ -623,8 +623,7 @@ CREATE TABLE `sys_user` ( `mini_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '小程序openId', `qq_openid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'QQ openId', `gitee_login` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '码云标识', - `osc_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开源中国标识', - `tenant_id` bigint NOT NULL DEFAULT '0' COMMENT '所属租户ID', + `osc_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开源中国标识' PRIMARY KEY (`user_id`) USING BTREE, KEY `user_wx_openid` (`wx_openid`) USING BTREE, KEY `user_qq_openid` (`qq_openid`) USING BTREE, diff --git a/pig-upms/pig-upms-biz/src/main/resources/mapper/SysUserMapper.xml b/pig-upms/pig-upms-biz/src/main/resources/mapper/SysUserMapper.xml index 9c92de53..9fd8f0c1 100644 --- a/pig-upms/pig-upms-biz/src/main/resources/mapper/SysUserMapper.xml +++ b/pig-upms/pig-upms-biz/src/main/resources/mapper/SysUserMapper.xml @@ -61,7 +61,6 @@ u.dept_id, u.del_flag, u.lock_flag, - u.tenant_id, u.create_by, u.create_time ucreate_time, u.update_time uupdate_time, @@ -86,7 +85,6 @@ u.osc_id, u.del_flag, u.lock_flag, - u.tenant_id, u.nickname, u.name, u.email, @@ -133,7 +131,6 @@ u.update_time uupdate_time, u.del_flag, u.lock_flag, - u.tenant_id, u.nickname, u.name, u.email, @@ -177,7 +174,6 @@ u.update_time uupdate_time, u.del_flag, u.lock_flag, - u.tenant_id, u.nickname, u.name, u.email,