初始化数据错误

This commit is contained in:
hdm 2021-11-27 11:20:47 +08:00
parent a9062909a0
commit f9a87acab2
2 changed files with 11 additions and 3 deletions

View File

@ -290,6 +290,14 @@ function add_log($type, $param_id = '', $param = [])
case 'check':
$action = '审核';
break;
case 'leave':
$action = '离职';
break;
case 'disable':
$action = '禁用';
break;
case 'recovery':
$action = '恢复';
break;
case 'reset':
$action = '重新设置';

View File

@ -483,7 +483,7 @@ CREATE TABLE `oa_department_change` (
`uid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户ID',
`from_did` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '原部门id',
`to_did` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '调到部门id',
`remark` text CHARACTER SET utf8 COLLATE NULL COMMENT '备注',
`remark` varchar(1000) NULL DEFAULT '' COMMENT '备注',
`admin_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建人',
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用',
`move_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '调到时间',
@ -499,10 +499,10 @@ DROP TABLE IF EXISTS `oa_personal_quit`;
CREATE TABLE `oa_personal_quit` (
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`uid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户ID',
`remark` text CHARACTER SET utf8 COLLATE NULL COMMENT '备注',
`remark` varchar(1000) NULL DEFAULT '' COMMENT '备注',
`admin_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建人',
`lead_admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '部门负责人',
`connect_uids` varchar(100) CHARACTER SET utf8 COLLATE NOT NULL DEFAULT '' COMMENT '交接人',
`connect_uids` varchar(100) NOT NULL DEFAULT '' COMMENT '交接人',
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用',
`quit_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '离职时间',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',