Commit 74f69aad11ade464210102107b220c302282b8aa
1 parent
f7dd1d1b
feat(attendance): 删除考勤汇总表SQL文件
移除考勤汇总表的SQL定义文件,清理不再使用的数据库结构。
Showing
1 changed file
with
0 additions
and
21 deletions
创建考勤汇总表.sql deleted
| 1 | -CREATE TABLE `lq_attendance_summary` ( | |
| 2 | - `F_Id` varchar(50) NOT NULL COMMENT '考勤汇总ID', | |
| 3 | - `F_UserId` varchar(50) NOT NULL COMMENT '用户ID(员工ID)', | |
| 4 | - `F_Year` int NOT NULL COMMENT '年份', | |
| 5 | - `F_Month` int NOT NULL COMMENT '月份', | |
| 6 | - `F_EmployeeStatus` int NOT NULL DEFAULT 1 COMMENT '员工状态(1-在职,2-离职,3-停薪留职)', | |
| 7 | - `F_WorkDays` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT '出勤天数', | |
| 8 | - `F_LeaveDays` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT '请假天数', | |
| 9 | - `F_RestDays` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT '休息天数', | |
| 10 | - `F_Remark` varchar(2000) COMMENT '备注', | |
| 11 | - `F_CreateUser` varchar(50) NOT NULL COMMENT '创建人ID', | |
| 12 | - `F_CreateTime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | |
| 13 | - `F_UpdateUser` varchar(50) COMMENT '更新人ID', | |
| 14 | - `F_UpdateTime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | |
| 15 | - `F_IsEffective` int NOT NULL DEFAULT 1 COMMENT '是否有效(1-有效,-1-无效)', | |
| 16 | - PRIMARY KEY (`F_Id`), | |
| 17 | - UNIQUE KEY `uk_user_year_month` (`F_UserId`, `F_Year`, `F_Month`), | |
| 18 | - KEY `idx_user_id` (`F_UserId`), | |
| 19 | - KEY `idx_year_month` (`F_Year`, `F_Month`), | |
| 20 | - KEY `idx_create_time` (`F_CreateTime`) | |
| 21 | -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='考勤汇总表'; |