123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- CREATE TABLE `resource_plan_staff` (
- `id` varchar(50) NOT NULL,
- `user_id` varchar(50) DEFAULT NULL,
- `user_name` varchar(50) DEFAULT NULL COMMENT '用户名称',
- `oa_fun_classification_id` varchar(50) DEFAULT NULL COMMENT '职能分类ID',
- `oa_fun_classification_name` varchar(255) DEFAULT NULL COMMENT '职能分类名称',
- `post_id` varchar(50) DEFAULT NULL COMMENT '岗位职级(oa_user_cost)',
- `post_level_name` varchar(50) DEFAULT NULL COMMENT '岗位职级',
- `pro_id` varchar(50) DEFAULT NULL COMMENT '项目',
- `pro_name` varchar(255) DEFAULT NULL COMMENT '项目名称',
- `group_id` varchar(50) DEFAULT NULL COMMENT '集团',
- `cust_name` varchar(255) DEFAULT NULL COMMENT '客户',
- `created_at` datetime DEFAULT NULL COMMENT '创建时间',
- `create_by` varchar(255) DEFAULT NULL COMMENT '创建人',
- `update_at` datetime DEFAULT NULL COMMENT '修改时间',
- `update_by` varchar(100) DEFAULT NULL COMMENT '修改人',
- PRIMARY KEY (`id`),
- KEY `staff_pro_id_index` (`pro_id`) USING BTREE,
- KEY `staff_user_id_index` (`user_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='资源计划人员基础表';
- CREATE TABLE `resource_plan_staff_detail` (
- `id` varchar(50) NOT NULL,
- `plan_staff_id` varchar(50) DEFAULT NULL COMMENT '资源计划人员ID',
- `user_id` varchar(50) DEFAULT NULL,
- `pro_id` varchar(50) DEFAULT NULL,
- `year_no` int(11) DEFAULT NULL COMMENT '年',
- `month_no` int(11) DEFAULT NULL COMMENT '月',
- `year_month_str` varchar(50) DEFAULT NULL COMMENT '年月',
- `year_mon` int(11) DEFAULT NULL COMMENT '年月',
- `multiple_hour` double DEFAULT NULL COMMENT '倍数',
- `workload` double DEFAULT NULL COMMENT '工作量 (倍数*工作天数)',
- `cost` double DEFAULT NULL COMMENT '成本',
- `group_id` varchar(50) DEFAULT NULL,
- `created_at` datetime DEFAULT NULL COMMENT '创建时间',
- `create_by` varchar(255) DEFAULT NULL COMMENT '创建人',
- `update_at` datetime DEFAULT NULL COMMENT '修改时间',
- `update_by` varchar(100) DEFAULT NULL COMMENT '修改人',
- `month_days` int(11) DEFAULT NULL COMMENT '每月工作天数',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='资源计划人员详情表';
- INSERT INTO `frame_permission` (`id`, `name`, `descripion`, `url`, `pid`, `perms`, `type`, `icon`, `order_num`, `description`) VALUES ('106924579035545666', '资源计划', NULL, 'resourcePlan', '1', '', 1, 'wechat', 15, NULL);
- INSERT INTO `frame_permission` (`id`, `name`, `descripion`, `url`, `pid`, `perms`, `type`, `icon`, `order_num`, `description`) VALUES ('106924579035584697', '资源计划', NULL, 'resourcePlanView', '106924579035545666', '/resourcePlan/resourcePlanView', 1, 'wechat', 15, NULL);
- INSERT INTO `frame_permission` (`id`, `name`, `descripion`, `url`, `pid`, `perms`, `type`, `icon`, `order_num`, `description`) VALUES ('106924579035597982', '资源计划编制', NULL, 'resourcePlanSaff', '106924579035545666', '/resourcePlan/resourcePlanStaff', 1, 'wechat', 15, NULL);
- INSERT INTO `sys_dict` (`id`, `dict_name`, `dict_code`, `dict_value`, `sys_id`) VALUES ('1034127877685116928', '签约状态1', 'dc_sign_status_s', '[{\"id\":1666596882416,\"label\":\"待签约\",\"value\":\"0\",\"isSearch\":false},{\"id\":1666596886759,\"label\":\"应签约\",\"value\":\"2\",\"isSearch\":false},{\"id\":1666596890359,\"label\":\"已签约\",\"value\":\"3\",\"isSearch\":false},{\"id\":1734659407092,\"label\":\"无需签约\",\"value\":\"6\",\"isSearch\":false},{\"id\":1734659437710,\"label\":\"中止\",\"value\":\"4\",\"isSearch\":false}]', 'BIZ_OA');
- alter table resource_plan_staff
- add post_level varchar(255) null comment '职级';
- alter table resource_plan_staff
- add posts varchar(255) null comment '岗位(frame_post)';
|