mirror of https://gitee.com/stylefeng/guns
【7.2.5】新增部门审批人类型脚本
parent
2494804d5b
commit
94157a6918
|
@ -0,0 +1,24 @@
|
|||
INSERT INTO `guns`.`sys_dict_type`(`dict_type_id`, `dict_type_class`, `dict_type_bus_code`, `dict_type_code`, `dict_type_name`, `dict_type_name_pinyin`, `dict_type_desc`, `status_flag`, `dict_type_sort`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699391469809666, 1, NULL, 'org_approver_type', '审批人类型', 'sprlx', '组织机构审批人类型', 1, 10.00, 'N', '2022-09-13 22:47:53', 1339550467939639299, NULL, NULL);
|
||||
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699572911206401, '1', '负责人', 'fzr', NULL, 'org_approver_type', NULL, NULL, -1, 1, 10.00, '[-1],', 'N', '2022-09-13 22:48:36', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699624215932930, '2', '部长', 'bz', NULL, 'org_approver_type', NULL, NULL, -1, 1, 20.00, '[-1],', 'N', '2022-09-13 22:48:49', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699732391227394, '3', '体系负责人', 'txfzr', NULL, 'org_approver_type', NULL, NULL, -1, 1, 30.00, '[-1],', 'N', '2022-09-13 22:49:14', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699780906741762, '4', '部门助理', 'bmzl', NULL, 'org_approver_type', NULL, NULL, -1, 1, 40.00, '[-1],', 'N', '2022-09-13 22:49:26', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699833889189889, '5', '资产助理', 'zczl', NULL, 'org_approver_type', NULL, NULL, -1, 1, 50.00, '[-1],', 'N', '2022-09-13 22:49:39', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699872430649345, '6', '考勤专员', 'kqzy', NULL, 'org_approver_type', NULL, NULL, -1, 1, 60.00, '[-1],', 'N', '2022-09-13 22:49:48', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699912133931009, '7', 'HRBP', 'HRBP', NULL, 'org_approver_type', NULL, NULL, -1, 1, 70.00, '[-1],', 'N', '2022-09-13 22:49:57', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569699950046244865, '8', '门禁员', 'mjy', NULL, 'org_approver_type', NULL, NULL, -1, 1, 80.00, '[-1],', 'N', '2022-09-13 22:50:06', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569700054404722690, '9', '办公账号员', 'bgzhy', NULL, 'org_approver_type', NULL, NULL, -1, 1, 90.00, '[-1],', 'N', '2022-09-13 22:50:31', 1339550467939639299, NULL, NULL);
|
||||
INSERT INTO `guns`.`sys_dict`(`dict_id`, `dict_code`, `dict_name`, `dict_name_pinyin`, `dict_encode`, `dict_type_code`, `dict_short_name`, `dict_short_code`, `dict_parent_id`, `status_flag`, `dict_sort`, `dict_pids`, `del_flag`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES (1569700365244592129, '10', '转岗须知员', 'zgxzy', NULL, 'org_approver_type', NULL, NULL, -1, 1, 100.00, '[-1],', 'N', '2022-09-13 22:51:45', 1339550467939639299, NULL, NULL);
|
||||
|
||||
CREATE TABLE `hr_org_approver` (
|
||||
`org_approver_id` bigint(20) NOT NULL COMMENT '主键id',
|
||||
`org_approver_type` tinyint(4) NULL DEFAULT NULL COMMENT '组织审批类型:1-负责人,2-部长,3-体系负责人,4-部门助理,5-资产助理(专员),6-考勤专员,7-HRBP,8-门禁员,9-办公账号员,10-转岗须知员',
|
||||
`org_id` bigint(20) NULL DEFAULT NULL COMMENT '组织机构id',
|
||||
`user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
|
||||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`create_user` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
|
||||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`update_user` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
|
||||
PRIMARY KEY (`org_approver_id`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin COMMENT = '组织机构审批人' ROW_FORMAT = Dynamic;
|
Loading…
Reference in New Issue